21 const TCHAR* a_szName,
34 const TCHAR* a_szName,
44 : m_szName( a_szName ), m_pParent(
TNULL ), m_pPrevious(
TNULL ), m_pLastChildren(
TNULL ), m_fnCreate( a_fnCreate ), m_fnCreateInPlace( a_fnCreateInPlace ), m_fnInitialise( a_fnInitialise ), m_fnDeinitialise( a_fnUnitialise ), m_uiVersionMajor( a_uiVersionMajor ), m_uiVersionMinor( a_uiVersionMinor ), m_uiClassSize( a_uiClassSize ), m_uiClassAlignment( a_uiClassAlignment ), m_bInitialised(
TFALSE )
75 const TCHAR* m_szName;
#define TOSHI_NAMESPACE_START
#define TOSHI_NAMESPACE_END
TObject *(*)() CreateObject_t
class TObject * CreateObject() const
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)
TBOOL IsInitialized() const
TUINT16 GetVersionMinor() const
TUINT16 GetVersionMajor() const
static TClass * Find(const TCHAR *name, TClass *parent=TNULL)
void RecurseTree(RecurseTreeBaseBeginCb_t fBaseBegin, RecurseTreeBaseEndCb_t fBaseEnd, RecurseTreeCheck_t fCheck, void *custom)
TBOOL(*)(TClass *, void *) RecurseTreeCheck_t
void(*)(TClass *, void *) RecurseTreeBaseEndCb_t
TBOOL IsExactly(TClass *toCompare) const
TBOOL operator==(const TClass *other) const
TBOOL IsA(TClass *pClass)
static TBOOL TryInitialize(TClass *tClass)
void(*)(TClass *, void *) RecurseTreeBaseBeginCb_t
TUINT32 GetMaxAlignmentOfDerivedClasses()
static TClass * FindRecurse(const TCHAR *const &name, TClass *parent, TBOOL hasPrevious)
const TCHAR * GetName() const
void RecurseTree2(RecurseTreeBaseBeginCb_t fBaseBegin, RecurseTreeBaseEndCb_t fBaseEnd, RecurseTreeCheck_t fCheck, void *custom)
TUINT32 GetMaxSizeOfDerivedClasses()
TObject *(*)(void *a_pPtr) CreateObjectInPlace_t
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)