class
IReflectable
Interface implemented by classes that provide run time type information.
Public
Methods
~IReflectable
virtual ~IReflectable() noexcept = default
IsDerivedFrom
Returns true if current RTTI class is derived from (Or if it is the same type as base).
GetTypeId
u32 GetTypeId() const
Returns an unique type identifier of the class.
GetTypeName
const String &GetTypeName() const
Returns the type name of the class.
GetReflectableObjectFlags
ReflectableObjectFlags &GetReflectableObjectFlags()
Returns mutable flags specific to reflectable objects.
GetReflectableObjectFlags
const ReflectableObjectFlags &GetReflectableObjectFlags() const
Returns flags specific to reflectable objects.
staticCreateInstanceFromTypeId
Creates an empty instance of a class from a type identifier.
staticGetAllRttiTypes
Returns all available RTTI types.
staticGetRTTITypeFromTypeId
Returns class' RTTI type from type id.
Internal
Methods
staticRegisterRTTITypeInternal
Called by each type implementing RTTITypeBase, on program load.
staticIsTypeIdDuplicateInternal
static bool IsTypeIdDuplicateInternal(u32 typeId)
Checks if the provided type id is unique.
Private
Fields
mReflectableObjectFlags
ReflectableObjectFlags mReflectableObjectFlags