This is a sample class to document the RTTI functions inserted into classes by the YI_TYPE_BASES(...) macro.
#include <utility/YiRtti.h>
Public Member Functions | |
const CYIRuntimeTypeInfo & | GetRuntimeTypeInfo () const |
Static Public Member Functions | |
static const CYIRuntimeTypeInfoTyped< RTTISampleClass, Base1, Base2, Base3 > & | GetClassTypeInfo () |
|
static |
Returns the CYIRuntimeTypeInfoTyped object (which is a subclass of CYIRuntimeTypeInfo) associated with this class.
const CYIRuntimeTypeInfo& RTTISampleClass::GetRuntimeTypeInfo | ( | ) | const |
Returns the CYIRuntimeTypeInfo object associated with this object. This function returns the runtime type associated with a specific object.
Example: