Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::IRttiHelper Class Referenceabstract

#include <RTTI.h>

Inherited by AZ::Internal::ExternalVariadicRttiHelper< T, TArgs >, AZ::Internal::RttiHelper< T >, and AZ::Internal::TypeInfoOnlyRttiHelper< T >.

Public Member Functions

virtual AZ::TypeId GetActualUuid (const void *instance) const =0
 
virtual const char * GetActualTypeName (const void *instance) const =0
 
virtual const void * Cast (const void *instance, const AZ::TypeId &asType) const =0
 
virtual void * Cast (void *instance, const AZ::TypeId &asType) const =0
 
virtual AZ::TypeId GetTypeId () const =0
 
virtual AZ::TypeId GetGenericTypeId () const =0
 
virtual bool IsTypeOf (const AZ::TypeId &id) const =0
 
virtual bool IsAbstract () const =0
 
virtual bool ProvidesFullRtti () const =0
 
virtual void EnumHierarchy (RTTI_EnumCallback callback, void *userData=nullptr) const =0
 
virtual TypeTraits GetTypeTraits () const =0
 
virtual size_t GetTypeSize () const =0
 
template<typename TargetType >
AZ_FORCE_INLINE const TargetType * Cast (const void *instance)
 
template<typename TargetType >
AZ_FORCE_INLINE TargetType * Cast (void *instance)
 
template<typename QueryType >
AZ_FORCE_INLINE bool IsTypeOf ()
 

Detailed Description

Interface for resolving RTTI information when no compile-time type information is available. The serializer retrieves an instance of the helper during type registration (when type information is still available) and uses it to get RTTI information during serialization.


The documentation for this class was generated from the following file: