#include <radix_tree.hpp>
Public Member Functions | |
uint32_t | edgecount () |
unsigned char | first_byte_at (size_t index_) |
unsigned char * | first_bytes () |
node_t | node_at (size_t index_) |
unsigned char * | node_pointers () |
node_t (unsigned char *data_) | |
bool | operator!= (node_t other_) const |
bool | operator== (node_t other_) const |
unsigned char * | prefix () |
uint32_t | prefix_length () |
uint32_t | refcount () |
void | resize (size_t prefix_length_, size_t edgecount_) |
void | set_edge_at (size_t index_, unsigned char first_byte_, node_t node_) |
void | set_edgecount (uint32_t value_) |
void | set_first_byte_at (size_t index_, unsigned char byte_) |
void | set_first_bytes (const unsigned char *bytes_) |
void | set_node_at (size_t index_, node_t node_) |
void | set_node_pointers (const unsigned char *pointers_) |
void | set_prefix (const unsigned char *bytes_) |
void | set_prefix_length (uint32_t value_) |
void | set_refcount (uint32_t value_) |
Public Attributes | |
unsigned char * | _data |
Definition at line 37 of file radix_tree.hpp.
|
explicit |
Definition at line 13 of file radix_tree.cpp.
uint32_t node_t::edgecount | ( | ) |
Definition at line 41 of file radix_tree.cpp.
unsigned char node_t::first_byte_at | ( | size_t | index_ | ) |
Definition at line 73 of file radix_tree.cpp.
unsigned char * node_t::first_bytes | ( | ) |
Definition at line 63 of file radix_tree.cpp.
node_t node_t::node_at | ( | size_t | index_ | ) |
Definition at line 95 of file radix_tree.cpp.
unsigned char * node_t::node_pointers | ( | ) |
Definition at line 85 of file radix_tree.cpp.
bool node_t::operator!= | ( | node_t | other_ | ) | const |
Definition at line 124 of file radix_tree.cpp.
bool node_t::operator== | ( | node_t | other_ | ) | const |
Definition at line 119 of file radix_tree.cpp.
unsigned char * node_t::prefix | ( | ) |
Definition at line 53 of file radix_tree.cpp.
uint32_t node_t::prefix_length | ( | ) |
Definition at line 29 of file radix_tree.cpp.
uint32_t node_t::refcount | ( | ) |
Definition at line 17 of file radix_tree.cpp.
void node_t::resize | ( | size_t | prefix_length_, |
size_t | edgecount_ | ||
) |
Definition at line 129 of file radix_tree.cpp.
Definition at line 111 of file radix_tree.cpp.
void node_t::set_edgecount | ( | uint32_t | value_ | ) |
Definition at line 48 of file radix_tree.cpp.
void node_t::set_first_byte_at | ( | size_t | index_, |
unsigned char | byte_ | ||
) |
Definition at line 79 of file radix_tree.cpp.
void node_t::set_first_bytes | ( | const unsigned char * | bytes_ | ) |
Definition at line 68 of file radix_tree.cpp.
Definition at line 104 of file radix_tree.cpp.
void node_t::set_node_pointers | ( | const unsigned char * | pointers_ | ) |
Definition at line 90 of file radix_tree.cpp.
void node_t::set_prefix | ( | const unsigned char * | bytes_ | ) |
Definition at line 58 of file radix_tree.cpp.
void node_t::set_prefix_length | ( | uint32_t | value_ | ) |
Definition at line 36 of file radix_tree.cpp.
void node_t::set_refcount | ( | uint32_t | value_ | ) |
Definition at line 24 of file radix_tree.cpp.
unsigned char* node_t::_data |
Definition at line 63 of file radix_tree.hpp.