22 #ifndef OutputDevice_h
23 #define OutputDevice_h
88 const std::string& base =
"");
108 const std::string& rootElement =
"");
146 OutputDevice(
const bool binary =
false,
const unsigned int defaultIndentation = 0);
184 const std::string xmlParams =
"",
185 const std::string& attrs =
"",
186 const std::string& comment =
"");
189 template <
typename E>
195 return myFormatter->
writeXMLHeader(
getOStream(),
"routes",
"",
"xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"http://sumo.sf.net/xsd/routes_file.xsd\"");
239 bool closeTag(
bool abbreviated =
false);
273 template <
typename T>
290 void inform(
const std::string& msg,
const char progress = 0);