 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
33 : myDefaultIndentation(defaultIndentation), myHavePendingOpener(false) {
50 const std::map<SumoXMLAttr, std::string>& attrs) {
54 for (std::map<SumoXMLAttr, std::string>::const_iterator it = attrs.begin(); it != attrs.end(); ++it) {
86 into <<
"/>" << comment <<
"\n";
90 into << indent <<
"</" <<
myXMLStack.back() <<
">" << comment <<
"\n";
void writeXMLHeader(std::ostream &os, const bool includeConfig=true) const
Writes a standard XML header, including the configuration.
static OptionsCont & getOptions()
Retrieves the options.
SumoXMLTag
Numbers representing SUMO-XML - element names.
std::string toString(const T &t, std::streamsize accuracy=gPrecision)