38 const std::map<SumoXMLAttr, std::string>& attrs,
bool includeConfig) {
42 for (std::map<SumoXMLAttr, std::string>::const_iterator it = attrs.begin(); it != attrs.end(); ++it) {
74 into <<
"/>" << comment <<
"\n";
78 into << indent <<
"</" <<
myXMLStack.back() <<
">" << comment <<
"\n";
SumoXMLTag
Numbers representing SUMO-XML - element names.
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
void writeXMLHeader(std::ostream &os, const bool includeConfig=true) const
Writes a standard XML header, including the configuration.
static OptionsCont & getOptions()
Retrieves the options.