Crazy Eddie's GUI System
${CEGUI_VERSION}
|
Implementation of XMLParser using Expat. More...
Public Member Functions | |
void | parseXML (XMLHandler &handler, const RawDataContainer &source, const String &schemaName) |
abstract method which initiates parsing of an XML. More... | |
void | parseXML (XMLHandler &handler, const RawDataContainer &source, const String &schemaName) |
abstract method which initiates parsing of an XML. More... | |
![]() | |
XMLParser (void) | |
XMLParser base class constructor. | |
virtual | ~XMLParser (void) |
XMLParser base class destructor. | |
bool | initialise (void) |
Initialises the XMLParser module ready for use. More... | |
void | cleanup (void) |
Cleans up the XMLParser module after use. More... | |
virtual void | parseXMLFile (XMLHandler &handler, const String &filename, const String &schemaName, const String &resourceGroup) |
convenience method which initiates parsing of an XML file. More... | |
virtual void | parseXMLString (XMLHandler &handler, const String &source, const String &schemaName) |
convenience method which initiates parsing of an XML source from string. More... | |
const String & | getIdentifierString () const |
Return identification string for the XML parser module. If the internal id string has not been set by the XML parser module creator, a generic string of "Unknown XML parser" will be returned. More... | |
XMLParser (void) | |
XMLParser base class constructor. | |
virtual | ~XMLParser (void) |
XMLParser base class destructor. | |
bool | initialise (void) |
Initialises the XMLParser module ready for use. More... | |
void | cleanup (void) |
Cleans up the XMLParser module after use. More... | |
virtual void | parseXMLFile (XMLHandler &handler, const String &filename, const String &schemaName, const String &resourceGroup) |
convenience method which initiates parsing of an XML file. More... | |
virtual void | parseXMLString (XMLHandler &handler, const String &source, const String &schemaName) |
convenience method which initiates parsing of an XML source from string. More... | |
const String & | getIdentifierString () const |
Return identification string for the XML parser module. If the internal id string has not been set by the XML parser module creator, a generic string of "Unknown XML parser" will be returned. More... | |
![]() | |
PropertySet (void) | |
Constructs a new PropertySet object. | |
virtual | ~PropertySet (void) |
Destructor for PropertySet objects. | |
void | addProperty (Property *property) |
Adds a new Property to the PropertySet. More... | |
void | removeProperty (const String &name) |
Removes a Property from the PropertySet. More... | |
Property * | getPropertyInstance (const String &name) const |
Retrieves a property instance (that was previously added) More... | |
void | clearProperties (void) |
Removes all Property objects from the PropertySet. | |
bool | isPropertyPresent (const String &name) const |
Checks to see if a Property with the given name is in the PropertySet. More... | |
const String & | getPropertyHelp (const String &name) const |
Return the help text for the specified Property. More... | |
String | getProperty (const String &name) const |
Gets the current value of the specified Property. More... | |
template<typename T > | |
PropertyHelper< T >::return_type | getProperty (const String &name) const |
Gets the current value of the specified Property. More... | |
void | setProperty (const String &name, const String &value) |
Sets the current value of a Property. More... | |
template<typename T > | |
void | setProperty (const String &name, typename PropertyHelper< T >::pass_type value) |
Sets the current value of a Property. More... | |
bool | isPropertyDefault (const String &name) const |
Returns whether a Property is at it's default value. More... | |
String | getPropertyDefault (const String &name) const |
Returns the default value of a Property as a String. More... | |
PropertyIterator | getPropertyIterator (void) const |
Return a PropertySet::PropertyIterator object to iterate over the available Properties. | |
PropertySet (void) | |
Constructs a new PropertySet object. | |
virtual | ~PropertySet (void) |
Destructor for PropertySet objects. | |
void | addProperty (Property *property) |
Adds a new Property to the PropertySet. More... | |
void | removeProperty (const String &name) |
Removes a Property from the PropertySet. More... | |
Property * | getPropertyInstance (const String &name) const |
Retrieves a property instance (that was previously added) More... | |
void | clearProperties (void) |
Removes all Property objects from the PropertySet. | |
bool | isPropertyPresent (const String &name) const |
Checks to see if a Property with the given name is in the PropertySet. More... | |
const String & | getPropertyHelp (const String &name) const |
Return the help text for the specified Property. More... | |
String | getProperty (const String &name) const |
Gets the current value of the specified Property. More... | |
template<typename T > | |
PropertyHelper< T >::return_type | getProperty (const String &name) const |
Gets the current value of the specified Property. More... | |
void | setProperty (const String &name, const String &value) |
Sets the current value of a Property. More... | |
template<typename T > | |
void | setProperty (const String &name, typename PropertyHelper< T >::pass_type value) |
Sets the current value of a Property. More... | |
bool | isPropertyDefault (const String &name) const |
Returns whether a Property is at it's default value. More... | |
String | getPropertyDefault (const String &name) const |
Returns the default value of a Property as a String. More... | |
PropertyIterator | getPropertyIterator (void) const |
Return a PropertySet::PropertyIterator object to iterate over the available Properties. | |
Protected Member Functions | |
bool | initialiseImpl (void) |
abstract method which initialises the XMLParser ready for use. More... | |
void | cleanupImpl (void) |
abstract method which cleans up the XMLParser after use. More... | |
bool | initialiseImpl (void) |
abstract method which initialises the XMLParser ready for use. More... | |
void | cleanupImpl (void) |
abstract method which cleans up the XMLParser after use. More... | |
Additional Inherited Members | |
![]() | |
typedef ConstMapIterator < PropertyRegistry > | PropertyIterator |
typedef ConstMapIterator < PropertyRegistry > | PropertyIterator |
![]() | |
String | d_identifierString |
String that holds some id information about the module. | |
Implementation of XMLParser using Expat.
|
protectedvirtual |
abstract method which cleans up the XMLParser after use.
Implements CEGUI::XMLParser.
|
protectedvirtual |
abstract method which cleans up the XMLParser after use.
Implements CEGUI::XMLParser.
|
protectedvirtual |
abstract method which initialises the XMLParser ready for use.
Implements CEGUI::XMLParser.
|
protectedvirtual |
abstract method which initialises the XMLParser ready for use.
Implements CEGUI::XMLParser.
|
virtual |
abstract method which initiates parsing of an XML.
handler | XMLHandler based object which will process the XML elements. |
source | RawDataContainer containing the data to parse |
schemaName | String object holding the name of the XML schema file to use for validating the XML. Note that whether this is used or not is dependant upon the XMLParser in use. |
Implements CEGUI::XMLParser.
References CEGUI::RawDataContainer::getDataPtr(), and CEGUI::RawDataContainer::getSize().
|
virtual |
abstract method which initiates parsing of an XML.
handler | XMLHandler based object which will process the XML elements. |
source | RawDataContainer containing the data to parse |
schemaName | String object holding the name of the XML schema file to use for validating the XML. Note that whether this is used or not is dependant upon the XMLParser in use. |
Implements CEGUI::XMLParser.