#include <source/ariba/utility/transport/tcpip/protlib/address.h>
Classes | |
struct | node |
Public Types | |
typedef _dT | data_type |
Public Member Functions | |
RadixTrie () | |
~RadixTrie () | |
node * | insert (netaddress &key, data_type &dat) |
node * | lookup_node (netaddress &key, bool lpfm=true, bool with_data=true) |
data_type * | lookup (netaddress &key, bool lpfm=true) |
bool | remove (netaddress &key) |
bool | remove_all (netaddress &key) |
void | print () |
void | print_node (node *x, bool decent=true) |
Private Attributes | |
struct node * | v4head |
struct node * | v6head |
Definition at line 752 of file address.h.
typedef _dT protlib::RadixTrie< _dT >::data_type |
protlib::RadixTrie< _dT >::RadixTrie | ( | ) | [inline] |
protlib::RadixTrie< _dT >::~RadixTrie | ( | ) | [inline] |
node* protlib::RadixTrie< _dT >::insert | ( | netaddress & | key, | |
data_type & | dat | |||
) | [inline] |
Definition at line 791 of file address.h.
Referenced by protlib::AddressList::add_property(), and protlib::AddressList::del_property().
data_type* protlib::RadixTrie< _dT >::lookup | ( | netaddress & | key, | |
bool | lpfm = true | |||
) | [inline] |
Definition at line 1040 of file address.h.
Referenced by protlib::AddressList::add_property(), protlib::AddressList::addr_is(), protlib::AddressList::addr_is_in(), and protlib::AddressList::del_property().
node* protlib::RadixTrie< _dT >::lookup_node | ( | netaddress & | key, | |
bool | lpfm = true , |
|||
bool | with_data = true | |||
) | [inline] |
Definition at line 978 of file address.h.
Referenced by protlib::AddressList::add_property(), protlib::AddressList::addr_is_in(), protlib::AddressList::del_property(), protlib::AddressList::get_addrs(), protlib::AddressList::get_first(), protlib::RadixTrie< propmap_t >::lookup(), protlib::RadixTrie< propmap_t >::remove(), and protlib::RadixTrie< propmap_t >::remove_all().
void protlib::RadixTrie< _dT >::print | ( | ) | [inline] |
void protlib::RadixTrie< _dT >::print_node | ( | node * | x, | |
bool | decent = true | |||
) | [inline] |
Definition at line 1087 of file address.h.
Referenced by protlib::RadixTrie< propmap_t >::print(), and protlib::RadixTrie< propmap_t >::print_node().
bool protlib::RadixTrie< _dT >::remove | ( | netaddress & | key | ) | [inline] |
bool protlib::RadixTrie< _dT >::remove_all | ( | netaddress & | key | ) | [inline] |
struct node* protlib::RadixTrie< _dT >::v4head [read, private] |
struct node* protlib::RadixTrie< _dT >::v6head [read, private] |