Dry
|
Type info. More...
#include <Dry/Core/Object.h>
Public Member Functions | |
TypeInfo (const char *typeName, const TypeInfo *baseTypeInfo) | |
Construct. | |
~TypeInfo () | |
Destruct. | |
bool | IsTypeOf (StringHash type) const |
Check current type is type of specified type. | |
bool | IsTypeOf (const TypeInfo *typeInfo) const |
Check current type is type of specified type. | |
template<typename T > | |
bool | IsTypeOf () const |
Check current type is type of specified class type. | |
StringHash | GetType () const |
Return type. | |
const String & | GetTypeName () const |
Return type name. | |
const TypeInfo * | GetBaseTypeInfo () const |
Return base type info. | |
Private Attributes | |
StringHash | type_ |
Type. | |
String | typeName_ |
Type name. | |
const TypeInfo * | baseTypeInfo_ |
Base class type info. | |
Type info.