#include <Trie.h>
Data Structures | |
class | Node |
Public Member Functions | |
Trie () | |
bool | Insert (const char *key, T *value, int rank, int key_len=-1) |
T * | Search (const char *key, int key_len=-1) const |
void | Clear () |
void | Print () |
bool | Empty () const |
virtual | ~Trie () |
Definition at line 35 of file Trie.h.
void Trie< T >::Clear | ( | ) |
Definition at line 210 of file Trie.h.
References Queue< C, L >::pop(), and T.
Referenced by Trie< SSLEntry >::~Trie().
bool Trie< T >::Empty | ( | ) | const [inline] |
Definition at line 52 of file Trie.h.
Referenced by SSLContextStorage::lookup().
bool Trie< T >::Insert | ( | const char * | key, | |
T * | value, | |||
int | rank, | |||
int | key_len = -1 | |||
) |
Definition at line 113 of file Trie.h.
References Debug, Queue< C, L >::enqueue(), and is_debug_tag_set.
Referenced by UrlMappingPathIndex::Insert(), and SSLContextStorage::insert().
void Trie< T >::Print | ( | ) |
T * Trie< T >::Search | ( | const char * | key, | |
int | key_len = -1 | |||
) | const |
Definition at line 159 of file Trie.h.
References Debug, and is_debug_tag_set.
Referenced by SSLContextStorage::insert(), SSLContextStorage::lookup(), and UrlMappingPathIndex::Search().