Torque3D Documentation / _generateds / SimIdDictionary

SimIdDictionary

Engine/source/console/simDictionary.h

Map of ID's to SimObjects.

More...

Private Types

enum
_Anonymous_ {
  DefaultTableSize = 4096
  TableBitMask = 4095
}

Private Attributes

table [DefaultTableSize]

Detailed Description

Map of ID's to SimObjects.

Provides fast lookup for ID->object and for fast removal of an object given object*

Private Types

@61

Enumerator

DefaultTableSize = 4096
TableBitMask = 4095

Private Attributes

void * mutex 
SimObject * table [DefaultTableSize]

Public Functions

SimIdDictionary()

~SimIdDictionary()

find(S32 id)

insert(SimObject * obj)

remove(SimObject * obj)