Bitcoin ABC 0.26.3
P2P Digital Currency
|
Batch of changes queued to be written to a CDBWrapper. More...
#include <dbwrapper.h>
Public Member Functions | |
CDBBatch (const CDBWrapper &_parent) | |
void | Clear () |
template<typename K , typename V > | |
void | Write (const K &key, const V &value) |
template<typename K > | |
void | Erase (const K &key) |
size_t | SizeEstimate () const |
Private Attributes | |
const CDBWrapper & | parent |
leveldb::WriteBatch | batch |
CDataStream | ssKey |
CDataStream | ssValue |
size_t | size_estimate |
Friends | |
class | CDBWrapper |
Batch of changes queued to be written to a CDBWrapper.
Definition at line 78 of file dbwrapper.h.
|
inlineexplicit |
[in] | _parent | CDBWrapper that this batch is to be submitted to |
Definition at line 94 of file dbwrapper.h.
|
inline |
Definition at line 127 of file dbwrapper.h.
|
inline |
Definition at line 103 of file dbwrapper.h.
|
friend |
Definition at line 79 of file dbwrapper.h.
|
private |
Definition at line 83 of file dbwrapper.h.
|
private |
Definition at line 82 of file dbwrapper.h.
|
private |
Definition at line 88 of file dbwrapper.h.
|
private |
Definition at line 85 of file dbwrapper.h.
|
private |
Definition at line 86 of file dbwrapper.h.