Bitcoin ABC 0.26.3
P2P Digital Currency
|
Public Member Functions | |
RadixElement () noexcept | |
RadixElement (RadixNode *nodeIn) noexcept | |
RadixElement (T *leafIn) noexcept | |
void | incrementRefCount () |
RadixElement is designed to be a dumb wrapper. | |
void | decrementRefCount () |
bool | isNode () const |
Node features. | |
RadixNode * | getNode () |
const RadixNode * | getNode () const |
bool | isLeaf () const |
Leaf features. | |
T * | getLeaf () |
const T * | getLeaf () const |
Private Member Functions | |
bool | getDiscriminant () const |
Private Attributes | ||
union { | ||
RadixNode * node | ||
T * leaf | ||
uintptr_t raw | ||
}; | ||
Static Private Attributes | |
static const uintptr_t | DISCRIMINANT = 0x01 |
|
inlineexplicitnoexcept |
|
inlineexplicitnoexcept |
|
inline |
|
inline |
RadixElement is designed to be a dumb wrapper.
This allows any container to release what is held by the RadixElement.
Definition at line 296 of file radix.h.
union { ... } RadixTree< T, Adapter >::RadixElement |
T* RadixTree< T, Adapter >::RadixElement::leaf |