MyGUI 3.4.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 ()=default | |
virtual | ~IObject ()=default |
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.
|
default |
|
virtualdefault |
|
inline |
Try to cast pointer to selected type.
_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.
_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::Button, MyGUI::Canvas, MyGUI::ComboBox, MyGUI::SubSkinStateInfo, MyGUI::TileRectStateInfo, MyGUI::RotatingSkinStateInfo, MyGUI::EditTextStateInfo, MyGUI::ControllerEdgeHide, MyGUI::ControllerFadeAlpha, MyGUI::ControllerItem, MyGUI::ControllerPosition, MyGUI::ControllerRepeatClick, MyGUI::DDContainer, MyGUI::VScroll, MyGUI::HScroll, MyGUI::EditBox, MyGUI::EditText, MyGUI::IFont, MyGUI::ILayer, MyGUI::ILayerNode, MyGUI::ImageBox, MyGUI::IPointer, MyGUI::IResource, MyGUI::ISerializable, MyGUI::IStateInfo, MyGUI::ISubWidget, MyGUI::ISubWidgetRect, MyGUI::ISubWidgetText, MyGUI::ItemBox, MyGUI::LayerNode, MyGUI::ListBox, MyGUI::MainSkin, MyGUI::MenuBar, MyGUI::MenuControl, MyGUI::MenuItem, MyGUI::MultiListBox, MyGUI::MultiListItem, MyGUI::OverlappedLayer, MyGUI::PolygonalSkin, MyGUI::PopupMenu, MyGUI::ProgressBar, MyGUI::ResourceImageSet, MyGUI::ResourceImageSetPointer, MyGUI::ResourceLayout, MyGUI::ResourceManualFont, MyGUI::ResourceManualPointer, MyGUI::ResourceSkin, MyGUI::ResourceTrueTypeFont, MyGUI::RotatingSkin, MyGUI::ScrollBar, MyGUI::ScrollView, MyGUI::SharedLayer, MyGUI::SharedLayerNode, MyGUI::SimpleText, MyGUI::SubSkin, MyGUI::TabControl, MyGUI::TabItem, MyGUI::TextBox, MyGUI::TileRect, MyGUI::Widget, and MyGUI::Window.
Definition at line 18 of file MyGUI_IObject.h.
|
inline |
Compare with selected type
Definition at line 18 of file MyGUI_IObject.h.
|
inlinevirtual |
Compare with selected type
Reimplemented in MyGUI::Button, MyGUI::Canvas, MyGUI::ComboBox, MyGUI::SubSkinStateInfo, MyGUI::TileRectStateInfo, MyGUI::RotatingSkinStateInfo, MyGUI::EditTextStateInfo, MyGUI::ControllerEdgeHide, MyGUI::ControllerFadeAlpha, MyGUI::ControllerItem, MyGUI::ControllerPosition, MyGUI::ControllerRepeatClick, MyGUI::DDContainer, MyGUI::VScroll, MyGUI::HScroll, MyGUI::EditBox, MyGUI::EditText, MyGUI::IFont, MyGUI::ILayer, MyGUI::ILayerNode, MyGUI::ImageBox, MyGUI::IPointer, MyGUI::IResource, MyGUI::ISerializable, MyGUI::IStateInfo, MyGUI::ISubWidget, MyGUI::ISubWidgetRect, MyGUI::ISubWidgetText, MyGUI::ItemBox, MyGUI::LayerNode, MyGUI::ListBox, MyGUI::MainSkin, MyGUI::MenuBar, MyGUI::MenuControl, MyGUI::MenuItem, MyGUI::MultiListBox, MyGUI::MultiListItem, MyGUI::OverlappedLayer, MyGUI::PolygonalSkin, MyGUI::PopupMenu, MyGUI::ProgressBar, MyGUI::ResourceImageSet, MyGUI::ResourceImageSetPointer, MyGUI::ResourceLayout, MyGUI::ResourceManualFont, MyGUI::ResourceManualPointer, MyGUI::ResourceSkin, MyGUI::ResourceTrueTypeFont, MyGUI::RotatingSkin, MyGUI::ScrollBar, MyGUI::ScrollView, MyGUI::SharedLayer, MyGUI::SharedLayerNode, MyGUI::SimpleText, MyGUI::SubSkin, MyGUI::TabControl, MyGUI::TabItem, MyGUI::TextBox, MyGUI::TileRect, MyGUI::Widget, and MyGUI::Window.
Definition at line 18 of file MyGUI_IObject.h.