25#include <fmt/ostream.h>
41 CSVFormatter(
const std::string& columnNames,
const char separator =
';');
52 void openTag(std::ostream& into,
const std::string& xmlElement);
67 bool closeTag(std::ostream& into,
const std::string& comment =
"");
82 void writeAttr(std::ostream& into,
const std::string& attr,
const T& val) {
125 throw ProcessError(
TLF(
"Unexpected attribute '%', this file format does not support CSV output yet.",
toString(attr)));
129 const std::string attrString =
toString(attr);
std::string time2string(SUMOTime t, bool humanReadable)
convert SUMOTime to string (independently of global format setting)
SumoXMLTag
Numbers representing SUMO-XML - element names.
std::bitset< 96 > SumoXMLAttrMask
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
std::string toString(const T &t, std::streamsize accuracy=gPrecision)