|
| | cFileXML () |
| | Constructor. More...
|
| |
| | cFileXML (const std::string &a_filename) |
| | Constructor. More...
|
| |
| virtual | ~cFileXML () |
| | Destructor. More...
|
| |
| bool | loadFromFile (const std::string &a_filename) |
| | Open an XML file and load its XML data internally. More...
|
| |
| bool | saveToFile () |
| | Save the current internal XML data to the same file that was loaded with loadFromFile(). More...
|
| |
| bool | saveToFile (const std::string &a_filename) |
| | Save the current internal XML data to a file. More...
|
| |
| void | clear () |
| | Clear internal XML data. More...
|
| |
| void | gotoRoot () |
| | Reset current node to the root node. More...
|
| |
| bool | gotoFirstChild () |
| | Set current node to the first child of the current node. More...
|
| |
| bool | gotoNextSibling () |
| | Set current node to the next sibling of the current node. More...
|
| |
| int | gotoChild (const std::string &a_name, int a_index=0, bool a_create=false) |
| | Set current node to a specific child of the current node. More...
|
| |
| bool | removeChild (const std::string &a_name, int a_index=0) |
| | Remove a specific child of the current node and all its children. More...
|
| |
| bool | gotoParent () |
| | Set current node to the parent of the current node. More...
|
| |
| bool | setName (const std::string &a_name) |
| | Set the name of the current node. More...
|
| |
| bool | setValue (const bool a_val) |
| | Set the value of the current node. More...
|
| |
| bool | setValue (const long int a_val) |
| | Set the value of the current node. More...
|
| |
| bool | setValue (const int a_val) |
| | Set the value of the current node. More...
|
| |
| bool | setValue (const unsigned int a_val) |
| | Set the value of the current node. More...
|
| |
| bool | setValue (const short a_val) |
| | Set the value of the current node. More...
|
| |
| bool | setValue (const unsigned short a_val) |
| | Set the value of the current node. More...
|
| |
| bool | setValue (const char a_val) |
| | Set the value of the current node. More...
|
| |
| bool | setValue (const unsigned char a_val) |
| | Set the value of the current node. More...
|
| |
| bool | setValue (const float a_val) |
| | Set the value of the current node. More...
|
| |
| bool | setValue (const double a_val) |
| | Set the value of the current node. More...
|
| |
| bool | setValue (const std::string a_val) |
| | Set the value of the current node. More...
|
| |
| bool | setAttribute (const std::string &a_attribute, const bool a_val) |
| | Set an attribute of the current node. More...
|
| |
| bool | setAttribute (const std::string &a_attribute, const long int a_val) |
| | Set an attribute of the current node. More...
|
| |
| bool | setAttribute (const std::string &a_attribute, const int a_val) |
| | Set an attribute of the current node. More...
|
| |
| bool | setAttribute (const std::string &a_attribute, const unsigned int a_val) |
| | Set an attribute of the current node. More...
|
| |
| bool | setAttribute (const std::string &a_attribute, const short a_val) |
| | Set an attribute of the current node. More...
|
| |
| bool | setAttribute (const std::string &a_attribute, const unsigned short a_val) |
| | Set an attribute of the current node. More...
|
| |
| bool | setAttribute (const std::string &a_attribute, const char a_val) |
| | Set an attribute of the current node. More...
|
| |
| bool | setAttribute (const std::string &a_attribute, const unsigned char a_val) |
| | Set an attribute of the current node. More...
|
| |
| bool | setAttribute (const std::string &a_attribute, const double a_val) |
| | Set an attribute of the current node. More...
|
| |
| bool | setAttribute (const std::string &a_attribute, const float a_val) |
| | Set an attribute of the current node. More...
|
| |
| bool | setAttribute (const std::string &a_attribute, const std::string a_val) |
| | Set an attribute of the current node. More...
|
| |
| bool | getName (std::string &a_name) const |
| | Get the name of the current node. More...
|
| |
| bool | getValue (bool &a_val) const |
| | Get the value of the current node. More...
|
| |
| bool | getValue (long int &a_val) const |
| | Get the value of the current node. More...
|
| |
| bool | getValue (int &a_val) const |
| | Get the value of the current node. More...
|
| |
| bool | getValue (unsigned int &a_val) const |
| | Get the value of the current node. More...
|
| |
| bool | getValue (short &a_val) const |
| | Get the value of the current node. More...
|
| |
| bool | getValue (unsigned short &a_val) const |
| | Get the value of the current node. More...
|
| |
| bool | getValue (char &a_val) const |
| | Get the value of the current node. More...
|
| |
| bool | getValue (unsigned char &a_val) const |
| | Get the value of the current node. More...
|
| |
| bool | getValue (float &a_val) const |
| | Get the value of the current node. More...
|
| |
| bool | getValue (double &a_val) const |
| | Get the value of the current node. More...
|
| |
| bool | getValue (std::string &a_val) const |
| | Get the value of the current node. More...
|
| |
| bool | getAttribute (const std::string &a_attribute, bool &a_val) const |
| | Get the value of a specific attribute of the current node. More...
|
| |
| bool | getAttribute (const std::string &a_attribute, long int &a_val) const |
| | Get the value of a specific attribute of the current node. More...
|
| |
| bool | getAttribute (const std::string &a_attribute, int &a_val) const |
| | Get the value of a specific attribute of the current node. More...
|
| |
| bool | getAttribute (const std::string &a_attribute, unsigned int &a_val) const |
| | Get the value of a specific attribute of the current node. More...
|
| |
| bool | getAttribute (const std::string &a_attribute, short &a_val) const |
| | Get the value of a specific attribute of the current node. More...
|
| |
| bool | getAttribute (const std::string &a_attribute, unsigned short &a_val) const |
| | Get the value of a specific attribute of the current node. More...
|
| |
| bool | getAttribute (const std::string &a_attribute, char &a_val) const |
| | Get the value of a specific attribute of the current node. More...
|
| |
| bool | getAttribute (const std::string &a_attribute, unsigned char &a_val) const |
| | Get the value of a specific attribute of the current node. More...
|
| |
| bool | getAttribute (const std::string &a_attribute, float &a_val) const |
| | Get the value of a specific attribute of the current node. More...
|
| |
| bool | getAttribute (const std::string &a_attribute, double &a_val) const |
| | Get the value of a specific attribute of the current node. More...
|
| |
| bool | getAttribute (const std::string &a_attribute, std::string &a_val) const |
| | Get the value of a specific attribute of the current node. More...
|
| |
| bool | setValue (const std::string &a_name, const bool a_val, int a_index=0) |
| | Create or set a child node of the current node with a specific name and value. More...
|
| |
| bool | setValue (const std::string &a_name, const long int a_val, int a_index=0) |
| | Create or set a child node of the current node with a specific name and value. More...
|
| |
| bool | setValue (const std::string &a_name, const int a_val, int a_index=0) |
| | Create or set a child node of the current node with a specific name and value. More...
|
| |
| bool | setValue (const std::string &a_name, const unsigned int a_val, int a_index=0) |
| | Create or set a child node of the current node with a specific name and value. More...
|
| |
| bool | setValue (const std::string &a_name, const short a_val, int a_index=0) |
| | Create or set a child node of the current node with a specific name and value. More...
|
| |
| bool | setValue (const std::string &a_name, const unsigned short a_val, int a_index=0) |
| | Create or set a child node of the current node with a specific name and value. More...
|
| |
| bool | setValue (const std::string &a_name, const char a_val, int a_index=0) |
| | Create or set a child node of the current node with a specific name and value. More...
|
| |
| bool | setValue (const std::string &a_name, const unsigned char a_val, int a_index=0) |
| | Create or set a child node of the current node with a specific name and value. More...
|
| |
| bool | setValue (const std::string &a_name, const double a_val, int a_index=0) |
| | Create or set a child node of the current node with a specific name and value. More...
|
| |
| bool | setValue (const std::string &a_name, const std::string &a_val, int a_index=0) |
| | Create or set a child node of the current node with a specific name and value. More...
|
| |
| bool | setAttribute (const std::string &a_name, const int a_index, const std::string &a_attribute, bool a_val) |
| | Create or set a specific attribute and its value for the current node . More...
|
| |
| bool | setAttribute (const std::string &a_name, const int a_index, const std::string &a_attribute, long int a_val) |
| | Create or set a specific attribute and its value for the current node . More...
|
| |
| bool | setAttribute (const std::string &a_name, const int a_index, const std::string &a_attribute, int a_val) |
| | Create or set a specific attribute and its value for the current node . More...
|
| |
| bool | setAttribute (const std::string &a_name, const int a_index, const std::string &a_attribute, unsigned int a_val) |
| | Create or set a specific attribute and its value for the current node . More...
|
| |
| bool | setAttribute (const std::string &a_name, const int a_index, const std::string &a_attribute, short a_val) |
| | Create or set a specific attribute and its value for the current node . More...
|
| |
| bool | setAttribute (const std::string &a_name, const int a_index, const std::string &a_attribute, unsigned short a_val) |
| | Create or set a specific attribute and its value for the current node . More...
|
| |
| bool | setAttribute (const std::string &a_name, const int a_index, const std::string &a_attribute, char a_val) |
| | Create or set a specific attribute and its value for the current node . More...
|
| |
| bool | setAttribute (const std::string &a_name, const int a_index, const std::string &a_attribute, unsigned char a_val) |
| | Create or set a specific attribute and its value for the current node . More...
|
| |
| bool | setAttribute (const std::string &a_name, const int a_index, const std::string &a_attribute, double a_val) |
| | Create or set a specific attribute and its value for the current node . More...
|
| |
| bool | setAttribute (const std::string &a_name, const int a_index, const std::string &a_attribute, float a_val) |
| | Create or set a specific attribute and its value for the current node . More...
|
| |
| bool | setAttribute (const std::string &a_name, const int a_index, const std::string &a_attribute, std::string a_val) |
| | Create or set a specific attribute and its value for the current node . More...
|
| |
| bool | getValue (const std::string &a_name, bool &a_val, int a_index=0) |
| | Get the value of a specific child node of the current node. More...
|
| |
| bool | getValue (const std::string &a_name, long int &a_val, int a_index=0) |
| | Get the value of a specific child node of the current node. More...
|
| |
| bool | getValue (const std::string &a_name, int &a_val, int a_index=0) |
| | Get the value of a specific child node of the current node. More...
|
| |
| bool | getValue (const std::string &a_name, unsigned int &a_val, int a_index=0) |
| | Get the value of a specific child node of the current node. More...
|
| |
| bool | getValue (const std::string &a_name, short &a_val, int a_index=0) |
| | Get the value of a specific child node of the current node. More...
|
| |
| bool | getValue (const std::string &a_name, unsigned short &a_val, int a_index=0) |
| | Get the value of a specific child node of the current node. More...
|
| |
| bool | getValue (const std::string &a_name, char &a_val, int a_index=0) |
| | Get the value of a specific child node of the current node. More...
|
| |
| bool | getValue (const std::string &a_name, unsigned char &a_val, int a_index=0) |
| | Get the value of a specific child node of the current node. More...
|
| |
| bool | getValue (const std::string &a_name, float &a_val, int a_index=0) |
| | Get the value of a specific child node of the current node. More...
|
| |
| bool | getValue (const std::string &a_name, double &a_val, int a_index=0) |
| | Get the value of a specific child node of the current node. More...
|
| |
| bool | getValue (const std::string &a_name, std::string &a_val, int a_index=0) |
| | Get the value of a specific child node of the current node. More...
|
| |
| bool | getAttribute (const std::string &a_name, int a_index, const std::string &a_attribute, bool &a_val) |
| | Get the value of a specific attribute of a specific child node of the current node. More...
|
| |
| bool | getAttribute (const std::string &a_name, int a_index, const std::string &a_attribute, long int &a_val) |
| | Get the value of a specific attribute of a specific child node of the current node. More...
|
| |
| bool | getAttribute (const std::string &a_name, int a_index, const std::string &a_attribute, int &a_val) |
| | Get the value of a specific attribute of a specific child node of the current node. More...
|
| |
| bool | getAttribute (const std::string &a_name, int a_index, const std::string &a_attribute, unsigned int &a_val) |
| | Get the value of a specific attribute of a specific child node of the current node. More...
|
| |
| bool | getAttribute (const std::string &a_name, int a_index, const std::string &a_attribute, short &a_val) |
| | Get the value of a specific attribute of a specific child node of the current node. More...
|
| |
| bool | getAttribute (const std::string &a_name, int a_index, const std::string &a_attribute, unsigned short &a_val) |
| | Get the value of a specific attribute of a specific child node of the current node. More...
|
| |
| bool | getAttribute (const std::string &a_name, int a_index, const std::string &a_attribute, char &a_val) |
| | Get the value of a specific attribute of a specific child node of the current node. More...
|
| |
| bool | getAttribute (const std::string &a_name, int a_index, const std::string &a_attribute, unsigned char &a_val) |
| | Get the value of a specific attribute of a specific child node of the current node. More...
|
| |
| bool | getAttribute (const std::string &a_name, int a_index, const std::string &a_attribute, float &a_val) |
| | Get the value of a specific attribute of a specific child node of the current node. More...
|
| |
| bool | getAttribute (const std::string &a_name, int a_index, const std::string &a_attribute, double &a_val) |
| | Get the value of a specific attribute of a specific child node of the current node. More...
|
| |
| bool | getAttribute (const std::string &a_name, int a_index, const std::string &a_attribute, std::string &a_val) |
| | Get the value of a specific attribute of a specific child node of the current node. More...
|
| |