41 #ifndef __EST_STRINGTRIE_H__ 42 #define __EST_STRINGTRIE_H__ 72 void *
lookup(
const unsigned char *key)
const;
74 void add(
const unsigned char *key,
void *item);
106 void clear(
void (*deletenode)(
void *n));
110 {
copy(a);
return *
this; }
114 #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
EST_TVector< T > & copy(EST_TVector< T > a, const EST_TList< T > &in)
A string tree index class for indexing arbitrary objects by strings of characters.
void copy_into(EST_StringTrie &trie, const EST_String &path) const
copy all entries in trie node into trie
EST_StringTrie(const EST_StringTrie &trie)