MyGUI::IObject Class Reference

#include <MyGUI_IObject.h>

Inheritance diagram for MyGUI::IObject:
[legend]

Public Types

typedef IObject RTTIBase

Public Member Functions

virtual const std::string & getTypeName () const
virtual bool isType (const std::type_info &_type) const
template<typename Type>
bool isType () const
template<typename Type>
Type * castType (bool _throw=true)
template<typename Type>
const Type * castType (bool _throw=true) const
virtual ~IObject ()

Static Public Member Functions

static const std::string & getClassTypeName ()

Detailed Description

Definition at line 32 of file MyGUI_IObject.h.


Member Typedef Documentation


Constructor & Destructor Documentation

virtual MyGUI::IObject::~IObject (  )  [inline, virtual]

Definition at line 41 of file MyGUI_IObject.h.


Member Function Documentation

static const std::string& MyGUI::IObject::getClassTypeName (  )  [inline, static]

virtual const std::string& MyGUI::IObject::getTypeName (  )  const [inline, virtual]

virtual bool MyGUI::IObject::isType ( const std::type_info &  _type  )  const [inline, virtual]

template<typename Type>
bool MyGUI::IObject::isType (  )  const [inline]

template<typename Type>
Type* MyGUI::IObject::castType ( bool  _throw = true  )  [inline]

Try to cast pointer to selected type. \ @param _throw If true throw exception when casting in wrong type, else return nullptr \

Reimplemented in MyGUI::Widget.

Definition at line 36 of file MyGUI_IObject.h.

template<typename Type>
const Type* MyGUI::IObject::castType ( bool  _throw = true  )  const [inline]

Try to cast pointer to selected type. \ @param _throw If true throw exception when casting in wrong type, else return nullptr \

Reimplemented in MyGUI::Widget.

Definition at line 38 of file MyGUI_IObject.h.


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

Generated on Thu Jan 6 08:30:23 2011 for MyGUI by  doxygen 1.5.6