SparseArray< T > Class Template Reference

#include <tSparseArray.h>

Inheritance diagram for SparseArray< T >:

Inheritance graph
[legend]
List of all members.


template<class T> class SparseArray< T >


Public Member Functions

 SparseArray (const U32 modulusSize=64)
 ~SparseArray ()
void insert (T *pObject, U32 key)
T * remove (U32 key)
T * retreive (U32 key)
void clearTables ()

Protected Attributes

U32 mModulus
NodemSentryTables

Classes

struct  Node

Constructor & Destructor Documentation

template<class T>
SparseArray< T >::SparseArray ( const U32  modulusSize = 64  )  [inline]

template<class T>
SparseArray< T >::~SparseArray (  )  [inline]


Member Function Documentation

template<class T>
void SparseArray< T >::insert ( T *  pObject,
U32  key 
) [inline]

template<class T>
T * SparseArray< T >::remove ( U32  key  )  [inline]

template<class T>
T * SparseArray< T >::retreive ( U32  key  )  [inline]

template<class T>
void SparseArray< T >::clearTables (  )  [inline]


Member Data Documentation

template<class T>
U32 SparseArray< T >::mModulus [protected]

template<class T>
Node* SparseArray< T >::mSentryTables [protected]