20 #ifndef PlainXMLFormatter_h
21 #define PlainXMLFormatter_h
68 bool writeXMLHeader(std::ostream& into,
const std::string& rootElement,
69 const std::string xmlParams =
"",
70 const std::string& attrs =
"",
71 const std::string& comment =
"");
84 void openTag(std::ostream& into,
const std::string& xmlElement);
113 bool closeTag(std::ostream& into,
bool abbreviated =
false);
122 void writeAttr(std::ostream& into,
const std::string& attr,
const std::string& val);
133 into <<
" " <<
toString(attr) <<
"=\"" <<
toString(val, into.precision()) <<
"\"";