31 myAdditionalHandler(net, fileBucket, allowUndoRedo),
32 myDemandHandler(net, fileBucket, allowUndoRedo, true),
33 myMeanDataHandler(net, fileBucket, allowUndoRedo) {
160 }
else if (forceOverwrite) {
164 }
else if (forceRemain) {
175 if (
myQueue.back().isNetwork()) {
177 }
else if (
myQueue.back().isAdditional()) {
181 }
else if (
myQueue.back().isDemand()) {
185 }
else if (
myQueue.back().isMeanData()) {
201 return (myType == Type::NETWORK);
207 return (myType == Type::ADDITIONAL);
213 return (myType == Type::DEMAND);
219 return (myType == Type::DATA);
225 return (myType == Type::MEANDATA);
SumoXMLTag
Numbers representing SUMO-XML - element names.
@ SUMO_TAG_INTERVAL
an aggreagated-output interval
@ SUMO_TAG_FLOW
a flow definition using from and to edges or a route
@ SUMO_TAG_PARAM
parameter associated to a certain key
bool beginParseAttributes(SumoXMLTag tag, const SUMOSAXAttributes &attrs)
begin parse attributes
void endParseAttributes()
end parse attributes
void forceRemainElements()
force remain elements (used if we're reloading elements)
bool isForceRemainElements() const
force remain elements (used if we're reloading elements)
bool isForceOverwriteElements() const
force overwritte elements (used if we're reloading elements)
void abortLoading()
abort loading
bool isAbortLoading() const
abort loading
bool isErrorCreatingElement() const
get flag for mark if a element wasn't created
void forceOverwriteElements()
force overwritte elements (used if we're reloading elements)
bool myHasMeanDataElements
flag for meanData elements
bool myHasDemandElements
flag for demand elements
bool isErrorCreatingMeanData() const
check if error creating meanData element
bool isErrorCreatingAdditional() const
check if error creating additional element
bool myHasAdditionalElements
flag for additional elements
bool isErrorCreatingDemand() const
check if error creating demand element
GNEGeneralHandler(GNENet *net, FileBucket *bucket, const bool allowUndoRedo)
Constructor.
bool isAdditionalFile() const
check if the parser file is a additional file
void beginTag(SumoXMLTag tag, const SUMOSAXAttributes &attrs)
start element
bool isRouteFile() const
check if the parser file is a route file
~GNEGeneralHandler()
Destructor.
std::list< TagType > myQueue
queue with the inserted tags
bool isMeanDataFile() const
check if the parser file is a meanData file
void forceOverwriteElements()
force overwritte elements (used if we're reloading elements)
GNEAdditionalHandler myAdditionalHandler
additional handler
bool isErrorCreatingElement() const
get flag for check if a element wasn't created
GNEMeanDataHandler myMeanDataHandler
meanData handler
GNERouteHandler myDemandHandler
demand handler
bool beginParseAttributes(SumoXMLTag tag, const SUMOSAXAttributes &attrs)
begin parse attributes
void endParseAttributes()
end parse attributes
bool beginParseAttributes(SumoXMLTag tag, const SUMOSAXAttributes &attrs)
begin parse attributes
void endParseAttributes()
end parse attributes
Encapsulated SAX-Attributes.
bool isDemand() const
is network element
bool isData() const
is network element
bool isMeanData() const
is network element
TagType(SumoXMLTag tag, Type type)
constructor
bool isNetwork() const
is network element
bool isAdditional() const
is network element