65 DEPRECATED(std::string
strip(
const std::string& aline)
const);
76 DEPRECATED(std::string
inquotes(
const std::string& aline)
const);
105 void parseTag(std::string tag, std::string& name,
106 std::map<std::string, std::string>& attribs)
const;
118 std::string
readTag(std::map<std::string, std::string>& attribs);
235 XML_Node& addChild(
const std::string& sname);
246 XML_Node& addChild(
const char* cstring);
275 XML_Node& addChild(
const std::string& name,
const doublereal value,
276 const std::string fmt=
"%g");
293 void addValue(
const std::string& val);
304 void addValue(
const doublereal val,
const std::string fmt=
"%g");
310 std::string
value()
const;
323 std::string
value(
const std::string& cname)
const;
331 std::string
operator()(std::string cname)
const;
367 void addAttribute(
const std::string& attrib,
const doublereal value,
368 const std::string fmt=
"%g");
385 std::string
operator[](
const std::string& attr)
const;
400 std::string
attrib(
const std::string& attr)
const;
416 std::map<std::string,std::string>&
attribs();
425 const std::map<std::string,std::string>&
attribsConst()
const;
456 bool hasChild(
const std::string ch)
const;
487 std::string
id()
const;
501 const std::vector<XML_Node*>&
children()
const;
508 size_t nChildren(
bool discardComments =
false)
const;
522 void _require(
const std::string& a,
const std::string& v)
const;
545 const std::string& idTarget)
const;
568 const std::string& idTarget,
const int index)
const;
590 XML_Node*
findID(
const std::string&
id,
const int depth=100)
const;
611 int depth = 100000)
const;
684 void write(std::ostream& s,
const int level = 0,
int numRecursivesAllowed = 60000)
const;
707 void build(std::istream& f);
753 void write_int(std::ostream& s,
int level = 0,
int numRecursivesAllowed = 60000)
const;