MyGUI
3.2.1
|
#include <MyGUI_IObject.h>
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 |
IObject () | |
virtual | ~IObject () |
Static Public Member Functions | |
static const std::string & | getClassTypeName () |
Definition at line 16 of file MyGUI_IObject.h.
typedef IObject MyGUI::IObject::RTTIBase |
Definition at line 18 of file MyGUI_IObject.h.
|
inline |
Definition at line 21 of file MyGUI_IObject.h.
|
inlinevirtual |
Definition at line 22 of file MyGUI_IObject.h.
|
inline |
Try to cast pointer to selected type. @param _throw If true throw exception when casting in wrong type, else return nullptr \
Definition at line 18 of file MyGUI_IObject.h.
|
inline |
Try to cast pointer to selected type. @param _throw If true throw exception when casting in wrong type, else return nullptr \
Definition at line 18 of file MyGUI_IObject.h.
|
inlinestatic |
Definition at line 18 of file MyGUI_IObject.h.
|
inlinevirtual |
Get type name as string
Reimplemented in MyGUI::EditTextStateInfo, MyGUI::RotatingSkinStateInfo, MyGUI::TileRectStateInfo, MyGUI::HScroll, MyGUI::Widget, MyGUI::MultiListBox, MyGUI::MenuControl, MyGUI::TabControl, MyGUI::ItemBox, MyGUI::ComboBox, MyGUI::ListBox, MyGUI::ResourceImageSet, MyGUI::Window, MyGUI::DDContainer, MyGUI::EditBox, MyGUI::ILayerNode, MyGUI::IResource, MyGUI::ControllerItem, MyGUI::EditText, MyGUI::ISubWidget, MyGUI::ControllerEdgeHide, MyGUI::MenuItem, MyGUI::SubSkin, MyGUI::Canvas, MyGUI::LayerNode, MyGUI::ProgressBar, MyGUI::ResourceTrueTypeFont, MyGUI::ScrollBar, MyGUI::ScrollView, MyGUI::TileRect, MyGUI::VScroll, MyGUI::ILayer, MyGUI::ImageBox, MyGUI::MultiListItem, MyGUI::ResourceSkin, MyGUI::Button, MyGUI::ControllerPosition, MyGUI::IFont, MyGUI::TabItem, MyGUI::SubSkinStateInfo, MyGUI::MenuBar, MyGUI::PopupMenu, MyGUI::SimpleText, MyGUI::TextBox, MyGUI::ControllerFadeAlpha, MyGUI::ISerializable, MyGUI::ISubWidgetText, MyGUI::PolygonalSkin, MyGUI::ResourceLayout, MyGUI::RotatingSkin, MyGUI::SharedLayer, MyGUI::ISubWidgetRect, MyGUI::OverlappedLayer, MyGUI::ResourceImageSetPointer, MyGUI::ResourceManualFont, MyGUI::IPointer, MyGUI::IStateInfo, MyGUI::MainSkin, MyGUI::ResourceManualPointer, and MyGUI::SharedLayerNode.
Definition at line 18 of file MyGUI_IObject.h.
|
inlinevirtual |
Compare with selected type
Reimplemented in MyGUI::EditTextStateInfo, MyGUI::RotatingSkinStateInfo, MyGUI::TileRectStateInfo, MyGUI::HScroll, MyGUI::Widget, MyGUI::MultiListBox, MyGUI::MenuControl, MyGUI::TabControl, MyGUI::ItemBox, MyGUI::ComboBox, MyGUI::ListBox, MyGUI::ResourceImageSet, MyGUI::Window, MyGUI::DDContainer, MyGUI::EditBox, MyGUI::ILayerNode, MyGUI::IResource, MyGUI::ControllerItem, MyGUI::EditText, MyGUI::ISubWidget, MyGUI::ControllerEdgeHide, MyGUI::MenuItem, MyGUI::SubSkin, MyGUI::Canvas, MyGUI::LayerNode, MyGUI::ProgressBar, MyGUI::ResourceTrueTypeFont, MyGUI::ScrollBar, MyGUI::ScrollView, MyGUI::TileRect, MyGUI::VScroll, MyGUI::ILayer, MyGUI::ImageBox, MyGUI::MultiListItem, MyGUI::ResourceSkin, MyGUI::Button, MyGUI::ControllerPosition, MyGUI::IFont, MyGUI::TabItem, MyGUI::SubSkinStateInfo, MyGUI::MenuBar, MyGUI::PopupMenu, MyGUI::SimpleText, MyGUI::TextBox, MyGUI::ControllerFadeAlpha, MyGUI::ISerializable, MyGUI::ISubWidgetText, MyGUI::PolygonalSkin, MyGUI::ResourceLayout, MyGUI::RotatingSkin, MyGUI::SharedLayer, MyGUI::ISubWidgetRect, MyGUI::OverlappedLayer, MyGUI::ResourceImageSetPointer, MyGUI::ResourceManualFont, MyGUI::IPointer, MyGUI::IStateInfo, MyGUI::MainSkin, MyGUI::ResourceManualPointer, and MyGUI::SharedLayerNode.
Definition at line 18 of file MyGUI_IObject.h.
|
inline |
Compare with selected type
Definition at line 18 of file MyGUI_IObject.h.