41 #ifndef __EST_STRINGTRIE_H__
42 #define __EST_STRINGTRIE_H__
44 #include "EST_String.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 EST_String &key, void *item)
Add item indexed by key, overwriting previous contents.
void clear(void)
Delete the tree.
void add(const unsigned char *key, void *item)
add item for key overwriting previous contents
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
void * lookup(const EST_String &key) const
Find contents index by key, 0 if there is not contents.