Urho3D::TypeInfo Class Reference

Type info. More...

#include <Urho3D/Core/Object.h>

Collaboration diagram for Urho3D::TypeInfo:
[legend]

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 StringGetTypeName () const
 Return type name.
 
const TypeInfoGetBaseTypeInfo () const
 Return base type info.
 

Private Attributes

StringHash type_
 Type.
 
String typeName_
 Type name.
 
const TypeInfobaseTypeInfo_
 Base class type info.
 

Detailed Description

Type info.


The documentation for this class was generated from the following files:
  • Source/Urho3D/Core/Object.h
  • Source/Urho3D/Core/Object.cpp