![]() |
BSHA3
0.17.99
P2P Blockchain, based on Bitcoin
|
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 47 of file dbwrapper.h.
|
inlineexplicit |
| [in] | _parent | CDBWrapper that this batch is to be submitted to |
Definition at line 64 of file dbwrapper.h.
|
inline |
Definition at line 66 of file dbwrapper.h.
|
inline |
Definition at line 98 of file dbwrapper.h.
|
inline |
Definition at line 114 of file dbwrapper.h.
|
inline |
Definition at line 73 of file dbwrapper.h.
|
friend |
Definition at line 49 of file dbwrapper.h.
|
private |
Definition at line 53 of file dbwrapper.h.
|
private |
Definition at line 52 of file dbwrapper.h.
|
private |
Definition at line 58 of file dbwrapper.h.
|
private |
Definition at line 55 of file dbwrapper.h.
|
private |
Definition at line 56 of file dbwrapper.h.
1.8.14