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

#include <TrieDB.h>

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

Classes

class  iterator
 

Public Types

using DB = _DB
 

Public Member Functions

 HashedGenericTrieDB (DB *_db=nullptr)
 
 HashedGenericTrieDB (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
 
iterator lower_bound (bytesConstRef) const
 

Detailed Description

template<class _DB>
class dev::HashedGenericTrieDB< _DB >

Definition at line 364 of file TrieDB.h.

Member Typedef Documentation

◆ DB

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

Definition at line 369 of file TrieDB.h.

Constructor & Destructor Documentation

◆ HashedGenericTrieDB() [1/2]

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

Definition at line 371 of file TrieDB.h.

◆ HashedGenericTrieDB() [2/2]

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

Definition at line 372 of file TrieDB.h.

Member Function Documentation

◆ at()

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

Definition at line 390 of file TrieDB.h.

◆ begin()

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

Definition at line 414 of file TrieDB.h.

◆ contains()

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

Definition at line 391 of file TrieDB.h.

◆ end()

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

Definition at line 415 of file TrieDB.h.

◆ insert()

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

Definition at line 392 of file TrieDB.h.

◆ lower_bound()

template<class _DB >
iterator dev::HashedGenericTrieDB< _DB >::lower_bound ( bytesConstRef  ) const
inline

Definition at line 416 of file TrieDB.h.

◆ remove()

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

Definition at line 393 of file TrieDB.h.


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