41 #ifndef __EST_STRINGTRIE_H__ 42 #define __EST_STRINGTRIE_H__ 44 #include "EST_String.h" 70 void *
lookup(
const unsigned char *key)
const;
72 void add(
const unsigned char *key,
void *item);
102 void clear(
void (*deletenode)(
void *n));
106 { copy(a);
return *
this; }
110 #endif // __EST_STRINGTRIE_H__ void * lookup(const unsigned char *key) const
Find the contents for given string, 0 if no current contents.
void add(const unsigned char *key, void *item)
add { item} for { key} overwriting previous contents
void copy_into(EST_StringTrie &trie, const EST_String &path) const
copy all entries in trie node into trie