Public Member Functions | Private Attributes | List of all members
zmq::trie_with_size_t Class Reference

#include <trie.hpp>

Public Member Functions

bool add (unsigned char *prefix_, size_t size_)
 
void apply (void(*func_)(unsigned char *data_, size_t size_, void *arg_), void *arg_)
 
bool check (const unsigned char *data_, size_t size_) const
 
uint32_t num_prefixes () const
 
bool rm (unsigned char *prefix_, size_t size_)
 
 trie_with_size_t ()
 
 ~trie_with_size_t ()
 

Private Attributes

atomic_counter_t _num_prefixes
 
trie_t _trie
 

Detailed Description

Definition at line 60 of file trie.hpp.

Constructor & Destructor Documentation

◆ trie_with_size_t()

zmq::trie_with_size_t::trie_with_size_t ( )
inline

Definition at line 63 of file trie.hpp.

◆ ~trie_with_size_t()

zmq::trie_with_size_t::~trie_with_size_t ( )
inline

Definition at line 64 of file trie.hpp.

Member Function Documentation

◆ add()

bool zmq::trie_with_size_t::add ( unsigned char *  prefix_,
size_t  size_ 
)
inline

Definition at line 66 of file trie.hpp.

◆ apply()

void zmq::trie_with_size_t::apply ( void(*)(unsigned char *data_, size_t size_, void *arg_)  func_,
void arg_ 
)
inline

Definition at line 89 of file trie.hpp.

◆ check()

bool zmq::trie_with_size_t::check ( const unsigned char *  data_,
size_t  size_ 
) const
inline

Definition at line 84 of file trie.hpp.

◆ num_prefixes()

uint32_t zmq::trie_with_size_t::num_prefixes ( ) const
inline

Definition at line 97 of file trie.hpp.

◆ rm()

bool zmq::trie_with_size_t::rm ( unsigned char *  prefix_,
size_t  size_ 
)
inline

Definition at line 75 of file trie.hpp.

Member Data Documentation

◆ _num_prefixes

atomic_counter_t zmq::trie_with_size_t::_num_prefixes
private

Definition at line 100 of file trie.hpp.

◆ _trie

trie_t zmq::trie_with_size_t::_trie
private

Definition at line 101 of file trie.hpp.


The documentation for this class was generated from the following file:


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