Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Classes | Public Member Functions | Protected Attributes | List of all members
SparseArray< T > Class Template Reference

`#include <sparseArray.h>`

Inheritance diagram for SparseArray< T >:

## Classes
struct | Node

## Public Member Functions
| SparseArray (const U32 modulusSize=64)
| ~SparseArray ()
void | insert (T *pObject, U32 key)
T * | remove (U32 key)
T * | retrieve (U32 key)
void | clearTables ()

## Protected Attributes
U32 | mModulus
Node * | mSentryTables

## Constructor & Destructor Documentation

SparseArray | ( | const U32 | modulusSize = `64` | ) |
| inline

~SparseArray | ( |  | ) |
| inline

## Member Function Documentation

void clearTables | ( |  | ) |
| inline

void insert | ( | T * | pObject,
|  | U32 | key
| ) |  |
| inline

T * remove | ( | U32 | key | ) |
| inline

T * retrieve | ( | U32 | key | ) |
| inline

## Member Data Documentation

U32 mModulus
| protected

Node* mSentryTables
| protected

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

- collection/sparseArray.h