Identifies a node inside a SHAMap.
More...
Identifies a node inside a SHAMap.
Definition at line 33 of file SHAMapNodeID.h.
◆ SHAMapNodeID() [1/3]
ripple::SHAMapNodeID::SHAMapNodeID |
( |
| ) |
|
|
default |
◆ SHAMapNodeID() [2/3]
ripple::SHAMapNodeID::SHAMapNodeID |
( |
SHAMapNodeID const & |
other | ) |
|
|
default |
◆ SHAMapNodeID() [3/3]
ripple::SHAMapNodeID::SHAMapNodeID |
( |
unsigned int |
depth, |
|
|
uint256 const & |
hash |
|
) |
| |
◆ operator=()
◆ isRoot()
bool ripple::SHAMapNodeID::isRoot |
( |
| ) |
const |
◆ getRawString()
std::string ripple::SHAMapNodeID::getRawString |
( |
| ) |
const |
◆ getDepth()
unsigned int ripple::SHAMapNodeID::getDepth |
( |
| ) |
const |
◆ getNodeID()
uint256 const& ripple::SHAMapNodeID::getNodeID |
( |
| ) |
const |
◆ getChildNodeID()
SHAMapNodeID ripple::SHAMapNodeID::getChildNodeID |
( |
unsigned int |
m | ) |
const |
◆ createID()
Create a SHAMapNodeID of a node with the depth of the node and the key of a leaf.
- Parameters
-
depth | the depth of the node |
key | the key of a leaf |
- Returns
- SHAMapNodeID of the node
Definition at line 136 of file SHAMapNodeID.cpp.
◆ operator<()
bool ripple::SHAMapNodeID::operator< |
( |
SHAMapNodeID const & |
n | ) |
const |
◆ operator>()
bool ripple::SHAMapNodeID::operator> |
( |
SHAMapNodeID const & |
n | ) |
const |
◆ operator<=()
bool ripple::SHAMapNodeID::operator<= |
( |
SHAMapNodeID const & |
n | ) |
const |
◆ operator>=()
bool ripple::SHAMapNodeID::operator>= |
( |
SHAMapNodeID const & |
n | ) |
const |
◆ operator==()
bool ripple::SHAMapNodeID::operator== |
( |
SHAMapNodeID const & |
n | ) |
const |
◆ operator!=()
bool ripple::SHAMapNodeID::operator!= |
( |
SHAMapNodeID const & |
n | ) |
const |
◆ getCounter()
|
staticprivatenoexceptinherited |
◆ id_
◆ depth_
unsigned int ripple::SHAMapNodeID::depth_ = 0 |
|
private |