Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
dev::MemTrie Class Reference

Merkle Patricia Tree "Trie": a modifed base-16 Radix tree. More...

#include <MemTrie.h>

Collaboration diagram for dev::MemTrie:
[legend]

Public Member Functions

 MemTrie ()
 
 ~MemTrie ()
 
h256 hash256 () const
 
bytes rlp () const
 
void debugPrint ()
 
std::string const & at (std::string const &_key) const
 
void insert (std::string const &_key, std::string const &_value)
 
void remove (std::string const &_key)
 

Private Attributes

MemTrieNodem_root
 

Detailed Description

Merkle Patricia Tree "Trie": a modifed base-16 Radix tree.

Definition at line 35 of file MemTrie.h.

Constructor & Destructor Documentation

dev::MemTrie::MemTrie ( )
inline

Definition at line 38 of file MemTrie.h.

Here is the call graph for this function:

dev::MemTrie::~MemTrie ( )

Definition at line 431 of file MemTrie.cpp.

Here is the caller graph for this function:

Member Function Documentation

std::string const & dev::MemTrie::at ( std::string const &  _key) const

Definition at line 454 of file MemTrie.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void dev::MemTrie::debugPrint ( )

Definition at line 446 of file MemTrie.cpp.

Here is the caller graph for this function:

h256 dev::MemTrie::hash256 ( ) const

Definition at line 436 of file MemTrie.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void dev::MemTrie::insert ( std::string const &  _key,
std::string const &  _value 
)

Definition at line 462 of file MemTrie.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void dev::MemTrie::remove ( std::string const &  _key)

Definition at line 470 of file MemTrie.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bytes dev::MemTrie::rlp ( ) const

Definition at line 441 of file MemTrie.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

MemTrieNode* dev::MemTrie::m_root
private

Definition at line 51 of file MemTrie.h.


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