#include <libxml/tree.h>
#include <string>
Go to the source code of this file.
Namespaces | |
namespace | XML |
Classes | |
class | XML::Document |
A helper class for parsing an XML document, which also cleans it up again (RAII). More... | |
Defines | |
#define | for_each_xml_child_node(var, parent) for (xmlNodePtr var = parent->xmlChildrenNode; var; var = var->next) |
Functions | |
int | XML::getProperty (xmlNodePtr node, const char *name, int def) |
Gets an integer property from an xmlNodePtr. | |
double | XML::getFloatProperty (xmlNodePtr node, const char *name, double def) |
Gets an floating point property from an xmlNodePtr. | |
std::string | XML::getProperty (xmlNodePtr node, const char *name, const std::string &def) |
Gets a string property from an xmlNodePtr. | |
xmlNodePtr | XML::findFirstChildByName (xmlNodePtr parent, const char *name) |
Finds the first child node with the given name. |
#define for_each_xml_child_node | ( | var, | |||
parent | ) | for (xmlNodePtr var = parent->xmlChildrenNode; var; var = var->next) |