84 cFileXML(
const std::string& a_filename);
96 bool saveToFile(
const std::string& a_filename);
111 int gotoChild(
const std::string& a_name,
int a_index = 0,
bool a_create =
false);
114 bool removeChild(
const std::string& a_name,
int a_index = 0);
120 bool setName(
const std::string& a_name);
126 bool setValue(
const long int a_val);
153 bool setValue(
const std::string a_val);
156 bool setAttribute(
const std::string& a_attribute,
const bool a_val);
159 bool setAttribute(
const std::string& a_attribute,
const long int a_val);
171 bool setAttribute(
const std::string& a_attribute,
const unsigned short a_val) {
return setAttribute(a_attribute, (
long int)a_val); }
177 bool setAttribute(
const std::string& a_attribute,
const unsigned char a_val) {
return setAttribute(a_attribute, (
long int)a_val); }
180 bool setAttribute(
const std::string& a_attribute,
const double a_val);
186 bool setAttribute(
const std::string& a_attribute,
const std::string a_val);
189 bool getName(std::string& a_name)
const;
195 bool getValue(
long int& a_val)
const;
198 bool getValue(
int& a_val)
const {
long int tmp;
bool res =
getValue(tmp); a_val = (int)tmp;
return res; }
201 bool getValue(
unsigned int& a_val)
const {
long int tmp;
bool res =
getValue(tmp); a_val = (
unsigned int)tmp;
return res; }
204 bool getValue(
short& a_val)
const {
long int tmp;
bool res =
getValue(tmp); a_val = (short)tmp;
return res; }
207 bool getValue(
unsigned short& a_val)
const {
long int tmp;
bool res =
getValue(tmp); a_val = (
unsigned short)tmp;
return res; }
210 bool getValue(
char& a_val)
const {
long int tmp;
bool res =
getValue(tmp); a_val = (char)tmp;
return res; }
213 bool getValue(
unsigned char& a_val)
const {
long int tmp;
bool res =
getValue(tmp); a_val = (
unsigned char)tmp;
return res; }
216 bool getValue(
float& a_val)
const {
double tmp;
bool res =
getValue(tmp); a_val = (float)tmp;
return res; }
222 bool getValue(std::string& a_val)
const;
225 bool getAttribute(
const std::string& a_attribute,
bool& a_val)
const;
228 bool getAttribute(
const std::string& a_attribute,
long int& a_val)
const;
231 bool getAttribute(
const std::string& a_attribute,
int& a_val)
const {
long int tmp;
bool res =
getAttribute (a_attribute, tmp); a_val = (int)tmp;
return res; }
234 bool getAttribute(
const std::string& a_attribute,
unsigned int& a_val)
const {
long int tmp;
bool res =
getAttribute (a_attribute, tmp); a_val = (
unsigned int)tmp;
return res; }
237 bool getAttribute(
const std::string& a_attribute,
short& a_val)
const {
long int tmp;
bool res =
getAttribute (a_attribute, tmp); a_val = (short)tmp;
return res; }
240 bool getAttribute(
const std::string& a_attribute,
unsigned short& a_val)
const {
long int tmp;
bool res =
getAttribute (a_attribute, tmp); a_val = (
unsigned short)tmp;
return res; }
243 bool getAttribute(
const std::string& a_attribute,
char& a_val)
const {
long int tmp;
bool res =
getAttribute (a_attribute, tmp); a_val = (char)tmp;
return res; }
246 bool getAttribute(
const std::string& a_attribute,
unsigned char& a_val)
const {
long int tmp;
bool res =
getAttribute (a_attribute, tmp); a_val = (
unsigned char)tmp;
return res; }
249 bool getAttribute(
const std::string& a_attribute,
float& a_val)
const {
double tmp;
bool res =
getAttribute (a_attribute, tmp); a_val = (float)tmp;
return res; }
252 bool getAttribute(
const std::string& a_attribute,
double& a_val)
const;
255 bool getAttribute(
const std::string& a_attribute, std::string& a_val)
const;
258 bool setValue(
const std::string& a_name,
const bool a_val,
int a_index = 0) {
if (
gotoChild(a_name, a_index,
true) < 0)
return false;
bool res =
setValue(a_val);
gotoParent();
return res; }
261 bool setValue(
const std::string& a_name,
const long int a_val,
int a_index = 0) {
if (
gotoChild(a_name, a_index,
true) < 0)
return false;
bool res =
setValue(a_val);
gotoParent();
return res; }
264 bool setValue(
const std::string& a_name,
const int a_val,
int a_index = 0) {
if (
gotoChild(a_name, a_index,
true) < 0)
return false;
bool res =
setValue(a_val);
gotoParent();
return res; }
267 bool setValue(
const std::string& a_name,
const unsigned int a_val,
int a_index = 0) {
if (
gotoChild(a_name, a_index,
true) < 0)
return false;
bool res =
setValue(a_val);
gotoParent();
return res; }
270 bool setValue(
const std::string& a_name,
const short a_val,
int a_index = 0) {
if (
gotoChild(a_name, a_index,
true) < 0)
return false;
bool res =
setValue(a_val);
gotoParent();
return res; }
273 bool setValue(
const std::string& a_name,
const unsigned short a_val,
int a_index = 0) {
if (
gotoChild(a_name, a_index,
true) < 0)
return false;
bool res =
setValue(a_val);
gotoParent();
return res; }
276 bool setValue(
const std::string& a_name,
const char a_val,
int a_index = 0) {
if (
gotoChild(a_name, a_index,
true) < 0)
return false;
bool res =
setValue(a_val);
gotoParent();
return res; }
279 bool setValue(
const std::string& a_name,
const unsigned char a_val,
int a_index = 0) {
if (
gotoChild(a_name, a_index,
true) < 0)
return false;
bool res =
setValue(a_val);
gotoParent();
return res; }
282 bool setValue(
const std::string& a_name,
const double a_val,
int a_index = 0) {
if (
gotoChild(a_name, a_index,
true) < 0)
return false;
bool res =
setValue(a_val);
gotoParent();
return res; }
285 bool setValue(
const std::string& a_name,
const std::string& a_val,
int a_index = 0) {
if (
gotoChild(a_name, a_index,
true) < 0)
return false;
bool res =
setValue(a_val);
gotoParent();
return res; }
288 bool setAttribute(
const std::string& a_name,
const int a_index,
const std::string& a_attribute,
bool a_val) {
if (
gotoChild(a_name, a_index,
true) < 0)
return false;
bool res =
setAttribute(a_attribute, a_val);
gotoParent();
return res; }
291 bool setAttribute(
const std::string& a_name,
const int a_index,
const std::string& a_attribute,
long int a_val) {
if (
gotoChild(a_name, a_index,
true) < 0)
return false;
bool res =
setAttribute(a_attribute, a_val);
gotoParent();
return res; }
294 bool setAttribute(
const std::string& a_name,
const int a_index,
const std::string& a_attribute,
int a_val) {
if (
gotoChild(a_name, a_index,
true) < 0)
return false;
bool res =
setAttribute(a_attribute, a_val);
gotoParent();
return res; }
297 bool setAttribute(
const std::string& a_name,
const int a_index,
const std::string& a_attribute,
unsigned int a_val) {
if (
gotoChild(a_name, a_index,
true) < 0)
return false;
bool res =
setAttribute(a_attribute, a_val);
gotoParent();
return res; }
300 bool setAttribute(
const std::string& a_name,
const int a_index,
const std::string& a_attribute,
short a_val) {
if (
gotoChild(a_name, a_index,
true) < 0)
return false;
bool res =
setAttribute(a_attribute, a_val);
gotoParent();
return res; }
303 bool setAttribute(
const std::string& a_name,
const int a_index,
const std::string& a_attribute,
unsigned short a_val) {
if (
gotoChild(a_name, a_index,
true) < 0)
return false;
bool res =
setAttribute(a_attribute, a_val);
gotoParent();
return res; }
306 bool setAttribute(
const std::string& a_name,
const int a_index,
const std::string& a_attribute,
char a_val) {
if (
gotoChild(a_name, a_index,
true) < 0)
return false;
bool res =
setAttribute(a_attribute, a_val);
gotoParent();
return res; }
309 bool setAttribute(
const std::string& a_name,
const int a_index,
const std::string& a_attribute,
unsigned char a_val) {
if (
gotoChild(a_name, a_index,
true) < 0)
return false;
bool res =
setAttribute(a_attribute, a_val);
gotoParent();
return res; }
312 bool setAttribute(
const std::string& a_name,
const int a_index,
const std::string& a_attribute,
double a_val) {
if (
gotoChild(a_name, a_index,
true) < 0)
return false;
bool res =
setAttribute(a_attribute, a_val);
gotoParent();
return res; }
315 bool setAttribute(
const std::string& a_name,
const int a_index,
const std::string& a_attribute,
float a_val) {
if (
gotoChild(a_name, a_index,
true) < 0)
return false;
bool res =
setAttribute(a_attribute, a_val);
gotoParent();
return res; }
318 bool setAttribute(
const std::string& a_name,
const int a_index,
const std::string& a_attribute, std::string a_val) {
if (
gotoChild(a_name, a_index,
true) < 0)
return false;
bool res =
setAttribute(a_attribute, a_val);
gotoParent();
return res; }
324 bool getValue(
const std::string& a_name,
long int& a_val,
int a_index = 0) {
if (
gotoChild(a_name, a_index,
false) < 0)
return false;
bool res =
getValue(a_val);
gotoParent();
return res; }
330 bool getValue(
const std::string& a_name,
unsigned int& a_val,
int a_index = 0) {
if (
gotoChild(a_name, a_index,
false) < 0)
return false;
bool res =
getValue(a_val);
gotoParent();
return res; }
333 bool getValue(
const std::string& a_name,
short& a_val,
int a_index = 0) {
if (
gotoChild(a_name, a_index,
false) < 0)
return false;
bool res =
getValue(a_val);
gotoParent();
return res; }
336 bool getValue(
const std::string& a_name,
unsigned short& a_val,
int a_index = 0) {
if (
gotoChild(a_name, a_index,
false) < 0)
return false;
bool res =
getValue(a_val);
gotoParent();
return res; }
342 bool getValue(
const std::string& a_name,
unsigned char& a_val,
int a_index = 0) {
if (
gotoChild(a_name, a_index,
false) < 0)
return false;
bool res =
getValue(a_val);
gotoParent();
return res; }
345 bool getValue(
const std::string& a_name,
float& a_val,
int a_index = 0) {
if (
gotoChild(a_name, a_index,
false) < 0)
return false;
bool res =
getValue(a_val);
gotoParent();
return res; }
348 bool getValue(
const std::string& a_name,
double& a_val,
int a_index = 0) {
if (
gotoChild(a_name, a_index,
false) < 0)
return false;
bool res =
getValue(a_val);
gotoParent();
return res; }
351 bool getValue(
const std::string& a_name, std::string& a_val,
int a_index = 0) {
if (
gotoChild(a_name, a_index,
false) < 0)
return false;
bool res =
getValue(a_val);
gotoParent();
return res; }
354 bool getAttribute(
const std::string& a_name,
int a_index,
const std::string& a_attribute,
bool& a_val) {
if (
gotoChild(a_name, a_index,
false) < 0)
return false;
bool res =
getAttribute(a_attribute, a_val);
gotoParent();
return res; }
357 bool getAttribute(
const std::string& a_name,
int a_index,
const std::string& a_attribute,
long int& a_val) {
if (
gotoChild(a_name, a_index,
false) < 0)
return false;
bool res =
getAttribute(a_attribute, a_val);
gotoParent();
return res; }
360 bool getAttribute(
const std::string& a_name,
int a_index,
const std::string& a_attribute,
int& a_val) {
if (
gotoChild(a_name, a_index,
false) < 0)
return false;
bool res =
getAttribute(a_attribute, a_val);
gotoParent();
return res; }
363 bool getAttribute(
const std::string& a_name,
int a_index,
const std::string& a_attribute,
unsigned int& a_val) {
if (
gotoChild(a_name, a_index,
false) < 0)
return false;
bool res =
getAttribute(a_attribute, a_val);
gotoParent();
return res; }
366 bool getAttribute(
const std::string& a_name,
int a_index,
const std::string& a_attribute,
short& a_val) {
if (
gotoChild(a_name, a_index,
false) < 0)
return false;
bool res =
getAttribute(a_attribute, a_val);
gotoParent();
return res; }
369 bool getAttribute(
const std::string& a_name,
int a_index,
const std::string& a_attribute,
unsigned short& a_val) {
if (
gotoChild(a_name, a_index,
false) < 0)
return false;
bool res =
getAttribute(a_attribute, a_val);
gotoParent();
return res; }
372 bool getAttribute(
const std::string& a_name,
int a_index,
const std::string& a_attribute,
char& a_val) {
if (
gotoChild(a_name, a_index,
false) < 0)
return false;
bool res =
getAttribute(a_attribute, a_val);
gotoParent();
return res; }
375 bool getAttribute(
const std::string& a_name,
int a_index,
const std::string& a_attribute,
unsigned char& a_val) {
if (
gotoChild(a_name, a_index,
false) < 0)
return false;
bool res =
getAttribute(a_attribute, a_val);
gotoParent();
return res; }
378 bool getAttribute(
const std::string& a_name,
int a_index,
const std::string& a_attribute,
float& a_val) {
if (
gotoChild(a_name, a_index,
false) < 0)
return false;
bool res =
getAttribute(a_attribute, a_val);
gotoParent();
return res; }
381 bool getAttribute(
const std::string& a_name,
int a_index,
const std::string& a_attribute,
double& a_val) {
if (
gotoChild(a_name, a_index,
false) < 0)
return false;
bool res =
getAttribute(a_attribute, a_val);
gotoParent();
return res; }
384 bool getAttribute(
const std::string& a_name,
int a_index,
const std::string& a_attribute, std::string& a_val) {
if (
gotoChild(a_name, a_index,
false) < 0)
return false;
bool res =
getAttribute(a_attribute, a_val);
gotoParent();
return res; }
bool saveToFile()
Save the current internal XML data to the same file that was loaded with loadFromFile().
Definition: CFileXML.cpp:204
bool setValue(const unsigned short a_val)
Set the value of the current node.
Definition: CFileXML.h:138
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.
Definition: CFileXML.h:384
bool setName(const std::string &a_name)
Set the name of the current node.
Definition: CFileXML.cpp:467
bool gotoNextSibling()
Set current node to the next sibling of the current node.
Definition: CFileXML.cpp:413
bool getAttribute(const std::string &a_attribute, unsigned int &a_val) const
Get the value of a specific attribute of the current node.
Definition: CFileXML.h:234
bool getName(std::string &a_name) const
Get the name of the current node.
Definition: CFileXML.cpp:443
bool getValue(unsigned char &a_val) const
Get the value of the current node.
Definition: CFileXML.h:213
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.
Definition: CFileXML.h:279
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.
Definition: CFileXML.h:264
bool getAttribute(const std::string &a_attribute, int &a_val) const
Get the value of a specific attribute of the current node.
Definition: CFileXML.h:231
bool getValue(char &a_val) const
Get the value of the current node.
Definition: CFileXML.h:210
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.
Definition: CFileXML.h:321
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.
Definition: CFileXML.h:342
bool getAttribute(const std::string &a_attribute, unsigned short &a_val) const
Get the value of a specific attribute of the current node.
Definition: CFileXML.h:240
cFileXML()
Constructor.
Definition: CFileXML.cpp:123
bool setValue(const char a_val)
Set the value of the current node.
Definition: CFileXML.h:141
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 .
Definition: CFileXML.h:315
void gotoRoot()
Reset current node to the root node.
Definition: CFileXML.cpp:261
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.
Definition: CFileXML.h:327
bool setValue(const unsigned int a_val)
Set the value of the current node.
Definition: CFileXML.h:132
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.
Definition: CFileXML.h:378
bool setAttribute(const std::string &a_attribute, const bool a_val)
Set an attribute of the current node.
Definition: CFileXML.cpp:861
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.
Definition: CFileXML.h:339
bool setAttribute(const std::string &a_attribute, const unsigned char a_val)
Set an attribute of the current node.
Definition: CFileXML.h:177
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.
Definition: CFileXML.h:333
bool setAttribute(const std::string &a_attribute, const int a_val)
Set an attribute of the current node.
Definition: CFileXML.h:162
bool getAttribute(const std::string &a_attribute, unsigned char &a_val) const
Get the value of a specific attribute of the current node.
Definition: CFileXML.h:246
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 .
Definition: CFileXML.h:318
bool getValue(unsigned int &a_val) const
Get the value of the current node.
Definition: CFileXML.h:201
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.
Definition: CFileXML.h:354
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 .
Definition: CFileXML.h:306
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.
Definition: CFileXML.h:360
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.
Definition: CFileXML.h:270
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.
Definition: CFileXML.h:330
bool setAttribute(const std::string &a_attribute, const char a_val)
Set an attribute of the current node.
Definition: CFileXML.h:174
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.
Definition: CFileXML.h:273
bool setValue(const bool a_val)
Set the value of the current node.
Definition: CFileXML.cpp:629
void clear()
Clear internal XML data.
Definition: CFileXML.cpp:247
bool setAttribute(const std::string &a_attribute, const short a_val)
Set an attribute of the current node.
Definition: CFileXML.h:168
bool gotoFirstChild()
Set current node to the first child of the current node.
Definition: CFileXML.cpp:385
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.
Definition: CFileXML.h:267
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 .
Definition: CFileXML.h:288
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.
Definition: CFileXML.h:375
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.
Definition: CFileXML.h:282
bool setAttribute(const std::string &a_attribute, const float a_val)
Set an attribute of the current node.
Definition: CFileXML.h:183
bool setAttribute(const std::string &a_attribute, const unsigned int a_val)
Set an attribute of the current node.
Definition: CFileXML.h:165
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 .
Definition: CFileXML.h:300
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.
Definition: CFileXML.h:261
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 .
Definition: CFileXML.h:291
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.
Definition: CFileXML.h:324
Definition: CFileXML.h:73
bool removeChild(const std::string &a_name, int a_index=0)
Remove a specific child of the current node and all its children.
Definition: CFileXML.cpp:335
bool getAttribute(const std::string &a_attribute, float &a_val) const
Get the value of a specific attribute of the current node.
Definition: CFileXML.h:249
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.
Definition: CFileXML.h:345
bool getAttribute(const std::string &a_attribute, char &a_val) const
Get the value of a specific attribute of the current node.
Definition: CFileXML.h:243
bool loadFromFile(const std::string &a_filename)
Open an XML file and load its XML data internally.
Definition: CFileXML.cpp:171
bool getValue(float &a_val) const
Get the value of the current node.
Definition: CFileXML.h:216
bool getAttribute(const std::string &a_attribute, bool &a_val) const
Get the value of a specific attribute of the current node.
Definition: CFileXML.cpp:729
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.
Definition: CFileXML.h:381
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.
Definition: CFileXML.h:258
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.
Definition: CFileXML.h:357
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.
Definition: CFileXML.h:369
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.
Definition: CFileXML.h:372
bool setAttribute(const std::string &a_attribute, const unsigned short a_val)
Set an attribute of the current node.
Definition: CFileXML.h:171
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 .
Definition: CFileXML.h:312
bool setValue(const unsigned char a_val)
Set the value of the current node.
Definition: CFileXML.h:144
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.
Definition: CFileXML.h:285
bool getValue(unsigned short &a_val) const
Get the value of the current node.
Definition: CFileXML.h:207
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.
Definition: CFileXML.h:336
Definition: CAudioBuffer.cpp:56
bool setValue(const int a_val)
Set the value of the current node.
Definition: CFileXML.h:129
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.
Definition: CFileXML.h:348
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.
Definition: CFileXML.h:366
bool setValue(const short a_val)
Set the value of the current node.
Definition: CFileXML.h:135
bool setValue(const float a_val)
Set the value of the current node.
Definition: CFileXML.h:147
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.
Definition: CFileXML.h:276
bool getValue(short &a_val) const
Get the value of the current node.
Definition: CFileXML.h:204
bool gotoParent()
Set current node to the parent of the current node.
Definition: CFileXML.cpp:369
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.
Definition: CFileXML.cpp:285
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 .
Definition: CFileXML.h:297
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.
Definition: CFileXML.h:351
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 .
Definition: CFileXML.h:309
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 .
Definition: CFileXML.h:303
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 .
Definition: CFileXML.h:294
virtual ~cFileXML()
Destructor.
Definition: CFileXML.cpp:152
bool getAttribute(const std::string &a_attribute, short &a_val) const
Get the value of a specific attribute of the current node.
Definition: CFileXML.h:237
bool getValue(bool &a_val) const
Get the value of the current node.
Definition: CFileXML.cpp:495
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.
Definition: CFileXML.h:363
bool getValue(int &a_val) const
Get the value of the current node.
Definition: CFileXML.h:198