helper functions.
|
Classes |
class | Document |
| A helper class for parsing an XML document, which also cleans it up again (RAII). More...
|
Functions |
int | getProperty (xmlNodePtr node, const char *name, int def) |
| Gets an integer property from an xmlNodePtr.
|
double | getFloatProperty (xmlNodePtr node, const char *name, double def) |
| Gets an floating point property from an xmlNodePtr.
|
std::string | getProperty (xmlNodePtr node, const char *name, const std::string &def) |
| Gets a string property from an xmlNodePtr.
|
xmlNodePtr | findFirstChildByName (xmlNodePtr parent, const char *name) |
| Finds the first child node with the given name.
|