Fabcoin Core  0.16.2
P2P Digital Currency
Classes | Public Types | Public Member Functions | Protected Attributes | Private Member Functions | List of all members
dev::GenericTrieDB< _DB >::iterator Class Reference

#include <TrieDB.h>

Inheritance diagram for dev::GenericTrieDB< _DB >::iterator:
[legend]
Collaboration diagram for dev::GenericTrieDB< _DB >::iterator:
[legend]

Classes

struct  Node
 

Public Types

using value_type = std::pair< bytesConstRef, bytesConstRef >
 

Public Member Functions

 iterator ()
 
 iterator (GenericTrieDB const *_db)
 
 iterator (GenericTrieDB const *_db, bytesConstRef _key)
 
iteratoroperator++ ()
 
value_type operator* () const
 
value_type operator-> () const
 
bool operator== (iterator const &_c) const
 
bool operator!= (iterator const &_c) const
 
value_type at () const
 

Protected Attributes

std::vector< Nodem_trail
 
GenericTrieDB< DB > const * m_that
 

Private Member Functions

void next ()
 
void next (NibbleSlice _key)
 

Detailed Description

template<class _DB>
class dev::GenericTrieDB< _DB >::iterator

Definition at line 112 of file TrieDB.h.

Member Typedef Documentation

template<class _DB>
using dev::GenericTrieDB< _DB >::iterator::value_type = std::pair<bytesConstRef, bytesConstRef>

Definition at line 115 of file TrieDB.h.

Constructor & Destructor Documentation

template<class _DB>
dev::GenericTrieDB< _DB >::iterator::iterator ( )
inline

Definition at line 117 of file TrieDB.h.

template<class DB >
dev::GenericTrieDB< DB >::iterator::iterator ( GenericTrieDB const *  _db)
explicit

Definition at line 506 of file TrieDB.h.

Here is the call graph for this function:

template<class DB >
dev::GenericTrieDB< DB >::iterator::iterator ( GenericTrieDB const *  _db,
bytesConstRef  _key 
)

Definition at line 513 of file TrieDB.h.

Here is the call graph for this function:

Member Function Documentation

template<class DB >
GenericTrieDB< DB >::iterator::value_type dev::GenericTrieDB< DB >::iterator::at ( ) const

Definition at line 520 of file TrieDB.h.

Here is the call graph for this function:

template<class DB >
void dev::GenericTrieDB< DB >::iterator::next ( )
private

Definition at line 669 of file TrieDB.h.

Here is the call graph for this function:

template<class DB >
void dev::GenericTrieDB< DB >::iterator::next ( NibbleSlice  _key)
private

Definition at line 531 of file TrieDB.h.

Here is the call graph for this function:

template<class _DB>
bool dev::GenericTrieDB< _DB >::iterator::operator!= ( iterator const &  _c) const
inline

Definition at line 127 of file TrieDB.h.

template<class _DB>
value_type dev::GenericTrieDB< _DB >::iterator::operator* ( ) const
inline

Definition at line 123 of file TrieDB.h.

template<class _DB>
iterator& dev::GenericTrieDB< _DB >::iterator::operator++ ( )
inline

Definition at line 121 of file TrieDB.h.

template<class _DB>
value_type dev::GenericTrieDB< _DB >::iterator::operator-> ( ) const
inline

Definition at line 124 of file TrieDB.h.

template<class _DB>
bool dev::GenericTrieDB< _DB >::iterator::operator== ( iterator const &  _c) const
inline

Definition at line 126 of file TrieDB.h.

Member Data Documentation

template<class _DB>
GenericTrieDB<DB> const* dev::GenericTrieDB< _DB >::iterator::m_that
protected

Definition at line 153 of file TrieDB.h.

template<class _DB>
std::vector<Node> dev::GenericTrieDB< _DB >::iterator::m_trail
protected

Definition at line 152 of file TrieDB.h.


The documentation for this class was generated from the following file: