Torque2D Reference
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
SimpleHashTable< T > Class Template Reference

#include <simpleHashTable.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 * retrieve (U8 *key, U32 keyLen)
 
void insert (T *pObject, const char *key)
 
T * remove (const char *key)
 
T * retrieve (const char *key)
 
- Public Member Functions inherited from SparseArray< T >
 SparseArray (const U32 modulusSize=64)
 
 ~SparseArray ()
 
void insert (T *pObject, U32 key)
 
T * remove (U32 key)
 
T * retrieve (U32 key)
 
void clearTables ()
 

Additional Inherited Members

- Protected Attributes inherited from SparseArray< T >
U32 mModulus
 
NodemSentryTables
 

Constructor & Destructor Documentation

SimpleHashTable ( const U32  modulusSize = 64,
bool  caseSensitive = true 
)
inline

Member Function Documentation

void insert ( T *  pObject,
U8 *  key,
U32  keyLen 
)
inline
void insert ( T *  pObject,
const char *  key 
)
inline
T * remove ( U8 *  key,
U32  keyLen 
)
inline
T * remove ( const char *  key)
T * retrieve ( U8 *  key,
U32  keyLen 
)
inline
T * retrieve ( const char *  key)

The documentation for this class was generated from the following file: