Bitcoin
Public Member Functions | Private Member Functions | Private Attributes | List of all members
leveldb::BlockConstructor Class Reference
Inheritance diagram for leveldb::BlockConstructor:
leveldb::Constructor

Public Member Functions

 BlockConstructor (const Comparator *cmp)
 
 ~BlockConstructor ()
 
virtual Status FinishImpl (const Options &options, const KVMap &data)
 
virtual IteratorNewIterator () const
 
- Public Member Functions inherited from leveldb::Constructor
 Constructor (const Comparator *cmp)
 
virtual ~Constructor ()
 
void Add (const std::string &key, const Slice &value)
 
void Finish (const Options &options, std::vector< std::string > *keys, KVMap *kvmap)
 
virtual const KVMapdata ()
 
virtual DBdb () const
 

Private Member Functions

 BlockConstructor ()
 

Private Attributes

const Comparatorcomparator_
 
std::string data_
 
Blockblock_
 

Constructor & Destructor Documentation

◆ BlockConstructor() [1/2]

leveldb::BlockConstructor::BlockConstructor ( const Comparator cmp)
inlineexplicit

◆ ~BlockConstructor()

leveldb::BlockConstructor::~BlockConstructor ( )
inline

◆ BlockConstructor() [2/2]

leveldb::BlockConstructor::BlockConstructor ( )
private

Member Function Documentation

◆ FinishImpl()

virtual Status leveldb::BlockConstructor::FinishImpl ( const Options options,
const KVMap data 
)
inlinevirtual

Implements leveldb::Constructor.

◆ NewIterator()

virtual Iterator* leveldb::BlockConstructor::NewIterator ( ) const
inlinevirtual

Implements leveldb::Constructor.

Member Data Documentation

◆ block_

Block* leveldb::BlockConstructor::block_
private

◆ comparator_

const Comparator* leveldb::BlockConstructor::comparator_
private

◆ data_

std::string leveldb::BlockConstructor::data_
private

The documentation for this class was generated from the following file: