23#include <fmt/ostream.h>
24#include <fmt/ranges.h>
44 const std::map<SumoXMLAttr, std::string>& attrs,
bool ,
46 if (attrs.size() > 2) {
49 for (
const auto& a : attrs) {
51 writeAttr(into, a.first, a.second,
false,
false);
82 WRITE_WARNING(
"Column based formats are still experimental. Autodetection only works for homogeneous output.");
87 full = uniq.size() <
myHeader.size();
99 const std::string row = fmt::format(
"{}", fmt::join(
myValues, std::string_view(&
mySeparator, 1)));
#define WRITE_WARNING(msg)
SumoXMLTag
Numbers representing SUMO-XML - element names.
@ SUMO_ATTR_SCHEMA_LOCATION
std::string joinToString(const std::vector< T > &v, const T_BETWEEN &between, std::streamsize accuracy=gPrecision)
std::string toString(const T &t, std::streamsize accuracy=gPrecision)