Ethereum  PoC-8
The C++ Implementation of Ethereum
dev::FatGenericTrieDB< _DB > Class Template Reference

#include <TrieDB.h>

Inheritance diagram for dev::FatGenericTrieDB< _DB >:
dev::SpecificTrieDB< GenericTrieDB< _DB >, h256 >

Classes

class  HashedIterator
 
class  iterator
 

Public Types

using DB = _DB
 

Public Member Functions

 FatGenericTrieDB (DB *_db=nullptr)
 
 FatGenericTrieDB (DB *_db, h256 _root, Verification _v=Verification::Normal)
 
std::string at (bytesConstRef _key) const
 
bool contains (bytesConstRef _key) const
 
void insert (bytesConstRef _key, bytesConstRef _value)
 
void remove (bytesConstRef _key)
 
iterator begin () const
 
iterator end () const
 
HashedIterator hashedBegin () const
 
HashedIterator hashedEnd () const
 
HashedIterator hashedLowerBound (h256 const &_hashedKey) const
 

Detailed Description

template<class _DB>
class dev::FatGenericTrieDB< _DB >

Definition at line 421 of file TrieDB.h.

Member Typedef Documentation

◆ DB

template<class _DB >
using dev::FatGenericTrieDB< _DB >::DB = _DB

Definition at line 426 of file TrieDB.h.

Constructor & Destructor Documentation

◆ FatGenericTrieDB() [1/2]

template<class _DB >
dev::FatGenericTrieDB< _DB >::FatGenericTrieDB ( DB _db = nullptr)
inline

Definition at line 427 of file TrieDB.h.

◆ FatGenericTrieDB() [2/2]

template<class _DB >
dev::FatGenericTrieDB< _DB >::FatGenericTrieDB ( DB _db,
h256  _root,
Verification  _v = Verification::Normal 
)
inline

Definition at line 428 of file TrieDB.h.

Member Function Documentation

◆ at()

template<class _DB >
std::string dev::FatGenericTrieDB< _DB >::at ( bytesConstRef  _key) const
inline

Definition at line 441 of file TrieDB.h.

◆ begin()

template<class _DB >
iterator dev::FatGenericTrieDB< _DB >::begin ( ) const
inline

Definition at line 472 of file TrieDB.h.

◆ contains()

template<class _DB >
bool dev::FatGenericTrieDB< _DB >::contains ( bytesConstRef  _key) const
inline

Definition at line 442 of file TrieDB.h.

◆ end()

template<class _DB >
iterator dev::FatGenericTrieDB< _DB >::end ( ) const
inline

Definition at line 473 of file TrieDB.h.

◆ hashedBegin()

template<class _DB >
HashedIterator dev::FatGenericTrieDB< _DB >::hashedBegin ( ) const
inline

Definition at line 492 of file TrieDB.h.

◆ hashedEnd()

template<class _DB >
HashedIterator dev::FatGenericTrieDB< _DB >::hashedEnd ( ) const
inline

Definition at line 493 of file TrieDB.h.

◆ hashedLowerBound()

template<class _DB >
HashedIterator dev::FatGenericTrieDB< _DB >::hashedLowerBound ( h256 const &  _hashedKey) const
inline

Definition at line 494 of file TrieDB.h.

◆ insert()

template<class _DB >
void dev::FatGenericTrieDB< _DB >::insert ( bytesConstRef  _key,
bytesConstRef  _value 
)
inline

Definition at line 443 of file TrieDB.h.

◆ remove()

template<class _DB >
void dev::FatGenericTrieDB< _DB >::remove ( bytesConstRef  _key)
inline

Definition at line 450 of file TrieDB.h.


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