|
CatapultServer
v0.5.0.1 (Elephant)
|
Represents a leaf tree node. More...

Public Member Functions | |
| LeafTreeNode (const TreeNodePath &path, const Hash256 &value) | |
| Creates a leaf node with path and value. More... | |
| const TreeNodePath & | path () const |
| Gets the node path. More... | |
| const Hash256 & | value () const |
| Gets the node value. More... | |
| const Hash256 & | hash () const |
| Gets the hash representation of this node. More... | |
Private Attributes | |
| TreeNodePath | m_path |
| Hash256 | m_value |
| Hash256 | m_hash |
Represents a leaf tree node.
| catapult::tree::LeafTreeNode::LeafTreeNode | ( | const TreeNodePath & | path, |
| const Hash256 & | value | ||
| ) |
Creates a leaf node with path and value.
| const Hash256 & catapult::tree::LeafTreeNode::hash | ( | ) | const |
Gets the hash representation of this node.

| const TreeNodePath & catapult::tree::LeafTreeNode::path | ( | ) | const |
Gets the node path.

| const Hash256 & catapult::tree::LeafTreeNode::value | ( | ) | const |
Gets the node value.

|
private |
|
private |
|
private |