Struct TRuntimeClassId
Defined in File CObject.h
Struct Documentation
-
struct TRuntimeClassId
A structure that holds runtime class type information. Use CLASS_ID(<class_name>) to get a reference to the class_name’s TRuntimeClassId descriptor.
Public Types
-
using Ptr = safe_ptr<TRuntimeClassId>
Public Functions
-
bool derivedFrom(const TRuntimeClassId *pBaseClass) const
-
bool derivedFrom(const char *pBaseClass_name) const
Public Members
-
const char *className = nullptr
-
std::shared_ptr<CObject> (*ptrCreateObject)() = nullptr
Create an object of the related class, or nullptr if it is virtual.
-
const TRuntimeClassId *(*getBaseClass)() = nullptr
Gets the base class runtime id.
-
using Ptr = safe_ptr<TRuntimeClassId>