25#pragma warning(disable: 4868)
27#include <fmt/ostream.h>
28#include <fmt/ranges.h>
51 const std::map<SumoXMLAttr, std::string>& attrs,
bool ,
53 if (attrs.size() > 2) {
56 for (
const auto& a : attrs) {
58 writeAttr(into, a.first, a.second,
false,
false);
89 WRITE_WARNING(
"Column based formats are still experimental. Autodetection only works for homogeneous output.");
94 full = uniq.size() <
myHeader.size();
106 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)