chai3d::cFileXML Class Reference

#include <CFileXML.h>

Public Member Functions

 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...
 

Constructor & Destructor Documentation

chai3d::cFileXML::cFileXML ( )

Constructor of cFileXML.

chai3d::cFileXML::cFileXML ( const std::string &  a_filename)

Constructor of cFileXML for loading a specific file.

Parameters
a_filenameXML file to load.
chai3d::cFileXML::~cFileXML ( )
virtual

cFileXML destructor.

Note
The destructor does not save the XML data back into the file loaded using loadFromFile(). Remember to call saveToFile() as required.

Member Function Documentation

bool chai3d::cFileXML::loadFromFile ( const std::string &  a_filename)

Load XML data from a given file. The XML data is stored internally, and a pointer to the current XML node is kept internally. The XML data can be navigated using gotoChild(), gotoParent() and other related methods. If the file does not exist, it will be created and written to disk when calling saveToFile().

Parameters
a_filenameName of the XML file to load.
Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::saveToFile ( )

Save the current XML data using the filename saved from the call to loadFromFile(). If the XML data was not loaded from a file, the method fails.

Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::saveToFile ( const std::string &  a_filename)

Save the current XML data to a given file. If the XML data is empty, or the filename invalid, the method fails.

Parameters
a_filenameThe name of the file to save the XML data to.
Returns
true if in case of success, false otherwise.
void chai3d::cFileXML::clear ( )

Remove all XML data.

void chai3d::cFileXML::gotoRoot ( )

Set the current node pointer to the XML data root.

bool chai3d::cFileXML::gotoFirstChild ( )

Set the current node pointer to the first child of the current node.

Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::gotoNextSibling ( )

Set the current node pointer to the next sibling of the current node.

Returns
true if in case of success, false otherwise.
int chai3d::cFileXML::gotoChild ( const std::string &  a_name,
int  a_index = 0,
bool  a_create = false 
)

Set the current node pointer to a given child of the current node. Optionally, create the child node if it does not exist.

Parameters
a_nameName of the child node to navigate to.
a_indexIndex of the child, used when several children have the same name.
a_createNode creation flag: if the specified child node does not exist and a_create is set to true, the node will be created.
Returns
Return 0 if child node existed and operation succeeded, 1 if the child node did not exist and node creation succeded, -1 otherwise.
bool chai3d::cFileXML::removeChild ( const std::string &  a_name,
int  a_index = 0 
)

Remove a specific child node from the current node.

Parameters
a_nameName of the child node to navigate to.
a_indexIndex of the child, used when several children have the same name.
Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::gotoParent ( )

Set the current node pointer to the parent of the current node.

Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::setName ( const std::string &  a_name)

Set the name of the current node.

Parameters
a_nameName to assign to the current node.
Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::setValue ( const bool  a_val)

Set current node value.

Parameters
a_valNode value to assign to current node.
Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::setValue ( const long int  a_val)

Set current node value.

Parameters
a_valNode value to assign to current node.
Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::setValue ( const int  a_val)
inline
bool chai3d::cFileXML::setValue ( const unsigned int  a_val)
inline
bool chai3d::cFileXML::setValue ( const short  a_val)
inline
bool chai3d::cFileXML::setValue ( const unsigned short  a_val)
inline
bool chai3d::cFileXML::setValue ( const char  a_val)
inline
bool chai3d::cFileXML::setValue ( const unsigned char  a_val)
inline
bool chai3d::cFileXML::setValue ( const float  a_val)
inline
bool chai3d::cFileXML::setValue ( const double  a_val)

Set current node value.

Parameters
a_valNode value to assign to current node.
Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::setValue ( const std::string  a_val)

Set current node value.

Parameters
a_valNode value to assign to current node.
Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::setAttribute ( const std::string &  a_attribute,
const bool  a_val 
)

Set an attribute value for the current node.

Parameters
a_attributeString holding the name of the attribute to set.
a_valAttribute value to assign to current node attribute.
Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::setAttribute ( const std::string &  a_attribute,
const long int  a_val 
)

Set an attribute value for the current node.

Parameters
a_attributeString holding the name of the attribute to set.
a_valAttribute value to assign to current node attribute.
Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::setAttribute ( const std::string &  a_attribute,
const int  a_val 
)
inline
bool chai3d::cFileXML::setAttribute ( const std::string &  a_attribute,
const unsigned int  a_val 
)
inline
bool chai3d::cFileXML::setAttribute ( const std::string &  a_attribute,
const short  a_val 
)
inline
bool chai3d::cFileXML::setAttribute ( const std::string &  a_attribute,
const unsigned short  a_val 
)
inline
bool chai3d::cFileXML::setAttribute ( const std::string &  a_attribute,
const char  a_val 
)
inline
bool chai3d::cFileXML::setAttribute ( const std::string &  a_attribute,
const unsigned char  a_val 
)
inline
bool chai3d::cFileXML::setAttribute ( const std::string &  a_attribute,
const double  a_val 
)

Set an attribute value for the current node.

Parameters
a_attributeString holding the name of the attribute to set.
a_valAttribute value to assign to current node attribute.
Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::setAttribute ( const std::string &  a_attribute,
const float  a_val 
)
inline
bool chai3d::cFileXML::setAttribute ( const std::string &  a_attribute,
const std::string  a_val 
)

Set an attribute value for the current node.

Parameters
a_attributeString holding the name of the attribute to set.
a_valAttribute value to assign to current node attribute.
Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::getName ( std::string &  a_name) const

Get the name of the current node.

Parameters
a_nameHolds the name of the current node on success.
Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::getValue ( bool &  a_val) const

Get the value of the current node.

Parameters
a_valHolds the value of the current node on success.
Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::getValue ( long int &  a_val) const

Get the value of the current node.

Parameters
a_valHolds the value of the current node on success.
Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::getValue ( int &  a_val) const
inline
bool chai3d::cFileXML::getValue ( unsigned int &  a_val) const
inline
bool chai3d::cFileXML::getValue ( short &  a_val) const
inline
bool chai3d::cFileXML::getValue ( unsigned short &  a_val) const
inline
bool chai3d::cFileXML::getValue ( char &  a_val) const
inline
bool chai3d::cFileXML::getValue ( unsigned char &  a_val) const
inline
bool chai3d::cFileXML::getValue ( float &  a_val) const
inline
bool chai3d::cFileXML::getValue ( double &  a_val) const

Get the value of the current node.

Parameters
a_valHolds the value of the current node on success.
Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::getValue ( std::string &  a_val) const

Get the value of the current node.

Parameters
a_valHolds the value of the current node on success.
Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::getAttribute ( const std::string &  a_attribute,
bool &  a_val 
) const

Get the value of a specific attribute of the current node.

Parameters
a_attributeString holding the name of the attribute.
a_valHolds the value of the requested attribute on success.
Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::getAttribute ( const std::string &  a_attribute,
long int &  a_val 
) const

Get the value of a specific attribute of the current node.

Parameters
a_attributeString holding the name of the attribute.
a_valHolds the value of the requested attribute on success.
Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::getAttribute ( const std::string &  a_attribute,
int &  a_val 
) const
inline
bool chai3d::cFileXML::getAttribute ( const std::string &  a_attribute,
unsigned int &  a_val 
) const
inline
bool chai3d::cFileXML::getAttribute ( const std::string &  a_attribute,
short &  a_val 
) const
inline
bool chai3d::cFileXML::getAttribute ( const std::string &  a_attribute,
unsigned short &  a_val 
) const
inline
bool chai3d::cFileXML::getAttribute ( const std::string &  a_attribute,
char &  a_val 
) const
inline
bool chai3d::cFileXML::getAttribute ( const std::string &  a_attribute,
unsigned char &  a_val 
) const
inline
bool chai3d::cFileXML::getAttribute ( const std::string &  a_attribute,
float &  a_val 
) const
inline
bool chai3d::cFileXML::getAttribute ( const std::string &  a_attribute,
double &  a_val 
) const

Get the value of a specific attribute of the current node.

Parameters
a_attributeString holding the name of the attribute.
a_valHolds the value of the requested attribute on success.
Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::getAttribute ( const std::string &  a_attribute,
std::string &  a_val 
) const

Get the value of a specific attribute of the current node.

