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

Public Member Functions

 TrieInfixNode (bytesConstRef _key, MemTrieNode *_next)
 
virtual ~TrieInfixNode ()
 
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

MemTrieNodem_next
 

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 169 of file MemTrie.cpp.

Constructor & Destructor Documentation

dev::TrieInfixNode::TrieInfixNode ( bytesConstRef  _key,
MemTrieNode _next 
)
inline

Definition at line 172 of file MemTrie.cpp.

virtual dev::TrieInfixNode::~TrieInfixNode ( )
inlinevirtual

Definition at line 173 of file MemTrie.cpp.

Here is the call graph for this function:

Member Function Documentation

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

Implements dev::MemTrieNode.

Definition at line 183 of file MemTrie.cpp.

Here is the call graph for this function:

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

Definition at line 189 of file MemTrie.cpp.

Here is the call graph for this function:

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

Implements dev::MemTrieNode.

Definition at line 338 of file MemTrie.cpp.

Here is the call graph for this function:

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

Implements dev::MemTrieNode.

Definition at line 220 of file MemTrie.cpp.

Here is the call graph for this function:

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

Implements dev::MemTrieNode.

Definition at line 376 of file MemTrie.cpp.

Here is the call graph for this function:

Member Data Documentation

MemTrieNode* dev::TrieInfixNode::m_next
private

Definition at line 191 of file MemTrie.cpp.


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