 
 
	 
In file ../include/EST_THash.h:
| template<class V> class EST_TStringHash | 
A specialised hash table for when the key is an EST_String.
| ![[more]](icon1.gif)  | EST_TStringHash (int size) Create a string hash table of <parameter>size</parameter> buckets | 
| ![[more]](icon1.gif) typedef  EST_Hash_Pair<EST_String, V> | Entry An entry returned by the iterator is a key value pair | 
| ![[more]](icon1.gif) typedef  EST_TStructIterator< EST_THash<EST_String, V>, IPointer, EST_Hash_Pair<EST_String, V> > | Entries Give the iterator a sensible name | 
Pair Iteration
![[more]](icon1.gif) struct  IPointer_s
struct  IPointer_s
![[more]](icon1.gif) void skip_blank(IPointer &ip) const
void skip_blank(IPointer &ip) const 
![[more]](icon1.gif) void point_to_first(IPointer &ip) const
void point_to_first(IPointer &ip) const 
![[more]](icon1.gif) void move_pointer_forwards(IPointer &ip) const
void move_pointer_forwards(IPointer &ip) const 
![[more]](icon1.gif) bool points_to_something(const IPointer &ip) const
bool points_to_something(const IPointer &ip) const 
![[more]](icon1.gif) EST_Hash_Pair<K, V> & points_at(const IPointer &ip)
EST_Hash_Pair<K, V> & points_at(const IPointer &ip)
![[more]](icon1.gif) typedef  EST_Hash_Pair<K, V>  Entry
typedef  EST_Hash_Pair<K, V>  Entry
![[more]](icon1.gif) typedef  EST_TStructIterator< EST_THash<K, V>, IPointer, EST_Hash_Pair<K, V> >  Entries
typedef  EST_TStructIterator< EST_THash<K, V>, IPointer, EST_Hash_Pair<K, V> >  Entries
Key Iteration
![[more]](icon1.gif) struct  IPointer_k_s
struct  IPointer_k_s
![[more]](icon1.gif) void skip_blank(IPointer_k &ip) const
void skip_blank(IPointer_k &ip) const 
![[more]](icon1.gif) void point_to_first(IPointer_k &ip) const
void point_to_first(IPointer_k &ip) const 
![[more]](icon1.gif) void move_pointer_forwards(IPointer_k &ip) const
void move_pointer_forwards(IPointer_k &ip) const 
![[more]](icon1.gif) bool points_to_something(const IPointer_k &ip) const
bool points_to_something(const IPointer_k &ip) const 
![[more]](icon1.gif) K& points_at(const IPointer_k &ip)
K& points_at(const IPointer_k &ip)
![[more]](icon1.gif) typedef  K KeyEntry
typedef  K KeyEntry
![[more]](icon1.gif) typedef  EST_TIterator< EST_THash<K, V>, IPointer_k, K >  KeyEntries
typedef  EST_TIterator< EST_THash<K, V>, IPointer_k, K >  KeyEntries
 void clear(void)
void clear(void)
 unsigned int num_entries(void) const
unsigned int num_entries(void) const 
 int present(const K &key) const
int present(const K &key) const 
 V& val(const K &key, int &found) const
V& val(const K &key, int &found) const 
 V& val(const K &key) const
V& val(const K &key) const 
 void copy(const EST_THash<K, V> &from)
void copy(const EST_THash<K, V> &from)
 void map(void (*func)(K&, V&))
void map(void (*func)(K&, V&))
 int add_item(const K &key, const V &value, int no_search = 0)
int add_item(const K &key, const V &value, int no_search = 0)
 int remove_item(const K &rkey, int quiet = 0)
int remove_item(const K &rkey, int quiet = 0)
 EST_THash<K,V> & operator = (const EST_THash<K, V> &from)
EST_THash<K,V> & operator = (const EST_THash<K, V> &from)
 void dump(ostream &stream, int all=0)
void dump(ostream &stream, int all=0)
 static   unsigned int DefaultHash(const void* data, size_t size, unsigned int n)
static   unsigned int DefaultHash(const void* data, size_t size, unsigned int n)
 static   unsigned int StringHash(const EST_String &key, unsigned int size)
static   unsigned int StringHash(const EST_String &key, unsigned int size)
A specialised hash table for when the key is an EST_String.This is just a version of <classname>EST_THash</classname> which has a different default hash function.
 EST_TStringHash(int size)
 EST_TStringHash(int size)
 typedef  EST_Hash_Pair<EST_String, V>  Entry
typedef  EST_Hash_Pair<EST_String, V>  Entry
 typedef  EST_TStructIterator< EST_THash<EST_String, V>, IPointer, EST_Hash_Pair<EST_String, V> >  Entries
typedef  EST_TStructIterator< EST_THash<EST_String, V>, IPointer, EST_Hash_Pair<EST_String, V> >  Entries
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