In file ../include/EST_StringTrie.h:

class EST_StringTrie

A string tree index class for indexing arbitrary objects by strings of characters.

Public Methods

[more] EST_StringTrie ()
[more] EST_StringTrie (const EST_StringTrie &trie)
[more] ~EST_StringTrie ()
[more]void copy (const EST_StringTrie &trie)
[more]void* lookup (const EST_String &key) const
Find contents index by key, 0 if there is not contents
[more]void add (const EST_String &key, void* item)
Add item indexed by key, overwriting previous contents
[more]void clear (void (*deletenode)(void* n))
Delete the tree, apply deletenote function to each contentsDelete the tree
[more]EST_StringTrie& operator = (const EST_StringTrie &a)


Documentation

A string tree index class for indexing arbitrary objects by strings of characters.

Note this only deals with 7 but characters, and can only hold one item per index key.

o EST_StringTrie()

o EST_StringTrie(const EST_StringTrie &trie)

o ~EST_StringTrie()

ovoid copy(const EST_StringTrie &trie)

ovoid* lookup(const EST_String &key) const
Find contents index by key, 0 if there is not contents

ovoid add(const EST_String &key, void* item)
Add item indexed by key, overwriting previous contents

ovoid clear(void (*deletenode)(void* n))
Delete the tree, apply deletenote function to each contentsDelete the tree

oEST_StringTrie& operator = (const EST_StringTrie &a)


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java


This page is part of the Edinburgh Speech Tools Library documentation
Copyright University of Edinburgh 1997
Contact: speech_tools@cstr.ed.ac.uk