![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include <dbwrapper.h>
Classes | |
| struct | DataStreamCmp |
| struct | ValueHolder |
| struct | ValueHolderImpl |
Public Member Functions | |
| CDBTransaction (Parent &_parent, CommitTarget &_commitTarget, int _nVersion) | |
| template<typename K , typename V > | |
| void | Write (const K &key, const V &v) |
| template<typename V > | |
| void | Write (const CDataStream &ssKey, const V &v) |
| template<typename K , typename V > | |
| bool | Read (const K &key, V &value) |
| template<typename V > | |
| bool | Read (const CDataStream &ssKey, V &value) |
| template<typename K > | |
| bool | Exists (const K &key) |
| bool | Exists (const CDataStream &ssKey) |
| template<typename K > | |
| void | Erase (const K &key) |
| void | Erase (const CDataStream &ssKey) |
| void | Clear () |
| void | Commit () |
| bool | IsClean () |
| size_t | GetMemoryUsage () const |
| CDBTransactionIterator< CDBTransaction > * | NewIterator () |
| std::unique_ptr< CDBTransactionIterator< CDBTransaction > > | NewIteratorUniquePtr () |
Protected Types | |
| typedef std::unique_ptr< ValueHolder > | ValueHolderPtr |
| typedef std::map< CDataStream, ValueHolderPtr, DataStreamCmp > | WritesMap |
| typedef std::set< CDataStream, DataStreamCmp > | DeletesSet |
Static Protected Member Functions | |
| template<typename K > | |
| static CDataStream | KeyToDataStream (const K &key, int nVersion) |
Protected Attributes | |
| Parent & | parent |
| CommitTarget & | commitTarget |
| ssize_t | memoryUsage {0} |
| WritesMap | writes |
| DeletesSet | deletes |
| int | nVersion |
Friends | |
| class | CDBTransactionIterator< CDBTransaction > |
Definition at line 532 of file dbwrapper.h.
|
protected |
Definition at line 581 of file dbwrapper.h.
|
protected |
Definition at line 556 of file dbwrapper.h.
|
protected |
Definition at line 580 of file dbwrapper.h.
|
inline |
Definition at line 588 of file dbwrapper.h.
|
inline |
|
inline |
Definition at line 682 of file dbwrapper.h.
|
inline |
|
inline |
Definition at line 658 of file dbwrapper.h.
|
inline |
Definition at line 644 of file dbwrapper.h.
|
inline |
Definition at line 639 of file dbwrapper.h.
|
inline |
|
inline |
|
inlinestaticprotected |
Definition at line 572 of file dbwrapper.h.
|
inline |
Definition at line 712 of file dbwrapper.h.
|
inline |
|
inline |
Definition at line 619 of file dbwrapper.h.
|
inline |
Definition at line 613 of file dbwrapper.h.
|
inline |
|
inline |
Definition at line 591 of file dbwrapper.h.
|
friend |
Definition at line 515 of file dbwrapper.h.
|
protected |
Definition at line 537 of file dbwrapper.h.
|
protected |
Definition at line 584 of file dbwrapper.h.
|
protected |
Definition at line 538 of file dbwrapper.h.
|
protected |
Definition at line 585 of file dbwrapper.h.
|
protected |
Definition at line 536 of file dbwrapper.h.
|
protected |
Definition at line 583 of file dbwrapper.h.