Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

CDBTransactionIterator< CDBTransaction > Class Template Reference

#include <dbwrapper.h>

+ Collaboration diagram for CDBTransactionIterator< CDBTransaction >:

Public Member Functions

 CDBTransactionIterator (CDBTransaction &_transaction)
 
void SeekToFirst ()
 
template<typename K >
void Seek (const K &key)
 
void Seek (const CDataStream &ssKey)
 
bool Valid ()
 
void Next ()
 
template<typename K >
bool GetKey (K &key)
 
CDataStream GetKey ()
 
unsigned int GetKeySize ()
 
template<typename V >
bool GetValue (V &value)
 

Private Types

typedef std::remove_pointer< decltype(transaction.parent.NewIterator())>::type ParentIterator
 

Private Member Functions

void SkipDeletedAndOverwritten ()
 
void DecideCur ()
 

Private Attributes

CDBTransactiontransaction
 
CDBTransaction::WritesMap::iterator transactionIt
 
std::unique_ptr< ParentIteratorparentIt
 
CDataStream parentKey
 
bool curIsParent {false}
 

Detailed Description

template<typename CDBTransaction>
class CDBTransactionIterator< CDBTransaction >

Definition at line 401 of file dbwrapper.h.

Member Typedef Documentation

◆ ParentIterator

template<typename CDBTransaction>
typedef std::remove_pointer<decltype(transaction.parent.NewIterator())>::type CDBTransactionIterator< CDBTransaction >::ParentIterator
private

Definition at line 406 of file dbwrapper.h.

Constructor & Destructor Documentation

◆ CDBTransactionIterator()

Member Function Documentation

◆ DecideCur()

◆ GetKey() [1/2]

◆ GetKey() [2/2]

◆ GetKeySize()

◆ GetValue()

◆ Next()

◆ Seek() [1/2]

template<typename CDBTransaction>
template<typename K >
void CDBTransactionIterator< CDBTransaction >::Seek ( const K &  key)
inline

◆ Seek() [2/2]

◆ SeekToFirst()

◆ SkipDeletedAndOverwritten()

◆ Valid()

Member Data Documentation

◆ curIsParent

◆ parentIt

◆ parentKey

◆ transaction

◆ transactionIt


The documentation for this class was generated from the following file:
Released under the MIT license