40 CSVFormatter(
const std::string& columnNames,
const char separator =
';');
51 void openTag(std::ostream& into,
const std::string& xmlElement);
66 bool closeTag(std::ostream& into,
const std::string& comment =
"");
81 void writeAttr(std::ostream& into,
const std::string& attr,
const T& val,
const bool isNull) {
113 throw ProcessError(
TLF(
"Unexpected attribute '%', this file format does not support CSV output yet.",
toString(attr)));
119 template <
class ATTR_TYPE>
123 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)