#include <radix_tree.hpp>
Public Member Functions | |
bool | add (const unsigned char *key_, size_t key_size_) |
void | apply (void(*func_)(unsigned char *data, size_t size, void *arg), void *arg_) |
bool | check (const unsigned char *key_, size_t key_size_) |
radix_tree_t () | |
bool | rm (const unsigned char *key_, size_t key_size_) |
size_t | size () const |
~radix_tree_t () | |
Private Member Functions | |
match_result_t | match (const unsigned char *key_, size_t key_size_, bool is_lookup_) const |
Private Attributes | |
node_t | _root |
atomic_counter_t | _size |
Definition at line 89 of file radix_tree.hpp.
zmq::radix_tree_t::radix_tree_t | ( | ) |
Definition at line 158 of file radix_tree.cpp.
zmq::radix_tree_t::~radix_tree_t | ( | ) |
Definition at line 169 of file radix_tree.cpp.
bool zmq::radix_tree_t::add | ( | const unsigned char * | key_, |
size_t | key_size_ | ||
) |
Definition at line 259 of file radix_tree.cpp.
void zmq::radix_tree_t::apply | ( | void(*)(unsigned char *data, size_t size, void *arg) | func_, |
void * | arg_ | ||
) |
Definition at line 537 of file radix_tree.cpp.
bool zmq::radix_tree_t::check | ( | const unsigned char * | key_, |
size_t | key_size_ | ||
) |
Definition at line 503 of file radix_tree.cpp.
|
private |
Definition at line 191 of file radix_tree.cpp.
bool zmq::radix_tree_t::rm | ( | const unsigned char * | key_, |
size_t | key_size_ | ||
) |
Definition at line 383 of file radix_tree.cpp.
size_t zmq::radix_tree_t::size | ( | ) | const |
Definition at line 548 of file radix_tree.cpp.
|
private |
Definition at line 117 of file radix_tree.hpp.
|
private |
Definition at line 118 of file radix_tree.hpp.