204 bool xmlReadBoolChild(xmlDocPtr doc, xmlNodePtr node);
205 char *xmlReadCharChild(xmlDocPtr doc, xmlNodePtr node);
206 double xmlReadDoubleChild(xmlDocPtr doc, xmlNodePtr node);
207 float xmlReadFloatChild(xmlDocPtr doc, xmlNodePtr node);
208 int xmlReadIntChild(xmlDocPtr doc, xmlNodePtr node);
209 std::string xmlReadStringChild(xmlDocPtr doc, xmlNodePtr node);
210 unsigned int xmlReadUnsignedIntChild(xmlDocPtr doc, xmlNodePtr node);
212 void xmlWriteBoolChild(xmlNodePtr node,
const char *label,
bool value);
213 void xmlWriteCharChild(xmlNodePtr node,
const char *label,
const char *value);
214 void xmlWriteDoubleChild(xmlNodePtr node,
const char *label,
double value);
215 void xmlWriteFloatChild(xmlNodePtr node,
const char *label,
float value);
216 void xmlWriteIntChild(xmlNodePtr node,
const char *label,
int value);
217 void xmlWriteStringChild(xmlNodePtr node,
const char *label,
const std::string &value);
218 void xmlWriteUnsignedIntChild(xmlNodePtr node,
const char *label,
unsigned int value);
239 void parse(
const std::string &filename);
240 void save(
const std::string &filename,
bool append =
false);
285 void setMap(
const std::map<std::string, int> &_map) { nodeMap = _map; }
294 inline void setMainTag(
const std::string &tag) { main_tag = tag; }