U3D
Open-source, cross-platform 2D and 3D game engine built in C++
Loading...
Searching...
No Matches
Urho3D::TypeInfo Class Reference

#include </var/dev/u3d/stable/Source/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 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.
 

Detailed Description

Type info.


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