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