RAII class that provides access to a WalletDatabase.
More...
#include <db.h>
RAII class that provides access to a WalletDatabase.
Definition at line 26 of file db.h.
◆ DatabaseBatch() [1/2]
| wallet::DatabaseBatch::DatabaseBatch |
( |
| ) |
|
|
inlineexplicit |
Definition at line 35 of file db.h.
◆ ~DatabaseBatch()
| virtual wallet::DatabaseBatch::~DatabaseBatch |
( |
| ) |
|
|
inlinevirtual |
Definition at line 36 of file db.h.
◆ DatabaseBatch() [2/2]
◆ Close()
| virtual void wallet::DatabaseBatch::Close |
( |
| ) |
|
|
pure virtual |
◆ CloseCursor()
| virtual void wallet::DatabaseBatch::CloseCursor |
( |
| ) |
|
|
pure virtual |
◆ Erase()
template<typename K >
| bool wallet::DatabaseBatch::Erase |
( |
const K & |
key | ) |
|
|
inline |
Definition at line 76 of file db.h.
◆ EraseKey()
| virtual bool wallet::DatabaseBatch::EraseKey |
( |
CDataStream && |
key | ) |
|
|
privatepure virtual |
◆ Exists()
template<typename K >
| bool wallet::DatabaseBatch::Exists |
( |
const K & |
key | ) |
|
|
inline |
Definition at line 86 of file db.h.
◆ Flush()
| virtual void wallet::DatabaseBatch::Flush |
( |
| ) |
|
|
pure virtual |
◆ HasKey()
| virtual bool wallet::DatabaseBatch::HasKey |
( |
CDataStream && |
key | ) |
|
|
privatepure virtual |
◆ operator=()
◆ Read()
template<typename K , typename T >
| bool wallet::DatabaseBatch::Read |
( |
const K & |
key, |
|
|
T & |
value |
|
) |
| |
|
inline |
Definition at line 45 of file db.h.
◆ ReadAtCursor()
| virtual bool wallet::DatabaseBatch::ReadAtCursor |
( |
CDataStream & |
ssKey, |
|
|
CDataStream & |
ssValue, |
|
|
bool & |
complete |
|
) |
| |
|
pure virtual |
◆ ReadKey()
◆ StartCursor()
| virtual bool wallet::DatabaseBatch::StartCursor |
( |
| ) |
|
|
pure virtual |
◆ TxnAbort()
| virtual bool wallet::DatabaseBatch::TxnAbort |
( |
| ) |
|
|
pure virtual |
◆ TxnBegin()
| virtual bool wallet::DatabaseBatch::TxnBegin |
( |
| ) |
|
|
pure virtual |
◆ TxnCommit()
| virtual bool wallet::DatabaseBatch::TxnCommit |
( |
| ) |
|
|
pure virtual |
◆ Write()
template<typename K , typename T >
| bool wallet::DatabaseBatch::Write |
( |
const K & |
key, |
|
|
const T & |
value, |
|
|
bool |
fOverwrite = true |
|
) |
| |
|
inline |
Definition at line 62 of file db.h.
◆ WriteKey()
| virtual bool wallet::DatabaseBatch::WriteKey |
( |
CDataStream && |
key, |
|
|
CDataStream && |
value, |
|
|
bool |
overwrite = true |
|
) |
| |
|
privatepure virtual |
The documentation for this class was generated from the following file: