Struct TRuntimeClassId

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

std::shared_ptr<CObject> createObject() const
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.