37 myAdditionalHandler(net, allowUndoRedo),
38 myDemandHandler(file, net, allowUndoRedo) {
98 if (
myQueue.back().additional) {
101 }
else if (
myQueue.back().demand) {
112 additional(additional_),
SumoXMLTag
Numbers representing SUMO-XML - element names.
@ SUMO_TAG_INTERVAL
an aggreagated-output interval
@ SUMO_TAG_FLOW
a flow definitio nusing a from-to edges instead of a route (used by router)
@ SUMO_TAG_PARAM
parameter associated to a certain key
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
bool beginParseAttributes(SumoXMLTag tag, const SUMOSAXAttributes &attrs)
begin parse attributes
void endParseAttributes()
end parse attributes
GNEGeneralHandler(GNENet *net, const std::string &file, const bool allowUndoRedo)
Constructor.
void beginTag(SumoXMLTag tag, const SUMOSAXAttributes &attrs)
start element
~GNEGeneralHandler()
Destructor.
std::list< TagType > myQueue
queue with the inserted tags
GNEAdditionalHandler myAdditionalHandler
additional handler
GNERouteHandler myDemandHandler
demand handler
A NBNetBuilder extended by visualisation and editing capabilities.
bool beginParseAttributes(SumoXMLTag tag, const SUMOSAXAttributes &attrs)
begin parse attributes
void endParseAttributes()
end parse attributes
Encapsulated SAX-Attributes.
TagType(SumoXMLTag tag, const bool additional, const bool demand)
constructor