Public Member Functions | Public Attributes | List of all members
node_t Struct Reference

#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
 

Detailed Description

Definition at line 37 of file radix_tree.hpp.

Constructor & Destructor Documentation

◆ node_t()

node_t::node_t ( unsigned char *  data_)
explicit

Definition at line 13 of file radix_tree.cpp.

Member Function Documentation

◆ edgecount()

uint32_t node_t::edgecount ( )

Definition at line 41 of file radix_tree.cpp.

◆ first_byte_at()

unsigned char node_t::first_byte_at ( size_t  index_)

Definition at line 73 of file radix_tree.cpp.

◆ first_bytes()

unsigned char * node_t::first_bytes ( )

Definition at line 63 of file radix_tree.cpp.

◆ node_at()

node_t node_t::node_at ( size_t  index_)

Definition at line 95 of file radix_tree.cpp.

◆ node_pointers()

unsigned char * node_t::node_pointers ( )

Definition at line 85 of file radix_tree.cpp.

◆ operator!=()

bool node_t::operator!= ( node_t  other_) const

Definition at line 124 of file radix_tree.cpp.

◆ operator==()

bool node_t::operator== ( node_t  other_) const

Definition at line 119 of file radix_tree.cpp.

◆ prefix()

unsigned char * node_t::prefix ( )

Definition at line 53 of file radix_tree.cpp.

◆ prefix_length()

uint32_t node_t::prefix_length ( )

Definition at line 29 of file radix_tree.cpp.

◆ refcount()

uint32_t node_t::refcount ( )

Definition at line 17 of file radix_tree.cpp.

◆ resize()

void node_t::resize ( size_t  prefix_length_,
size_t  edgecount_ 
)

Definition at line 129 of file radix_tree.cpp.

◆ set_edge_at()

void node_t::set_edge_at ( size_t  index_,
unsigned char  first_byte_,
node_t  node_ 
)

Definition at line 111 of file radix_tree.cpp.

◆ set_edgecount()

void node_t::set_edgecount ( uint32_t  value_)

Definition at line 48 of file radix_tree.cpp.

◆ set_first_byte_at()

void node_t::set_first_byte_at ( size_t  index_,
unsigned char  byte_ 
)

Definition at line 79 of file radix_tree.cpp.

◆ set_first_bytes()

void node_t::set_first_bytes ( const unsigned char *  bytes_)

Definition at line 68 of file radix_tree.cpp.

◆ set_node_at()

void node_t::set_node_at ( size_t  index_,
node_t  node_ 
)

Definition at line 104 of file radix_tree.cpp.

◆ set_node_pointers()

void node_t::set_node_pointers ( const unsigned char *  pointers_)

Definition at line 90 of file radix_tree.cpp.

◆ set_prefix()

void node_t::set_prefix ( const unsigned char *  bytes_)

Definition at line 58 of file radix_tree.cpp.

◆ set_prefix_length()

void node_t::set_prefix_length ( uint32_t  value_)

Definition at line 36 of file radix_tree.cpp.

◆ set_refcount()

void node_t::set_refcount ( uint32_t  value_)

Definition at line 24 of file radix_tree.cpp.

Member Data Documentation

◆ _data

unsigned char* node_t::_data

Definition at line 63 of file radix_tree.hpp.


The documentation for this struct was generated from the following files:


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:06