Torque2D Reference
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Public Types | Public Member Functions | Public Attributes | Friends | List of all members
SimFieldDictionary Class Reference

Dictionary to keep track of dynamic fields on SimObject. More...

#include <simFieldDictionary.h>

Classes

struct  Entry
 

Public Types

enum  { HashTableSize = 19 }
 

Public Member Functions

const U32 getVersion () const
 
 SimFieldDictionary ()
 
 ~SimFieldDictionary ()
 
void setFieldValue (StringTableEntry slotName, const char *value)
 
const char * getFieldValue (StringTableEntry slotName)
 
void writeFields (SimObject *obj, Stream &strem, U32 tabStop)
 
void printFields (SimObject *obj)
 
void assignFrom (SimFieldDictionary *dict)
 

Public Attributes

EntrymHashTable [HashTableSize]
 

Friends

class SimFieldDictionaryIterator
 

Detailed Description

Dictionary to keep track of dynamic fields on SimObject.

Member Enumeration Documentation

anonymous enum
Enumerator
HashTableSize 

Constructor & Destructor Documentation

Member Function Documentation

void assignFrom ( SimFieldDictionary dict)
const char * getFieldValue ( StringTableEntry  slotName)
const U32 getVersion ( ) const
inline
void printFields ( SimObject obj)
void setFieldValue ( StringTableEntry  slotName,
const char *  value 
)
void writeFields ( SimObject obj,
Stream strem,
U32  tabStop 
)

Friends And Related Function Documentation

friend class SimFieldDictionaryIterator
friend

Member Data Documentation

Entry* mHashTable[HashTableSize]

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