![]() |
Raven Core
3.0.0
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 48 of file dbwrapper.h.
|
inlineexplicit |
| [in] | _parent | CDBWrapper that this batch is to be submitted to |
Definition at line 65 of file dbwrapper.h.
|
inline |
Definition at line 67 of file dbwrapper.h.
|
inline |
Definition at line 99 of file dbwrapper.h.
|
inline |
Definition at line 115 of file dbwrapper.h.
|
inline |
Definition at line 74 of file dbwrapper.h.
|
friend |
Definition at line 50 of file dbwrapper.h.
|
private |
Definition at line 54 of file dbwrapper.h.
|
private |
Definition at line 53 of file dbwrapper.h.
|
private |
Definition at line 59 of file dbwrapper.h.
|
private |
Definition at line 56 of file dbwrapper.h.
|
private |
Definition at line 57 of file dbwrapper.h.
1.8.13