SimIdDictionary
Engine/source/console/simDictionary.h
Map of ID's to SimObjects.
Private Types
enum
_Anonymous_ { DefaultTableSize = 4096 TableBitMask = 4095 }
Public Functions
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)