#include <TClass.h>
Public Types | |
using | CreateObject_t = TObject* (*)() |
using | CreateObjectInPlace_t = TObject* (*)( void* a_pPtr ) |
using | Initialise_t = void ( * )() |
using | Deinitialise_t = void ( * )() |
using | RecurseTreeCheck_t = TBOOL ( * )( TClass*, void* ) |
using | RecurseTreeBaseBeginCb_t = void ( * )( TClass*, void* ) |
using | RecurseTreeBaseEndCb_t = void ( * )( TClass*, void* ) |
Public Member Functions | |
TClass (const TCHAR *a_szName, TClass *a_pParentClass, CreateObject_t a_fnCreate, CreateObjectInPlace_t a_fnCreateInPlace, Initialise_t a_fnInitialise, Deinitialise_t a_fnUnitialise, TUINT16 a_uiVersionMajor, TUINT16 a_uiVersionMinor, TUINT32 a_uiClassSize, TUINT32 a_uiClassAlignment) | |
constexpr | TClass (const TCHAR *a_szName, CreateObject_t a_fnCreate, CreateObjectInPlace_t a_fnCreateInPlace, Initialise_t a_fnInitialise, Deinitialise_t a_fnUnitialise, TUINT16 a_uiVersionMajor, TUINT16 a_uiVersionMinor, TUINT32 a_uiClassSize, TUINT32 a_uiClassAlignment) |
~TClass () | |
void | Initialize () |
void | RecurseTree (RecurseTreeBaseBeginCb_t fBaseBegin, RecurseTreeBaseEndCb_t fBaseEnd, RecurseTreeCheck_t fCheck, void *custom) |
void | RecurseTree2 (RecurseTreeBaseBeginCb_t fBaseBegin, RecurseTreeBaseEndCb_t fBaseEnd, RecurseTreeCheck_t fCheck, void *custom) |
class TObject * | CreateObject () const |
TBOOL | IsA (TClass *pClass) |
TBOOL | IsExactly (TClass *toCompare) const |
TBOOL | IsInitialized () const |
TClass * | GetParent () |
const TCHAR * | GetName () const |
TUINT16 | GetVersionMajor () const |
TUINT16 | GetVersionMinor () const |
TUINT32 | GetMaxSizeOfDerivedClasses () |
TUINT32 | GetMaxAlignmentOfDerivedClasses () |
TBOOL | operator== (const TClass *other) const |
Static Public Member Functions | |
static TBOOL | TryInitialize (TClass *tClass) |
static TClass * | FindRecurse (const TCHAR *const &name, TClass *parent, TBOOL hasPrevious) |
static TClass * | Find (const TCHAR *name, TClass *parent=TNULL) |
using TClass::CreateObject_t = TObject* (*)() |
using TClass::CreateObjectInPlace_t = TObject* (*)( void* a_pPtr ) |
using TClass::Deinitialise_t = void ( * )() |
using TClass::Initialise_t = void ( * )() |
using TClass::RecurseTreeBaseBeginCb_t = void ( * )( TClass*, void* ) |
using TClass::RecurseTreeBaseEndCb_t = void ( * )( TClass*, void* ) |
using TClass::RecurseTreeCheck_t = TBOOL ( * )( TClass*, void* ) |
TClass::TClass | ( | const TCHAR * | a_szName, |
TClass * | a_pParentClass, | ||
CreateObject_t | a_fnCreate, | ||
CreateObjectInPlace_t | a_fnCreateInPlace, | ||
Initialise_t | a_fnInitialise, | ||
Deinitialise_t | a_fnUnitialise, | ||
TUINT16 | a_uiVersionMajor, | ||
TUINT16 | a_uiVersionMinor, | ||
TUINT32 | a_uiClassSize, | ||
TUINT32 | a_uiClassAlignment ) |
Definition at line 14 of file TClass.cpp.
|
inlineconstexpr |
Definition at line 33 of file TClass.h.
TClass::~TClass | ( | ) |
TObject * TClass::CreateObject | ( | ) | const |
Definition at line 116 of file TClass.cpp.
Definition at line 110 of file TClass.cpp.
|
static |
Definition at line 82 of file TClass.cpp.
TUINT32 TClass::GetMaxAlignmentOfDerivedClasses | ( | ) |
Definition at line 170 of file TClass.cpp.
TUINT32 TClass::GetMaxSizeOfDerivedClasses | ( | ) |
Definition at line 150 of file TClass.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
void TClass::Initialize | ( | ) |
Definition at line 46 of file TClass.cpp.
Definition at line 126 of file TClass.cpp.
|
inline |
void TClass::RecurseTree | ( | RecurseTreeBaseBeginCb_t | fBaseBegin, |
RecurseTreeBaseEndCb_t | fBaseEnd, | ||
RecurseTreeCheck_t | fCheck, | ||
void * | custom ) |
Definition at line 55 of file TClass.cpp.
void TClass::RecurseTree2 | ( | RecurseTreeBaseBeginCb_t | fBaseBegin, |
RecurseTreeBaseEndCb_t | fBaseEnd, | ||
RecurseTreeCheck_t | fCheck, | ||
void * | custom ) |
Definition at line 67 of file TClass.cpp.
Definition at line 190 of file TClass.cpp.