Public Member Functions |
| void | parseXML (XMLHandler &handler, const RawDataContainer &filename, const String &schemaName) |
| | abstract method which initiates parsing of an XML.
|
|
| XMLParser (void) |
| | XMLParser base class constructor.
|
|
virtual | ~XMLParser (void) |
| | XMLParser base class destructor.
|
| bool | initialise (void) |
| | Initialises the XMLParser module ready for use.
|
| void | cleanup (void) |
| | Cleans up the XMLParser module after use.
|
| virtual void | parseXMLFile (XMLHandler &handler, const String &filename, const String &schemaName, const String &resourceGroup) |
| | convenience method which initiates parsing of an XML file.
|
| virtual void | parseXMLString (XMLHandler &handler, const String &source, const String &schemaName) |
| | convenience method which initiates parsing of an XML source from string.
|
| 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.
|
|
| 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.
|
| void | removeProperty (const String &name) |
| | Removes a Property from the PropertySet.
|
| Property * | getPropertyInstance (const String &name) const |
| | Retrieves a property instance (that was previously added)
|
| 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.
|
| const String & | getPropertyHelp (const String &name) const |
| | Return the help text for the specified Property.
|
| String | getProperty (const String &name) const |
| | Gets the current value of the specified Property.
|
| template<typename T > |
| PropertyHelper< T >::return_type | getProperty (const String &name) const |
| | Gets the current value of the specified Property.
|
| void | setProperty (const String &name, const String &value) |
| | Sets the current value of a Property.
|
| template<typename T > |
| void | setProperty (const String &name, typename PropertyHelper< T >::pass_type value) |
| | Sets the current value of a Property.
|
| bool | isPropertyDefault (const String &name) const |
| | Returns whether a Property is at it's default value.
|
| String | getPropertyDefault (const String &name) const |
| | Returns the default value of a Property as a String.
|
|
PropertyIterator | getPropertyIterator (void) const |
| | Return a PropertySet::PropertyIterator object to iterate over the available Properties.
|
Implementation of XMLParser using TinyXML.