37 CSVFormatter(
const std::string& columnNames,
const char separator =
';');
48 void openTag(std::ostream& into,
const std::string& xmlElement);
63 bool closeTag(std::ostream& into,
const std::string& comment =
"");
78 void writeAttr(std::ostream& into,
const std::string& attr,
const T& val,
const bool isNull) {
110 throw ProcessError(
TLF(
"Unexpected attribute '%', this file format does not support CSV output yet.",
toString(attr)));
116 template <
class ATTR_TYPE>
120 std::string headerName =
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)