Crazy Eddies GUI System  0.7.2
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CEGUI::ChainedXMLHandler Class Referenceabstract

Abstract XMLHandler based class. More...

Inherits CEGUI::XMLHandler.

Inherited by CEGUI::Animation_xmlHandler, CEGUI::AnimationAffectorHandler, CEGUI::AnimationDefinitionHandler, CEGUI::AnimationKeyFrameHandler, CEGUI::AnimationSubscriptionHandler, and CEGUI::Falagard_xmlHandler.

+ Collaboration diagram for CEGUI::ChainedXMLHandler:

Public Member Functions

void elementStart (const String &element, const XMLAttributes &attributes)
 Method called to notify the handler at the start of each XML element encountered. More...
 
void elementEnd (const String &element)
 Method called to notify the handler at the end of each XML element encountered. More...
 
bool completed () const
 returns whether this chained handler has completed.
 
- Public Member Functions inherited from CEGUI::XMLHandler
 XMLHandler (void)
 XMLHandler base class constructor.
 
virtual ~XMLHandler (void)
 XMLHandler base class destructor.
 
virtual void text (const String &text)
 Method called to notify text node, several successiv text node are agregated. More...
 

Protected Member Functions

virtual void elementStartLocal (const String &element, const XMLAttributes &attributes)=0
 Function that handles elements locally (used at end of handler chain)
 
virtual void elementEndLocal (const String &element)=0
 Function that handles elements locally (used at end of handler chain)
 
void cleanupChainedHandler ()
 clean up any chained handler.
 

Protected Attributes

ChainedXMLHandlerd_chainedHandler
 chained xml handler object.
 
bool d_completed
 is the chaind handler completed.
 

Detailed Description

Abstract XMLHandler based class.

Member Function Documentation

void CEGUI::ChainedXMLHandler::elementEnd ( const String element)
virtual

Method called to notify the handler at the end of each XML element encountered.

Parameters
elementString object holding the name of the element that is ending.
Returns
Nothing.

Reimplemented from CEGUI::XMLHandler.

void CEGUI::ChainedXMLHandler::elementStart ( const String element,
const XMLAttributes attributes 
)
virtual

Method called to notify the handler at the start of each XML element encountered.

Parameters
elementString object holding the name of the element that is starting.
attributesAn XMLAttributes object holding the collection of attributes specified for the element.
Returns
Nothing.

Reimplemented from CEGUI::XMLHandler.