Exemple #1
0
 static void setText(NodeType node, const std::string& text)
 {
     node->InsertEndChild(TiXmlText(text.c_str()));
 }
Exemple #2
0
 static NodeType addChild(NodeType node, const std::string& name)
 {
     return static_cast<NodeType>(node->InsertEndChild(TiXmlElement(name.c_str())));
 }