veriblock-pop-cpp
C++11 Libraries for leveraging VeriBlock Proof-Of-Proof blockchain technology.
altintegration::adaptors::LevelDBWriteBatch Struct Reference

Detailed Description

Definition at line 46 of file leveldb_impl.hpp.

+ Inheritance diagram for altintegration::adaptors::LevelDBWriteBatch:
+ Collaboration diagram for altintegration::adaptors::LevelDBWriteBatch:

Public Member Functions

 LevelDBWriteBatch (leveldb::DB &db, leveldb::WriteOptions &write_options)
 
void write (const std::vector< uint8_t > &key, const std::vector< uint8_t > &value) override
 
void writeBatch () override
 
virtual void write (const std::vector< uint8_t > &key, const std::vector< uint8_t > &value)=0
 
virtual void writeBatch ()=0
 

Constructor & Destructor Documentation

◆ LevelDBWriteBatch()

altintegration::adaptors::LevelDBWriteBatch::LevelDBWriteBatch ( leveldb::DB &  db,
leveldb::WriteOptions &  write_options 
)
inline

Definition at line 49 of file leveldb_impl.hpp.

50 : db_(db), write_options_(write_options) {}

Member Function Documentation

◆ write()

void altintegration::adaptors::LevelDBWriteBatch::write ( const std::vector< uint8_t > &  key,
const std::vector< uint8_t > &  value 
)
overridevirtual

◆ writeBatch()

void altintegration::adaptors::LevelDBWriteBatch::writeBatch ( )
overridevirtual

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