Crazy Eddies GUI System  0.7.2
Classes | Public Member Functions | Static Public Attributes | List of all members
CEGUI::Config_xmlHandler Class Reference

Handler class used to parse the Configuration XML file. More...

+ Inheritance diagram for CEGUI::Config_xmlHandler:
+ Collaboration diagram for CEGUI::Config_xmlHandler:

Public Member Functions

 Config_xmlHandler ()
 Constructor.
 
 ~Config_xmlHandler ()
 Destructor.
 
void initialiseXMLParser () const
 Initialise the CEGUI XMLParser according to info parsed from config.
 
void initialiseImageCodec () const
 Initialise the CEGUI ImageCodec according to info parsed from config.
 
void initialiseLogger (const String &default_filename) const
 Initialise the CEGUI Logger according to info parsed from config.
 
void initialiseResourceGroupDirectories () const
 Set resource group dirs read from the config. (DefaultResourceProvider only).
 
void initialiseDefaultResourceGroups () const
 Set default resource groups according to those in the config.
 
void loadAutoResources () const
 Auto-load all resources specified in the config.
 
void initialiseDefaultFont () const
 initialise the system default font according to the config.
 
void initialiseDefaultMouseCursor () const
 initialise the system default mouse cursor image according to the config.
 
void initialiseDefaulTooltip () const
 initialise the system default tooltip according to the config.
 
void initialiseDefaultGUISheet () const
 initialise the initial / default GUI Sheet according to the config.
 
void executeInitScript () const
 execute the init script as specified in the config.
 
const StringgetTerminateScriptName () const
 return the name of the terminate script from the config (hacky!)
 
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...
 
- 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...
 

Static Public Attributes

static const String CEGUIConfigSchemaName
 Name of xsd schema file used for validation.
 
static const String CEGUIConfigElement
 
static const String LoggingElement
 
static const String AutoLoadElement
 
static const String ResourceDirectoryElement
 
static const String DefaultResourceGroupElement
 
static const String ScriptingElement
 
static const String XMLParserElement
 
static const String ImageCodecElement
 
static const String DefaultFontElement
 
static const String DefaultMouseCursorElement
 
static const String DefaultTooltipElement
 
static const String DefaultGUISheetElement
 
static const String FilenameAttribute
 
static const String LevelAttribute
 
static const String TypeAttribute
 
static const String GroupAttribute
 
static const String PatternAttribute
 
static const String DirectoryAttribute
 
static const String InitScriptAttribute
 
static const String TerminateScriptAttribute
 
static const String ImagesetAttribute
 
static const String ImageAttribute
 
static const String NameAttribute
 

Detailed Description

Handler class used to parse the Configuration XML file.

Member Function Documentation

void CEGUI::Config_xmlHandler::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::Config_xmlHandler::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.