2 #ifndef JAWS_SYMBOL_TABLE_H
3 #define JAWS_SYMBOL_TABLE_H
5 #include "ace/Hash_Map_Manager.h"
8 #include "jaws3/Export.h"
10 #define JAWS_SYMBOL_TABLE_ENTRY \
11 ACE_Hash_Map_Entry <const ACE_TCHAR *, const ACE_TCHAR *>
13 #define JAWS_SYMBOL_TABLE_BASE \
14 ACE_Hash_Map_Manager_Ex<const ACE_TCHAR *, const ACE_TCHAR *, \
15 ACE_Hash<const ACE_TCHAR *>, ACE_Equal_To<const ACE_TCHAR *>, \
18 #define JAWS_SYMBOL_TABLE_ITERATOR_BASE \
19 ACE_Hash_Map_Iterator_Base_Ex<const ACE_TCHAR *, const ACE_TCHAR *, \
20 ACE_Hash<const ACE_TCHAR *>, \
21 ACE_Equal_To<const ACE_TCHAR *>, \
24 #define JAWS_SYMBOL_TABLE_ITERATOR \
25 ACE_Hash_Map_Iterator_Ex<const ACE_TCHAR *, const ACE_TCHAR *, \
26 ACE_Hash<const ACE_TCHAR *>, ACE_Equal_To<const ACE_TCHAR *>, \
29 #define JAWS_SYMBOL_TABLE_REVERSE_ITERATOR \
30 ACE_Hash_Map_Reverse_Iterator_Ex<const ACE_TCHAR *, const ACE_TCHAR *, \
31 ACE_Hash<const ACE_TCHAR *>, \
32 ACE_Equal_To<const ACE_TCHAR *>, \
35 class JAWS_Symbol_Table
;
37 class JAWS_Export JAWS_Symbol_Table
: public JAWS_SYMBOL_TABLE_BASE
39 // A class the associates a string with another string.
42 JAWS_Symbol_Table (size_t size
= 211);
43 // Hash table <size> should be a prime.
46 #endif /* JAWS_SYMBOL_TABLE_H */