Batch of changes queued to be written to a CDBWrapper.
More...
#include <dbwrapper.h>
Batch of changes queued to be written to a CDBWrapper.
Definition at line 45 of file dbwrapper.h.
◆ CDBBatch()
| CDBBatch::CDBBatch |
( |
int |
nVersion | ) |
|
|
inlineexplicit |
- Parameters
-
| [in] | _nVersion | The version used to serialize data. |
Definition at line 60 of file dbwrapper.h.
◆ Clear()
◆ Erase() [1/2]
◆ Erase() [2/2]
template<typename K >
| void CDBBatch::Erase |
( |
const K & |
key | ) |
|
|
inline |
◆ SizeEstimate()
| size_t CDBBatch::SizeEstimate |
( |
| ) |
const |
|
inline |
◆ Write() [1/2]
template<typename V >
| void CDBBatch::Write |
( |
const CDataStream & |
_ssKey, |
|
|
const V & |
value |
|
) |
| |
|
inline |
◆ Write() [2/2]
template<typename K , typename V >
| void CDBBatch::Write |
( |
const K & |
key, |
|
|
const V & |
value |
|
) |
| |
|
inline |
◆ CDBWrapper
◆ batch
| leveldb::WriteBatch CDBBatch::batch |
|
private |
◆ size_estimate
| size_t CDBBatch::size_estimate |
|
private |
◆ ssKey
◆ ssValue
The documentation for this class was generated from the following file: