MyGUI 3.4.1
Public Types | Public Member Functions | Static Public Member Functions
MyGUI::TileRectStateInfo Class Reference

#include <MyGUI_CommonStateInfo.h>

Inheritance diagram for MyGUI::TileRectStateInfo:
Inheritance graph
[legend]

Public Types

typedef RTTIBase Base
 
typedef TileRectStateInfo RTTIBase
 
- Public Types inherited from MyGUI::IStateInfo
typedef RTTIBase Base
 
typedef IStateInfo RTTIBase
 
- Public Types inherited from MyGUI::ISerializable
typedef RTTIBase Base
 
typedef ISerializable RTTIBase
 
- Public Types inherited from MyGUI::IObject
typedef IObject RTTIBase
 

Public Member Functions

virtual const std::string & getTypeName () const override
 
virtual bool isType (const std::type_info &_type) const override
 
template<typename Type >
bool isType () const
 
 TileRectStateInfo ()
 
const FloatRectgetRect () const
 
const IntSizegetTileSize () const
 
bool getTileH () const
 
bool getTileV () const
 
- Public Member Functions inherited from MyGUI::IStateInfo
virtual const std::string & getTypeName () const override
 
virtual bool isType (const std::type_info &_type) const override
 
template<typename Type >
bool isType () const
 
- Public Member Functions inherited from MyGUI::ISerializable
virtual const std::string & getTypeName () const override
 
virtual bool isType (const std::type_info &_type) const override
 
template<typename Type >
bool isType () const
 
virtual void serialization (xml::ElementPtr _node, Version _version)
 
virtual void deserialization (xml::ElementPtr _node, Version _version)
 
- Public Member Functions inherited from MyGUI::IObject
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 ()
 
- Static Public Member Functions inherited from MyGUI::IStateInfo
static const std::string & getClassTypeName ()
 
- Static Public Member Functions inherited from MyGUI::ISerializable
static const std::string & getClassTypeName ()
 
- Static Public Member Functions inherited from MyGUI::IObject
static const std::string & getClassTypeName ()
 

Detailed Description

Definition at line 50 of file MyGUI_CommonStateInfo.h.

Member Typedef Documentation

◆ Base

Definition at line 53 of file MyGUI_CommonStateInfo.h.

◆ RTTIBase

Definition at line 53 of file MyGUI_CommonStateInfo.h.

Constructor & Destructor Documentation

◆ TileRectStateInfo()

MyGUI::TileRectStateInfo::TileRectStateInfo ( )
inline

Definition at line 56 of file MyGUI_CommonStateInfo.h.

Member Function Documentation

◆ getClassTypeName()

static const std::string & MyGUI::TileRectStateInfo::getClassTypeName ( )
inlinestatic

Definition at line 53 of file MyGUI_CommonStateInfo.h.

◆ getRect()

const FloatRect & MyGUI::TileRectStateInfo::getRect ( ) const
inline

Definition at line 62 of file MyGUI_CommonStateInfo.h.

◆ getTileH()

bool MyGUI::TileRectStateInfo::getTileH ( ) const
inline

Definition at line 72 of file MyGUI_CommonStateInfo.h.

◆ getTileSize()

const IntSize & MyGUI::TileRectStateInfo::getTileSize ( ) const
inline

Definition at line 67 of file MyGUI_CommonStateInfo.h.

◆ getTileV()

bool MyGUI::TileRectStateInfo::getTileV ( ) const
inline

Definition at line 77 of file MyGUI_CommonStateInfo.h.

◆ getTypeName()

virtual const std::string & MyGUI::TileRectStateInfo::getTypeName ( ) const
inlineoverridevirtual

Get type name as string

Reimplemented from MyGUI::IStateInfo.

Definition at line 53 of file MyGUI_CommonStateInfo.h.

◆ isType() [1/2]

template<typename Type >
bool MyGUI::TileRectStateInfo::isType ( ) const
inline

Compare with selected type

Definition at line 53 of file MyGUI_CommonStateInfo.h.

◆ isType() [2/2]

virtual bool MyGUI::TileRectStateInfo::isType ( const std::type_info &  _type) const
inlineoverridevirtual

Compare with selected type

Reimplemented from MyGUI::IStateInfo.

Definition at line 53 of file MyGUI_CommonStateInfo.h.


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