nux-0.9.46

NObjectType Struct Reference

#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 TCHARGetName () 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 TCHARm_Name
NObjectTypem_Super

Static Public Attributes

static const NObjectType Null_Type

Constructor & Destructor Documentation

NObjectType::NObjectType ( ) [inline]
NObjectType::NObjectType ( const TCHAR Name,
NObjectType Super 
) [inline]

Member Function Documentation

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.


Field Documentation

Referenced by GetName().


The documentation for this struct was generated from the following file: