|
Fluid Dynamics Library
|
Collection of functions for manipulating TinyXML structures. More...
#include <xmlutil.hpp>
Public Member Functions | |
| bool | getValue (const TiXmlNode *node, const char *tag, int &val) |
| Extracts an integer from the XML tag in the node. | |
| bool | getValue (const TiXmlNode *node, const char *tag, scalar_t &val) |
| Extracts a "scalar" from the XML tag in the node. | |
| void | getRGBVector (const TiXmlElement *elt, float *RGB) |
| Extract an RGB-vector from attributes of an XML element. | |
Collection of functions for manipulating TinyXML structures.
Definition at line 33 of file xmlutil.hpp.
| void fdl::XmlUtil< scalar_t >::getRGBVector | ( | const TiXmlElement * | elt, |
| float * | RGB | ||
| ) |
Extract an RGB-vector from attributes of an XML element.
Expects an TiXmlElemet of the form
<TagName r="0.3" g="0.1" b="0.4">
Definition at line 85 of file xmlutil.hpp.
| bool fdl::XmlUtil< scalar_t >::getValue | ( | const TiXmlNode * | node, |
| const char * | tag, | ||
| int & | val | ||
| ) |
Extracts an integer from the XML tag in the node.
Definition at line 47 of file xmlutil.hpp.
| bool fdl::XmlUtil< scalar_t >::getValue | ( | const TiXmlNode * | node, |
| const char * | tag, | ||
| scalar_t & | val | ||
| ) |
Extracts a "scalar" from the XML tag in the node.
Definition at line 65 of file xmlutil.hpp.
1.7.4