MyGUI  3.2.1
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes
MyGUI::ILayer Class Referenceabstract

#include <MyGUI_ILayer.h>

+ Inheritance diagram for MyGUI::ILayer:

Public Types

typedef RTTIBase Base
 
typedef ILayer 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
 
virtual bool isType (const std::type_info &_type) const
 
template<typename Type >
bool isType () const
 
 ILayer ()
 
virtual ~ILayer ()
 
const std::string & getName () const
 
virtual ILayerNodecreateChildItemNode ()=0
 
virtual void destroyChildItemNode (ILayerNode *_node)=0
 
virtual void upChildItemNode (ILayerNode *_node)=0
 
virtual EnumeratorILayerNode getEnumerator () const =0
 
virtual size_t getLayerNodeCount () const =0
 
virtual ILayerNodegetLayerNodeAt (size_t _index) const =0
 
virtual ILayerItemgetLayerItemByPoint (int _left, int _top) const =0
 
virtual IntPoint getPosition (int _left, int _top) const =0
 
virtual const IntSizegetSize () const =0
 
virtual void renderToTarget (IRenderTarget *_target, bool _update)=0
 
virtual void resizeView (const IntSize &_viewSize)=0
 
- Public Member Functions inherited from MyGUI::ISerializable
template<typename Type >
bool isType () const
 
 ISerializable ()
 
virtual ~ISerializable ()
 
virtual void serialization (xml::ElementPtr _node, Version _version)
 
virtual void deserialization (xml::ElementPtr _node, Version _version)
 
- Public Member Functions inherited from MyGUI::IObject
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 ()
 
- 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 ()
 

Protected Attributes

std::string mName
 

Detailed Description

Definition at line 21 of file MyGUI_ILayer.h.

Member Typedef Documentation

Definition at line 24 of file MyGUI_ILayer.h.

Definition at line 24 of file MyGUI_ILayer.h.

Constructor & Destructor Documentation

MyGUI::ILayer::ILayer ( )
inline

Definition at line 27 of file MyGUI_ILayer.h.

virtual MyGUI::ILayer::~ILayer ( )
inlinevirtual

Definition at line 28 of file MyGUI_ILayer.h.

Member Function Documentation

virtual ILayerNode* MyGUI::ILayer::createChildItemNode ( )
pure virtual
virtual void MyGUI::ILayer::destroyChildItemNode ( ILayerNode _node)
pure virtual
static const std::string& MyGUI::ILayer::getClassTypeName ( )
inlinestatic

Definition at line 24 of file MyGUI_ILayer.h.

virtual EnumeratorILayerNode MyGUI::ILayer::getEnumerator ( ) const
pure virtual
virtual ILayerItem* MyGUI::ILayer::getLayerItemByPoint ( int  _left,
int  _top 
) const
pure virtual
virtual ILayerNode* MyGUI::ILayer::getLayerNodeAt ( size_t  _index) const
pure virtual
virtual size_t MyGUI::ILayer::getLayerNodeCount ( ) const
pure virtual
const std::string& MyGUI::ILayer::getName ( void  ) const
inline

Definition at line 31 of file MyGUI_ILayer.h.

virtual IntPoint MyGUI::ILayer::getPosition ( int  _left,
int  _top 
) const
pure virtual
virtual const IntSize& MyGUI::ILayer::getSize ( ) const
pure virtual
virtual const std::string& MyGUI::ILayer::getTypeName ( ) const
inlinevirtual

Get type name as string

Reimplemented from MyGUI::ISerializable.

Reimplemented in MyGUI::SharedLayer, and MyGUI::OverlappedLayer.

Definition at line 24 of file MyGUI_ILayer.h.

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

Compare with selected type

Definition at line 24 of file MyGUI_ILayer.h.

virtual bool MyGUI::ILayer::isType ( const std::type_info &  _type) const
inlinevirtual

Compare with selected type

Reimplemented from MyGUI::ISerializable.

Reimplemented in MyGUI::SharedLayer, and MyGUI::OverlappedLayer.

Definition at line 24 of file MyGUI_ILayer.h.

virtual void MyGUI::ILayer::renderToTarget ( IRenderTarget _target,
bool  _update 
)
pure virtual
virtual void MyGUI::ILayer::resizeView ( const IntSize _viewSize)
pure virtual
virtual void MyGUI::ILayer::upChildItemNode ( ILayerNode _node)
pure virtual

Field Documentation

std::string MyGUI::ILayer::mName
protected

Definition at line 66 of file MyGUI_ILayer.h.


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