Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Private Member Functions | Private Attributes | List of all members
dev::TrieLeafNode Class Reference
Inheritance diagram for dev::TrieLeafNode:
[legend]
Collaboration diagram for dev::TrieLeafNode:
[legend]

Public Member Functions

 TrieLeafNode (bytesConstRef _key, std::string const &_value)
 
virtual std::string const & at (bytesConstRef _key) const override
 
virtual MemTrieNodeinsert (bytesConstRef _key, std::string const &_value) override
 
virtual MemTrieNoderemove (bytesConstRef _key) override
 
virtual void makeRLP (RLPStream &_parentStream) const override
 
- Public Member Functions inherited from dev::TrieExtNode
 TrieExtNode (bytesConstRef _bytes)
 
- Public Member Functions inherited from dev::MemTrieNode
 MemTrieNode ()
 
virtual ~MemTrieNode ()
 
void putRLP (RLPStream &_parentStream) const
 
h256 hash256 () const
 256-bit hash of the node - this is a SHA-3/256 hash of the RLP of the node. More...
 
bytes rlp () const
 
void mark ()
 

Private Member Functions

bool contains (bytesConstRef _key) const
 

Private Attributes

std::string m_value
 

Additional Inherited Members

- Public Attributes inherited from dev::TrieExtNode
bytes m_ext
 
- Static Protected Member Functions inherited from dev::MemTrieNode
static MemTrieNodenewBranch (bytesConstRef _k1, std::string const &_v1, bytesConstRef _k2, std::string const &_v2)
 

Detailed Description

Definition at line 140 of file MemTrie.cpp.

Constructor & Destructor Documentation

dev::TrieLeafNode::TrieLeafNode ( bytesConstRef  _key,
std::string const &  _value 
)
inline

Definition at line 143 of file MemTrie.cpp.

Here is the call graph for this function:

Member Function Documentation

virtual std::string const& dev::TrieLeafNode::at ( bytesConstRef  _key) const
inlineoverridevirtual

Implements dev::MemTrieNode.

Definition at line 158 of file MemTrie.cpp.

Here is the call graph for this function:

bool dev::TrieLeafNode::contains ( bytesConstRef  _key) const
inlineprivate

Definition at line 164 of file MemTrie.cpp.

Here is the call graph for this function:

MemTrieNode * dev::TrieLeafNode::insert ( bytesConstRef  _key,
std::string const &  _value 
)
overridevirtual

Implements dev::MemTrieNode.

Definition at line 403 of file MemTrie.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void dev::TrieLeafNode::makeRLP ( RLPStream _parentStream) const
overridevirtual

Implements dev::MemTrieNode.

Definition at line 215 of file MemTrie.cpp.

Here is the call graph for this function:

MemTrieNode * dev::TrieLeafNode::remove ( bytesConstRef  _key)
overridevirtual

Implements dev::MemTrieNode.

Definition at line 421 of file MemTrie.cpp.

Here is the call graph for this function:

Member Data Documentation

std::string dev::TrieLeafNode::m_value
private

Definition at line 166 of file MemTrie.cpp.


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