nux-0.9.48
|
#include <NuxCore/ObjectType.h>
Public Member Functions | |
NObjectType () | |
NObjectType (const TCHAR *Name, NObjectType *Super) | |
bool | operator== (const NObjectType &Type) const |
Return true is this has the same type as the argument type. | |
bool | operator!= (const NObjectType &Type) const |
Return true is this has is of a different type than the argument type. | |
const TCHAR * | GetName () const |
Return the name of the type. | |
bool | IsObjectType (const NObjectType &Type) const |
Return true is this has the same type as the argument type. | |
bool | IsDerivedFromType (const NObjectType &Type) const |
Return true if this has the same type as the argument type or is derived from it. | |
unsigned int | SubClassDepth () const |
Data Fields | |
const TCHAR * | m_Name |
NObjectType * | m_Super |
Static Public Attributes | |
static const NObjectType | Null_Type |
NObjectType::NObjectType | ( | ) | [inline] |
NObjectType::NObjectType | ( | const TCHAR * | Name, |
NObjectType * | Super | ||
) | [inline] |
const TCHAR* NObjectType::GetName | ( | ) | const [inline] |
Return the name of the type.
References m_Name.
bool NObjectType::IsDerivedFromType | ( | const NObjectType & | Type | ) | const [inline] |
Return true if this has the same type as the argument type or is derived from it.
References m_Super.
bool NObjectType::IsObjectType | ( | const NObjectType & | Type | ) | const [inline] |
Return true is this has the same type as the argument type.
Referenced by operator!=(), and operator==().
bool NObjectType::operator!= | ( | const NObjectType & | Type | ) | const [inline] |
Return true is this has is of a different type than the argument type.
References IsObjectType().
bool NObjectType::operator== | ( | const NObjectType & | Type | ) | const [inline] |
Return true is this has the same type as the argument type.
References IsObjectType().
unsigned int NObjectType::SubClassDepth | ( | ) | const [inline] |
References m_Super.
const TCHAR* NObjectType::m_Name |
Referenced by GetName().
Referenced by IsDerivedFromType(), and SubClassDepth().
const NObjectType NObjectType::Null_Type [static] |