32 : myDefaultIndentation(defaultIndentation), myHavePendingOpener(false) {
49 const std::map<SumoXMLAttr, std::string>& attrs,
bool includeConfig) {
53 for (std::map<SumoXMLAttr, std::string>::const_iterator it = attrs.begin(); it != attrs.end(); ++it) {
85 into <<
"/>" << comment <<
"\n";
89 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.