SimpleHashTable< T > Class Template Reference#include <tSimpleHashTable.h>
Inheritance diagram for SimpleHashTable< T >: ![]()
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| SimpleHashTable (const U32 modulusSize=64, bool caseSensitive=true) | |
| void | insert (T *pObject, U8 *key, U32 keyLen) |
| T * | remove (U8 *key, U32 keyLen) |
| T * | retreive (U8 *key, U32 keyLen) |
| void | insert (T *pObject, const char *key) |
| T * | remove (const char *key) |
| T * | retreive (const char *key) |
Private Types | |
| typedef SparseArray< T > | Parent |
Private Member Functions | |
| const char * | caseConv (const char *str) |
Private Attributes | |
| bool | mCaseSensitive |
| char | mCaseConvBuf [1024] |
typedef SparseArray<T> SimpleHashTable< T >::Parent [private] |
| SimpleHashTable< T >::SimpleHashTable | ( | const U32 | modulusSize = 64, |
|
| bool | caseSensitive = true | |||
| ) | [inline] |
| const char* SimpleHashTable< T >::caseConv | ( | const char * | str | ) | [inline, private] |
| void SimpleHashTable< T >::insert | ( | T * | pObject, | |
| U8 * | key, | |||
| U32 | keyLen | |||
| ) | [inline] |
| T * SimpleHashTable< T >::remove | ( | U8 * | key, | |
| U32 | keyLen | |||
| ) | [inline] |
| T * SimpleHashTable< T >::retreive | ( | U8 * | key, | |
| U32 | keyLen | |||
| ) | [inline] |
| void SimpleHashTable< T >::insert | ( | T * | pObject, | |
| const char * | key | |||
| ) | [inline] |
| T * SimpleHashTable< T >::remove | ( | const char * | key | ) |
| T * SimpleHashTable< T >::retreive | ( | const char * | key | ) |
bool SimpleHashTable< T >::mCaseSensitive [private] |
char SimpleHashTable< T >::mCaseConvBuf[1024] [private] |