Torque2D Reference
Loading...
Searching...
No Matches
ConcreteClassRep< T > Class Template Reference

#include <consoleObject.h>

Inheritance diagram for ConcreteClassRep< T >:

Public Member Functions

 ConcreteClassRep (const char *name, S32 netClassGroupMask, S32 netClassType, S32 netEventDir, AbstractClassRep *parent)
virtual AbstractClassRepgetContainerChildClass (const bool recurse)
virtual WriteCustomTamlSchema getCustomTamlSchema (void)
void init () const
ConsoleObjectcreate () const
 Wrap constructor.
Public Member Functions inherited from AbstractClassRep
 AbstractClassRep ()
virtual ~AbstractClassRep ()
S32 getClassId (U32 netClassGroup) const
const char * getClassName () const
NamespacegetNameSpace ()
AbstractClassRepgetNextClass ()
AbstractClassRepgetParentClass ()
bool isClass (AbstractClassRep *acr)
 Helper class to see if we are a given class, or a subclass thereof.
const FieldfindField (StringTableEntry fieldName) const
AbstractClassRepfindFieldRoot (StringTableEntry fieldName)
AbstractClassRepfindContainerChildRoot (AbstractClassRep *pChild)

Additional Inherited Members

Public Types inherited from AbstractClassRep
enum  ACRFieldTypes { StartGroupFieldType = 0xFFFFFFFD , EndGroupFieldType = 0xFFFFFFFE , DepricatedFieldType = 0xFFFFFFFF }
typedef bool(* SetDataNotify) (void *obj, const char *data)
 This is a function pointer typedef to support get/set callbacks for fields.
typedef const char *(* GetDataNotify) (void *obj, const char *data)
typedef bool(* WriteDataNotify) (void *obj, const char *pFieldName)
 This is a function pointer typedef to support optional writing for fields.
typedef void(* WriteCustomTamlSchema) (const AbstractClassRep *pClassRep, TiXmlElement *pParentElement)
 Allows the writing of a custom TAML schema.
typedef Vector< FieldFieldList
Static Public Member Functions inherited from AbstractClassRep
static void registerClassRep (AbstractClassRep *)
static AbstractClassRepfindClassRep (const char *in_pClassName)
static void initialize ()
static void destroyFieldValidators (AbstractClassRep::FieldList &mFieldList)
static U32 getClassCRC (U32 netClassGroup)
static AbstractClassRepgetClassList ()
Public Attributes inherited from AbstractClassRep
FieldList mFieldList
bool mDynamicGroupExpand
S32 mClassGroupMask
 Mask indicating in which NetGroups this object belongs.
S32 mClassType
 Stores the NetClass of this class.
S32 mNetEventDir
 Stores the NetDirection of this class.
S32 mClassId [NetClassGroupsCount]
 Stores the IDs assigned to this class for each group.
Static Public Attributes inherited from AbstractClassRep
static U32 NetClassCount [NetClassGroupsCount][NetClassTypesCount] = {{0, },}
static U32 NetClassBitSize [NetClassGroupsCount][NetClassTypesCount] = {{0, },}
Static Protected Member Functions inherited from AbstractClassRep
static ConsoleObjectcreate (const char *in_pClassName)
static ConsoleObjectcreate (const U32 groupId, const U32 typeId, const U32 in_classId)
Protected Attributes inherited from AbstractClassRep
const char * mClassName
AbstractClassRepnextClass
AbstractClassRepparentClass
NamespacemNamespace
Static Protected Attributes inherited from AbstractClassRep
static AbstractClassRep ** classTable [NetClassGroupsCount][NetClassTypesCount]
static AbstractClassRepclassLinkList = NULL
static U32 classCRC [NetClassGroupsCount] = {INITIAL_CRC_VALUE, }
static bool initialized = false

Constructor & Destructor Documentation

◆ ConcreteClassRep()

template<class T>
ConcreteClassRep ( const char * name,
S32 netClassGroupMask,
S32 netClassType,
S32 netEventDir,
AbstractClassRep * parent )
inline

Member Function Documentation

◆ create()

template<class T>
ConsoleObject * create ( ) const
inlinevirtual

Wrap constructor.

Implements AbstractClassRep.

◆ getContainerChildClass()

template<class T>
virtual AbstractClassRep * getContainerChildClass ( const bool recurse)
inlinevirtual

Implements AbstractClassRep.

◆ getCustomTamlSchema()

template<class T>
virtual WriteCustomTamlSchema getCustomTamlSchema ( void )
inlinevirtual

Implements AbstractClassRep.

◆ init()

template<class T>
void init ( ) const
inlinevirtual

Perform class specific initialization tasks.

Link namespaces, call initPersistFields() and consoleInit().

Implements AbstractClassRep.


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