Kagome
Polkadot Runtime Engine in C++17
|
#include <trie_node.hpp>
Public Member Functions | |
LeafNode ()=default | |
LeafNode (KeyNibbles key_nibbles, std::optional< common::Buffer > value) | |
~LeafNode () override=default | |
int | getType () const override |
Public Member Functions inherited from kagome::storage::trie::TrieNode | |
TrieNode ()=default | |
TrieNode (KeyNibbles key_nibbles, std::optional< common::Buffer > value) | |
~TrieNode () override=default | |
Type | getTrieType () const noexcept |
bool | isBranch () const noexcept |
Public Member Functions inherited from kagome::storage::trie::Node | |
virtual | ~Node ()=default |
Additional Inherited Members | |
Public Types inherited from kagome::storage::trie::TrieNode | |
enum | Type { Type::Special, Type::Leaf, Type::BranchEmptyValue, Type::BranchWithValue, Type::LeafContainingHashes, Type::BranchContainingHashes, Type::Empty, Type::ReservedForCompactEncoding } |
Public Attributes inherited from kagome::storage::trie::TrieNode | |
KeyNibbles | key_nibbles |
std::optional< common::Buffer > | value |
Definition at line 144 of file trie_node.hpp.
|
default |
|
inline |
Definition at line 146 of file trie_node.hpp.
|
overridedefault |
|
overridevirtual |
Implements kagome::storage::trie::Node.
Definition at line 31 of file trie_node.cpp.