Parameters
a_attributeString holding the name of the attribute.
a_valHolds the value of the requested attribute on success.
Returns
true if in case of success, false otherwise.
bool chai3d::cFileXML::setValue ( const std::string &  a_name,
const bool  a_val,
int  a_index = 0 
)
inline
bool chai3d::cFileXML::setValue ( const std::string &  a_name,
const long int  a_val,
int  a_index = 0 
)
inline
bool chai3d::cFileXML::setValue ( const std::string &  a_name,
const int  a_val,
int  a_index = 0 
)
inline
bool chai3d::cFileXML::setValue ( const std::string &  a_name,
const unsigned int  a_val,
int  a_index = 0 
)
inline
bool chai3d::cFileXML::setValue ( const std::string &  a_name,
const short  a_val,
int  a_index = 0 
)
inline
bool chai3d::cFileXML::setValue ( const std::string &  a_name,
const unsigned short  a_val,
int  a_index = 0 
)
inline
bool chai3d::cFileXML::setValue ( const std::string &  a_name,
const char  a_val,
int  a_index = 0 
)
inline
bool chai3d::cFileXML::setValue ( const std::string &  a_name,
const unsigned char  a_val,
int  a_index = 0 
)
inline
bool chai3d::cFileXML::setValue ( const std::string &  a_name,
const double  a_val,
int  a_index = 0 
)
inline
bool chai3d::cFileXML::setValue ( const std::string &  a_name,
const std::string &  a_val,
int  a_index = 0 
)
inline
bool chai3d::cFileXML::setAttribute ( const std::string &  a_name,
const int  a_index,
const std::string &  a_attribute,
bool  a_val 
)
inline
bool chai3d::cFileXML::setAttribute ( const std::string &  a_name,
const int  a_index,
const std::string &  a_attribute,
long int  a_val 
)
inline
bool chai3d::cFileXML::setAttribute ( const std::string &  a_name,
const int  a_index,
const std::string &  a_attribute,
int  a_val 
)
inline
bool chai3d::cFileXML::setAttribute ( const std::string &  a_name,
const int  a_index,
const std::string &  a_attribute,
unsigned int  a_val 
)
inline
bool chai3d::cFileXML::setAttribute ( const std::string &  a_name,
const int  a_index,
const std::string &  a_attribute,
short  a_val 
)
inline
bool chai3d::cFileXML::setAttribute ( const std::string &  a_name,
const int  a_index,
const std::string &  a_attribute,
unsigned short  a_val 
)
inline
bool chai3d::cFileXML::setAttribute ( const std::string &  a_name,
const int  a_index,
const std::string &  a_attribute,
char  a_val 
)
inline
bool chai3d::cFileXML::setAttribute ( const std::string &  a_name,
const int  a_index,
const std::string &  a_attribute,
unsigned char  a_val 
)
inline
bool chai3d::cFileXML::setAttribute ( const std::string &  a_name,
const int  a_index,
const std::string &  a_attribute,
double  a_val 
)
inline
bool chai3d::cFileXML::setAttribute ( const std::string &  a_name,
const int  a_index,
const std::string &  a_attribute,
float  a_val 
)
inline
bool chai3d::cFileXML::setAttribute ( const std::string &  a_name,
const int  a_index,
const std::string &  a_attribute,
std::string  a_val 
)
inline
bool chai3d::cFileXML::getValue ( const std::string &  a_name,
bool &  a_val,
int  a_index = 0 
)
inline
bool chai3d::cFileXML::getValue ( const std::string &  a_name,
long int &  a_val,
int  a_index = 0 
)
inline
bool chai3d::cFileXML::getValue ( const std::string &  a_name,
int &  a_val,
int  a_index = 0 
)
inline
bool chai3d::cFileXML::getValue ( const std::string &  a_name,
unsigned int &  a_val,
int  a_index = 0 
)
inline
bool chai3d::cFileXML::getValue ( const std::string &  a_name,
short &  a_val,
int  a_index = 0 
)
inline
bool chai3d::cFileXML::getValue ( const std::string &  a_name,
unsigned short &  a_val,
int  a_index = 0 
)
inline
bool chai3d::cFileXML::getValue ( const std::string &  a_name,
char &  a_val,
int  a_index = 0 
)
inline
bool chai3d::cFileXML::getValue ( const std::string &  a_name,
unsigned char &  a_val,
int  a_index = 0 
)
inline
bool chai3d::cFileXML::getValue ( const std::string &  a_name,
float &  a_val,
int  a_index = 0 
)
inline
bool chai3d::cFileXML::getValue ( const std::string &  a_name,
double &  a_val,
int  a_index = 0 
)
inline
bool chai3d::cFileXML::getValue ( const std::string &  a_name,
std::string &  a_val,
int  a_index = 0 
)
inline
bool chai3d::cFileXML::getAttribute ( const std::string &  a_name,
int  a_index,
const std::string &  a_attribute,
bool &  a_val 
)
inline
bool chai3d::cFileXML::getAttribute ( const std::string &  a_name,
int  a_index,
const std::string &  a_attribute,
long int &  a_val 
)
inline
bool chai3d::cFileXML::getAttribute ( const std::string &  a_name,
int  a_index,
const std::string &  a_attribute,
int &  a_val 
)
inline
bool chai3d::cFileXML::getAttribute ( const std::string &  a_name,
int  a_index,
const std::string &  a_attribute,
unsigned int &  a_val 
)
inline
bool chai3d::cFileXML::getAttribute ( const std::string &  a_name,
int  a_index,
const std::string &  a_attribute,
short &  a_val 
)
inline
bool chai3d::cFileXML::getAttribute ( const std::string &  a_name,
int  a_index,
const std::string &  a_attribute,
unsigned short &  a_val 
)
inline
bool chai3d::cFileXML::getAttribute ( const std::string &  a_name,
int  a_index,
const std::string &  a_attribute,
char &  a_val 
)
inline
bool chai3d::cFileXML::getAttribute ( const std::string &  a_name,
int  a_index,
const std::string &  a_attribute,
unsigned char &  a_val 
)
inline
bool chai3d::cFileXML::getAttribute ( const std::string &  a_name,
int  a_index,
const std::string &  a_attribute,
float &  a_val 
)
inline
bool chai3d::cFileXML::getAttribute ( const std::string &  a_name,
int  a_index,
const std::string &  a_attribute,
double &  a_val 
)
inline
bool chai3d::cFileXML::getAttribute ( const std::string &  a_name,
int  a_index,
const std::string &  a_attribute,
std::string &  a_val 
)
inline

The documentation for this class was generated from the following files: