![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <db.h>
Public Member Functions | |
void | Flush () |
void | Close () |
bool | TxnBegin () |
bool | TxnCommit () |
bool | TxnAbort () |
bool | ReadVersion (int &nVersion) |
bool | WriteVersion (int nVersion) |
Static Public Member Functions | |
static bool | Rewrite (const std::string &strFile, const char *pszSkip=NULL) |
Protected Member Functions | |
CDB (const std::string &strFilename, const char *pszMode="r+", bool fFlushOnCloseIn=true) | |
~CDB () | |
template<typename K , typename T > | |
bool | Read (const K &key, T &value) |
template<typename K , typename T > | |
bool | Write (const K &key, const T &value, bool fOverwrite=true) |
template<typename K > | |
bool | Erase (const K &key) |
template<typename K > | |
bool | Exists (const K &key) |
Dbc * | GetCursor () |
int | ReadAtCursor (Dbc *pcursor, CDataStream &ssKey, CDataStream &ssValue, unsigned int fFlags=DB_NEXT) |
Protected Attributes | |
Db * | pdb |
std::string | strFile |
DbTxn * | activeTxn |
bool | fReadOnly |
bool | fFlushOnClose |
Private Member Functions | |
CDB (const CDB &) | |
void | operator= (const CDB &) |
|
explicitprotected |
|
private |
|
inlineprotected |
|
inlineprotected |
|
private |
|
inlineprotected |
Definition at line 116 of file db.h.
Referenced by ReadVersion().
|
inlineprotected |
|
static |
Definition at line 340 of file db.cpp.
Referenced by CWallet::EncryptWallet(), CWallet::LoadWallet(), and CWallet::ZapWalletTx().
|
inlineprotected |
Definition at line 150 of file db.h.
Referenced by WriteVersion().
|
inline |
|
protected |
Definition at line 99 of file db.h.
Referenced by Close(), Erase(), Exists(), Flush(), Read(), TxnAbort(), TxnBegin(), TxnCommit(), and Write().
|
protected |
|
protected |
|
protected |
Definition at line 97 of file db.h.
Referenced by CDB(), Close(), Erase(), Exists(), GetCursor(), Read(), TxnAbort(), TxnBegin(), TxnCommit(), and Write().
|
protected |