Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
RouteHandler Class Referenceabstract

#include <RouteHandler.h>

Inheritance diagram for RouteHandler:
[legend]
Collaboration diagram for RouteHandler:
[legend]

Public Member Functions

void abortLoading ()
 abort loading
bool beginParseAttributes (SumoXMLTag tag, const SUMOSAXAttributes &attrs)
 begin parse attributes
void endParseAttributes ()
 end parse attributes
void forceOverwriteElements ()
 force overwritte elements (used if we're reloading elements)
void forceRemainElements ()
 force remain elements (used if we're reloading elements)
bool isAbortLoading () const
 abort loading
bool isErrorCreatingElement () const
 get flag for mark if a element wasn't created
bool isForceOverwriteElements () const
 force overwritte elements (used if we're reloading elements)
bool isForceRemainElements () const
 force remain elements (used if we're reloading elements)
void parseSumoBaseObject (CommonXMLStructure::SumoBaseObject *obj)
 parse SumoBaseObject (it's called recursivelly)
virtual bool postParserTasks ()=0
 run post parser tasks
 RouteHandler (const std::string &filename, const bool hardFail)
 Constructor.
virtual ~RouteHandler ()
 Destructor.
build functions
virtual bool buildVType (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVTypeParameter &vTypeParameter)=0
 build vType
virtual bool buildVTypeRef (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &vTypeID, const double probability)=0
 build vType ref
virtual bool buildVTypeDistribution (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const int deterministic)=0
 build vType distribution
virtual bool buildRoute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, SUMOVehicleClass vClass, const std::vector< std::string > &edgeIDs, const RGBColor &color, const int repeat, const SUMOTime cycleTime, const double probability, const Parameterised::Map &routeParameters)=0
 build route
virtual bool buildRouteRef (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &routeID, const double probability)=0
 build route ref
virtual bool buildRouteDistribution (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id)=0
 build route distribution
virtual bool buildVehicleOverRoute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameters)=0
 build a vehicle over an existent route
virtual bool buildVehicleEmbeddedRoute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameters, const std::vector< std::string > &edgeIDs, const RGBColor &color, const int repeat, const SUMOTime cycleTime, const Parameterised::Map &routeParameters)=0
 build a vehicle with an embedded route
virtual bool buildFlowOverRoute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameters)=0
 build a flow over an existent route
virtual bool buildFlowEmbeddedRoute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameters, const std::vector< std::string > &edgeIDs, const RGBColor &color, const int repeat, const SUMOTime cycleTime, const Parameterised::Map &routeParameters)=0
 build a flow with an embedded route
virtual bool buildTrip (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameters, const std::string &fromEdgeID, const std::string &toEdgeID)=0
 build trip (from-to edges)
virtual bool buildTripJunctions (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameters, const std::string &fromJunctionID, const std::string &toJunctionID)=0
 build trip (from-to junctions)
virtual bool buildTripTAZs (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameters, const std::string &fromTazID, const std::string &toTazID)=0
 build trip (from-to TAZs)
virtual bool buildFlow (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameters, const std::string &fromEdgeID, const std::string &toEdgeID)=0
 build flow (from-to edges)
virtual bool buildFlowJunctions (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameters, const std::string &fromJunctionID, const std::string &toJunctionID)=0
 build flow (from-to junctions)
virtual bool buildFlowTAZs (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameters, const std::string &fromTAZID, const std::string &toTAZID)=0
 build flow (from-to TAZs)
virtual bool buildPerson (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &personParameters)=0
 build person
virtual bool buildPersonFlow (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &personFlowParameters)=0
 build person flow
virtual bool buildPersonTrip (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const CommonXMLStructure::PlanParameters &planParameters, const double arrivalPos, const std::vector< std::string > &types, const std::vector< std::string > &modes, const std::vector< std::string > &lines, const double walkFactor, const std::string &group)=0
 build person trip
virtual bool buildWalk (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const CommonXMLStructure::PlanParameters &planParameters, const double arrivalPos, const double speed, const SUMOTime duration)=0
 build walk
virtual bool buildRide (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const CommonXMLStructure::PlanParameters &planParameters, const double arrivalPos, const std::vector< std::string > &lines, const std::string &group)=0
 build ride
virtual bool buildContainer (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &containerParameters)=0
 build container
virtual bool buildContainerFlow (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &containerFlowParameters)=0
 build container flow
virtual bool buildTransport (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const CommonXMLStructure::PlanParameters &planParameters, const double arrivalPos, const std::vector< std::string > &lines, const std::string &group)=0
 build transport
virtual bool buildTranship (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const CommonXMLStructure::PlanParameters &planParameters, const double arrivalPosition, const double departPosition, const double speed, const SUMOTime duration)=0
 build tranship
virtual bool buildStop (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const CommonXMLStructure::PlanParameters &planParameters, const SUMOVehicleParameter::Stop &stopParameters)=0
 build stop

Protected Member Functions

CommonXMLStructure::SumoBaseObjectgetEmbeddedRoute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject) const
 get embedded route from children
void parseParameters (const SUMOSAXAttributes &attrs)
 parse generic parameters
bool writeError (const std::string &error)
 write error and enable error creating element
bool writeErrorInvalidLanes (const SumoXMLTag tag, const std::string &id)
 write error "invalid list of lanes"
bool writeErrorInvalidParent (const SumoXMLTag tag, const std::string &id, const std::vector< SumoXMLTag > parentTags, const std::string &parentID)
 write error "invalid parent element" giving ids of current and parent element
bool writeErrorInvalidParent (const SumoXMLTag tag, const std::vector< SumoXMLTag > parentTags)
 write error "invalid parent element" without giving IDs
bool writeErrorInvalidParent (const SumoXMLTag tag, const std::vector< SumoXMLTag > parentTags, const std::string &parentID)
 write error "invalid parent element" giving only the id of parent element
bool writeErrorInvalidPosition (const SumoXMLTag tag, const std::string &id)
 write error "invalid position"
bool writeWarningDuplicated (const SumoXMLTag tag, const std::string &id, const SumoXMLTag checkedTag)
 write warning duplicated element
void writeWarningOverwriting (const SumoXMLTag tag, const std::string &id)
 write warning overwritting element
check functions
void checkParsedParent (const SumoXMLTag currentTag, const std::vector< SumoXMLTag > &parentTags, bool &ok)
 check parsed parents
bool checkListOfVehicleTypes (const SumoXMLTag tag, const std::string &id, const std::vector< std::string > &vTypeIDs)
 check list of IDs
bool checkWithinDistribution (CommonXMLStructure::SumoBaseObject *obj)
 check if the given object is within a distribution (VType or routes)
bool checkVehicleParents (CommonXMLStructure::SumoBaseObject *obj)
 check vehicle parents
bool checkPersonPlanParents (CommonXMLStructure::SumoBaseObject *obj)
 check person plan parents
bool checkContainerPlanParents (CommonXMLStructure::SumoBaseObject *obj)
 check container plan parents
bool checkStopParents (CommonXMLStructure::SumoBaseObject *obj)
 check stop parents
bool checkNegative (const SumoXMLTag tag, const std::string &id, const SumoXMLAttr attribute, const int value, const bool canBeZero)
 check if the given int value is NOT negative
bool checkNegative (const SumoXMLTag tag, const std::string &id, const SumoXMLAttr attribute, const double value, const bool canBeZero)
 check if the given double value is NOT negative
bool checkNegative (const SumoXMLTag tag, const std::string &id, const SumoXMLAttr attribute, const SUMOTime value, const bool canBeZero)
 check if the given SUMOTime value is NOT negative
bool checkFileName (const SumoXMLTag tag, const std::string &id, const SumoXMLAttr attribute, const std::string &value)
 check if the given filename is valid
bool checkValidAdditionalID (const SumoXMLTag tag, const std::string &value)
 check if the given additional ID is valid
bool checkValidDetectorID (const SumoXMLTag tag, const std::string &value)
 check if the given detector ID is valid
bool checkValidDemandElementID (const SumoXMLTag tag, const std::string &value)
 check if the given demand elmement ID is valid

Protected Attributes

bool myAbortLoading = false
 abort loading
CommonXMLStructure myCommonXMLStructure
 common XML Structure
bool myErrorCreatingElement = false
 flag for mark if a element wasn't created
const std::string myFilename
 filename
bool myOverwriteElements = false
 overwrite elements
bool myRemainElements = false
 remain elements

Private Member Functions

void adjustTypesAndProbabilities (std::vector< std::string > &vTypes, std::vector< double > &probabilities)
 adjust types and probabilities
RouteHandleroperator= (const RouteHandler &s)=delete
 invalidate assignment operator
std::string parseParentTags (std::vector< SumoXMLTag > parentTags) const
 parse list of parent tags
 RouteHandler ()=delete
 invalidate default onstructor
 RouteHandler (const RouteHandler &s)=delete
 invalidate copy constructor
parse route element attributes

parse vType

void parseVType (const SUMOSAXAttributes &attrs)
void parseVTypeRef (const SUMOSAXAttributes &attrs)
 parse vType reference
void parseVTypeDistribution (const SUMOSAXAttributes &attrs)
 parse vType distribution
void parseRoute (const SUMOSAXAttributes &attrs)
 parse route
void parseRouteRef (const SUMOSAXAttributes &attrs)
 parse route reference
void parseRouteEmbedded (const SUMOSAXAttributes &attrs)
 parse embedded route
void parseRouteDistribution (const SUMOSAXAttributes &attrs)
 parse route distribution
void parseTrip (const SUMOSAXAttributes &attrs)
 parse trip
void parseVehicle (const SUMOSAXAttributes &attrs)
 parse vehicle (including vehicles over routes and vehicles with embedded routes)
void parseFlow (const SUMOSAXAttributes &attrs)
 parse flow (including flows, flows over routes and flows with embedded routes)
void parseStop (const SUMOSAXAttributes &attrs)
 parse stop
void parsePerson (const SUMOSAXAttributes &attrs)
 parse person
void parsePersonFlow (const SUMOSAXAttributes &attrs)
 parse person flow
void parsePersonTrip (const SUMOSAXAttributes &attrs)
 parse person trip
void parseWalk (const SUMOSAXAttributes &attrs)
 parse walk
void parseRide (const SUMOSAXAttributes &attrs)
 parse ride
void parseContainer (const SUMOSAXAttributes &attrs)
 parse container
void parseContainerFlow (const SUMOSAXAttributes &attrs)
 parse container flow
void parseTransport (const SUMOSAXAttributes &attrs)
 parse transport
void parseTranship (const SUMOSAXAttributes &attrs)
 parse tranship
void parseInterval (const SUMOSAXAttributes &attrs)
 parse interval
bool parseNestedCFM (const SumoXMLTag tag, const SUMOSAXAttributes &attrs, CommonXMLStructure::SumoBaseObject *vTypeObject)
 parse nested CarFollowingModel
bool parseStopParameters (SUMOVehicleParameter::Stop &stop, const SUMOSAXAttributes &attrs)
 parse stop parameters
check functions used for simplify code in handlers
bool isOverFromToEdges (const CommonXMLStructure::SumoBaseObject *sumoBaseObject) const
 check if element is defined over from-to edges
bool isOverFromToJunctions (const CommonXMLStructure::SumoBaseObject *sumoBaseObject) const
 check if element is defined over from-to junctions
bool isOverFromToTAZs (const CommonXMLStructure::SumoBaseObject *sumoBaseObject) const
 check if element is defined over from-to junctions

Private Attributes

SUMOTime myFlowBeginDefault
 The default value for flow begins.
SUMOTime myFlowEndDefault
 The default value for flow ends.
const bool myHardFail
 enable or disable hardFail (stop parsing if parameter aren't correct)

Detailed Description

Definition at line 29 of file RouteHandler.h.

Constructor & Destructor Documentation

◆ RouteHandler() [1/3]

RouteHandler::RouteHandler ( const std::string & filename,
const bool hardFail )

Constructor.

Parameters
[in]filenameName of the parsed file
[in]hardFailenable or disable hardFails (continue handling demand elements if there is an error)

Definition at line 39 of file RouteHandler.cpp.

References CommonHandler::CommonHandler(), myFlowBeginDefault, myFlowEndDefault, myHardFail, and string2time().

Referenced by GNERouteHandler::GNERouteHandler(), operator=(), and RouteHandler().

Here is the caller graph for this function:

◆ ~RouteHandler()

RouteHandler::~RouteHandler ( )
virtual

Destructor.

Definition at line 47 of file RouteHandler.cpp.

◆ RouteHandler() [2/3]

RouteHandler::RouteHandler ( )
privatedelete

invalidate default onstructor

◆ RouteHandler() [3/3]

RouteHandler::RouteHandler ( const RouteHandler & s)
privatedelete

invalidate copy constructor

References RouteHandler().

Member Function Documentation

◆ abortLoading()

void CommonHandler::abortLoading ( )
inherited

abort loading

Definition at line 54 of file CommonHandler.cpp.

References myAbortLoading.

◆ adjustTypesAndProbabilities()

void RouteHandler::adjustTypesAndProbabilities ( std::vector< std::string > & vTypes,
std::vector< double > & probabilities )
private

adjust types and probabilities

Definition at line 1369 of file RouteHandler.cpp.

References INVALID_DOUBLE.

Referenced by parseRouteDistribution(), and parseVTypeDistribution().

Here is the caller graph for this function:

◆ beginParseAttributes()

◆ buildContainer()

virtual bool RouteHandler::buildContainer ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const SUMOVehicleParameter & containerParameters )
pure virtual

build container

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildContainerFlow()

virtual bool RouteHandler::buildContainerFlow ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const SUMOVehicleParameter & containerFlowParameters )
pure virtual

build container flow

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildFlow()

virtual bool RouteHandler::buildFlow ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const SUMOVehicleParameter & vehicleParameters,
const std::string & fromEdgeID,
const std::string & toEdgeID )
pure virtual

build flow (from-to edges)

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildFlowEmbeddedRoute()

virtual bool RouteHandler::buildFlowEmbeddedRoute ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const SUMOVehicleParameter & vehicleParameters,
const std::vector< std::string > & edgeIDs,
const RGBColor & color,
const int repeat,
const SUMOTime cycleTime,
const Parameterised::Map & routeParameters )
pure virtual

build a flow with an embedded route

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildFlowJunctions()

virtual bool RouteHandler::buildFlowJunctions ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const SUMOVehicleParameter & vehicleParameters,
const std::string & fromJunctionID,
const std::string & toJunctionID )
pure virtual

build flow (from-to junctions)

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildFlowOverRoute()

virtual bool RouteHandler::buildFlowOverRoute ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const SUMOVehicleParameter & vehicleParameters )
pure virtual

build a flow over an existent route

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildFlowTAZs()

virtual bool RouteHandler::buildFlowTAZs ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const SUMOVehicleParameter & vehicleParameters,
const std::string & fromTAZID,
const std::string & toTAZID )
pure virtual

build flow (from-to TAZs)

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildPerson()

virtual bool RouteHandler::buildPerson ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const SUMOVehicleParameter & personParameters )
pure virtual

build person

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildPersonFlow()

virtual bool RouteHandler::buildPersonFlow ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const SUMOVehicleParameter & personFlowParameters )
pure virtual

build person flow

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildPersonTrip()

virtual bool RouteHandler::buildPersonTrip ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const CommonXMLStructure::PlanParameters & planParameters,
const double arrivalPos,
const std::vector< std::string > & types,
const std::vector< std::string > & modes,
const std::vector< std::string > & lines,
const double walkFactor,
const std::string & group )
pure virtual

build person trip

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildRide()

virtual bool RouteHandler::buildRide ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const CommonXMLStructure::PlanParameters & planParameters,
const double arrivalPos,
const std::vector< std::string > & lines,
const std::string & group )
pure virtual

build ride

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildRoute()

virtual bool RouteHandler::buildRoute ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const std::string & id,
SUMOVehicleClass vClass,
const std::vector< std::string > & edgeIDs,
const RGBColor & color,
const int repeat,
const SUMOTime cycleTime,
const double probability,
const Parameterised::Map & routeParameters )
pure virtual

build route

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildRouteDistribution()

virtual bool RouteHandler::buildRouteDistribution ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const std::string & id )
pure virtual

build route distribution

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildRouteRef()

virtual bool RouteHandler::buildRouteRef ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const std::string & routeID,
const double probability )
pure virtual

build route ref

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildStop()

virtual bool RouteHandler::buildStop ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const CommonXMLStructure::PlanParameters & planParameters,
const SUMOVehicleParameter::Stop & stopParameters )
pure virtual

build stop

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildTranship()

virtual bool RouteHandler::buildTranship ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const CommonXMLStructure::PlanParameters & planParameters,
const double arrivalPosition,
const double departPosition,
const double speed,
const SUMOTime duration )
pure virtual

build tranship

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildTransport()

virtual bool RouteHandler::buildTransport ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const CommonXMLStructure::PlanParameters & planParameters,
const double arrivalPos,
const std::vector< std::string > & lines,
const std::string & group )
pure virtual

build transport

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildTrip()

virtual bool RouteHandler::buildTrip ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const SUMOVehicleParameter & vehicleParameters,
const std::string & fromEdgeID,
const std::string & toEdgeID )
pure virtual

build trip (from-to edges)

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildTripJunctions()

virtual bool RouteHandler::buildTripJunctions ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const SUMOVehicleParameter & vehicleParameters,
const std::string & fromJunctionID,
const std::string & toJunctionID )
pure virtual

build trip (from-to junctions)

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildTripTAZs()

virtual bool RouteHandler::buildTripTAZs ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const SUMOVehicleParameter & vehicleParameters,
const std::string & fromTazID,
const std::string & toTazID )
pure virtual

build trip (from-to TAZs)

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildVehicleEmbeddedRoute()

virtual bool RouteHandler::buildVehicleEmbeddedRoute ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const SUMOVehicleParameter & vehicleParameters,
const std::vector< std::string > & edgeIDs,
const RGBColor & color,
const int repeat,
const SUMOTime cycleTime,
const Parameterised::Map & routeParameters )
pure virtual

build a vehicle with an embedded route

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildVehicleOverRoute()

virtual bool RouteHandler::buildVehicleOverRoute ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const SUMOVehicleParameter & vehicleParameters )
pure virtual

build a vehicle over an existent route

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildVType()

virtual bool RouteHandler::buildVType ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const SUMOVTypeParameter & vTypeParameter )
pure virtual

build vType

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildVTypeDistribution()

virtual bool RouteHandler::buildVTypeDistribution ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const std::string & id,
const int deterministic )
pure virtual

build vType distribution

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildVTypeRef()

virtual bool RouteHandler::buildVTypeRef ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const std::string & vTypeID,
const double probability )
pure virtual

build vType ref

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ buildWalk()

virtual bool RouteHandler::buildWalk ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject,
const CommonXMLStructure::PlanParameters & planParameters,
const double arrivalPos,
const double speed,
const SUMOTime duration )
pure virtual

build walk

Implemented in GNERouteHandler.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ checkContainerPlanParents()

bool CommonHandler::checkContainerPlanParents ( CommonXMLStructure::SumoBaseObject * obj)
protectedinherited

check container plan parents

Definition at line 229 of file CommonHandler.cpp.

References CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), SUMO_TAG_CONTAINER, and SUMO_TAG_CONTAINERFLOW.

Referenced by RouteHandler::parseSumoBaseObject().

Here is the caller graph for this function:

◆ checkFileName()

bool CommonHandler::checkFileName ( const SumoXMLTag tag,
const std::string & id,
const SumoXMLAttr attribute,
const std::string & value )
protectedinherited

◆ checkListOfVehicleTypes()

bool CommonHandler::checkListOfVehicleTypes ( const SumoXMLTag tag,
const std::string & id,
const std::vector< std::string > & vTypeIDs )
protectedinherited

check list of IDs

Definition at line 158 of file CommonHandler.cpp.

References SUMOXMLDefinitions::isValidTypeID(), TLF, toString(), and writeError().

Referenced by GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), and GNEAdditionalHandler::buildVariableSpeedSign().

Here is the caller graph for this function:

◆ checkNegative() [1/3]

bool CommonHandler::checkNegative ( const SumoXMLTag tag,
const std::string & id,
const SumoXMLAttr attribute,
const double value,
const bool canBeZero )
protectedinherited

check if the given double value is NOT negative

Definition at line 280 of file CommonHandler.cpp.

References invalid_return< std::string >::value, TLF, toString(), and writeError().

◆ checkNegative() [2/3]

bool CommonHandler::checkNegative ( const SumoXMLTag tag,
const std::string & id,
const SumoXMLAttr attribute,
const int value,
const bool canBeZero )
protectedinherited

check if the given int value is NOT negative

Definition at line 262 of file CommonHandler.cpp.

References invalid_return< std::string >::value, TLF, toString(), and writeError().

Referenced by GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEMeanDataHandler::buildEdgeMeanData(), GNEAdditionalHandler::buildLaneCalibrator(), GNEMeanDataHandler::buildLaneMeanData(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNEAdditionalHandler::buildPOI(), GNEAdditionalHandler::buildPOIGeo(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildPolygon(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), GNERouteHandler::buildRoute(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNEAdditionalHandler::buildTractionSubstation(), GNEAdditionalHandler::buildTrainStop(), GNERouteHandler::buildTranship(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNERouteHandler::buildWalk(), AdditionalHandler::parseDestProbRerouteAttributes(), AdditionalHandler::parseParkingAreaRerouteAttributes(), AdditionalHandler::parseRerouterAttributes(), RouteHandler::parseRoute(), RouteHandler::parseRouteEmbedded(), and AdditionalHandler::parseRouteProbRerouteAttributes().

Here is the caller graph for this function:

◆ checkNegative() [3/3]

bool CommonHandler::checkNegative ( const SumoXMLTag tag,
const std::string & id,
const SumoXMLAttr attribute,
const SUMOTime value,
const bool canBeZero )
protectedinherited

check if the given SUMOTime value is NOT negative

Definition at line 298 of file CommonHandler.cpp.

References invalid_return< std::string >::value, time2string(), TLF, toString(), and writeError().

◆ checkParsedParent()

◆ checkPersonPlanParents()

bool CommonHandler::checkPersonPlanParents ( CommonXMLStructure::SumoBaseObject * obj)
protectedinherited

check person plan parents

Definition at line 214 of file CommonHandler.cpp.

References CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), SUMO_TAG_PERSON, and SUMO_TAG_PERSONFLOW.

Referenced by RouteHandler::parseSumoBaseObject().

Here is the caller graph for this function:

◆ checkStopParents()

bool CommonHandler::checkStopParents ( CommonXMLStructure::SumoBaseObject * obj)
protectedinherited

check stop parents

Definition at line 244 of file CommonHandler.cpp.

References CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), SUMO_TAG_CONTAINER, SUMO_TAG_CONTAINERFLOW, SUMO_TAG_FLOW, SUMO_TAG_PERSON, SUMO_TAG_PERSONFLOW, SUMO_TAG_ROUTE, SUMO_TAG_TRIP, and SUMO_TAG_VEHICLE.

Referenced by RouteHandler::parseSumoBaseObject().

Here is the caller graph for this function:

◆ checkValidAdditionalID()

◆ checkValidDemandElementID()

◆ checkValidDetectorID()

bool CommonHandler::checkValidDetectorID ( const SumoXMLTag tag,
const std::string & value )
protectedinherited

check if the given detector ID is valid

Definition at line 338 of file CommonHandler.cpp.

References invalid_return< std::string >::value, SUMOXMLDefinitions::isValidDetectorID(), TLF, toString(), and writeError().

Referenced by GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), and GNEAdditionalHandler::buildSingleLaneDetectorE2().

Here is the caller graph for this function:

◆ checkVehicleParents()

bool CommonHandler::checkVehicleParents ( CommonXMLStructure::SumoBaseObject * obj)
protectedinherited

check vehicle parents

Definition at line 183 of file CommonHandler.cpp.

References getEmbeddedRoute(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getTag(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), SUMO_ATTR_FROM, SUMO_ATTR_FROM_JUNCTION, SUMO_ATTR_FROM_TAZ, SUMO_ATTR_ID, SUMO_ATTR_ROUTE, SUMO_ATTR_TO, SUMO_ATTR_TO_JUNCTION, SUMO_ATTR_TO_TAZ, TLF, toString(), and writeError().

Referenced by RouteHandler::parseSumoBaseObject().

Here is the caller graph for this function:

◆ checkWithinDistribution()

bool CommonHandler::checkWithinDistribution ( CommonXMLStructure::SumoBaseObject * obj)
protectedinherited

check if the given object is within a distribution (VType or routes)

Definition at line 169 of file CommonHandler.cpp.

References CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getTag(), SUMO_TAG_ROUTE_DISTRIBUTION, and SUMO_TAG_VTYPE_DISTRIBUTION.

◆ endParseAttributes()

◆ forceOverwriteElements()

void CommonHandler::forceOverwriteElements ( )
inherited

force overwritte elements (used if we're reloading elements)

Definition at line 42 of file CommonHandler.cpp.

References myOverwriteElements.

Referenced by GNEApplicationWindow::onCmdReloadDataElements().

Here is the caller graph for this function:

◆ forceRemainElements()

void CommonHandler::forceRemainElements ( )
inherited

force remain elements (used if we're reloading elements)

Definition at line 48 of file CommonHandler.cpp.

References myRemainElements.

◆ getEmbeddedRoute()

CommonXMLStructure::SumoBaseObject * CommonHandler::getEmbeddedRoute ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject) const
protectedinherited

get embedded route from children

Definition at line 115 of file CommonHandler.cpp.

References CommonXMLStructure::SumoBaseObject::getSumoBaseObjectChildren(), SUMO_ATTR_ID, and SUMO_TAG_ROUTE.

Referenced by checkVehicleParents(), and RouteHandler::parseSumoBaseObject().

Here is the caller graph for this function:

◆ isAbortLoading()

bool CommonHandler::isAbortLoading ( ) const
inherited

abort loading

Definition at line 78 of file CommonHandler.cpp.

References myAbortLoading.

◆ isErrorCreatingElement()

bool CommonHandler::isErrorCreatingElement ( ) const
inherited

get flag for mark if a element wasn't created

Definition at line 60 of file CommonHandler.cpp.

References myErrorCreatingElement.

Referenced by GNEApplicationWindow::loadDataElements(), and GNEApplicationWindow::onCmdOpenDataElements().

Here is the caller graph for this function:

◆ isForceOverwriteElements()

bool CommonHandler::isForceOverwriteElements ( ) const
inherited

force overwritte elements (used if we're reloading elements)

Definition at line 66 of file CommonHandler.cpp.

References myOverwriteElements.

◆ isForceRemainElements()

bool CommonHandler::isForceRemainElements ( ) const
inherited

force remain elements (used if we're reloading elements)

Definition at line 72 of file CommonHandler.cpp.

References myRemainElements.

◆ isOverFromToEdges()

bool RouteHandler::isOverFromToEdges ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject) const
private

check if element is defined over from-to edges

Definition at line 1351 of file RouteHandler.cpp.

References CommonXMLStructure::SumoBaseObject::hasStringAttribute(), SUMO_ATTR_FROM, and SUMO_ATTR_TO.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ isOverFromToJunctions()

bool RouteHandler::isOverFromToJunctions ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject) const
private

check if element is defined over from-to junctions

Definition at line 1357 of file RouteHandler.cpp.

References CommonXMLStructure::SumoBaseObject::hasStringAttribute(), SUMO_ATTR_FROM_JUNCTION, and SUMO_ATTR_TO_JUNCTION.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ isOverFromToTAZs()

bool RouteHandler::isOverFromToTAZs ( const CommonXMLStructure::SumoBaseObject * sumoBaseObject) const
private

check if element is defined over from-to junctions

Definition at line 1363 of file RouteHandler.cpp.

References CommonXMLStructure::SumoBaseObject::hasStringAttribute(), SUMO_ATTR_FROM_TAZ, and SUMO_ATTR_TO_TAZ.

Referenced by parseSumoBaseObject().

Here is the caller graph for this function:

◆ operator=()

RouteHandler & RouteHandler::operator= ( const RouteHandler & s)
privatedelete

invalidate assignment operator

References RouteHandler().

◆ parseContainer()

void RouteHandler::parseContainer ( const SUMOSAXAttributes & attrs)
private

parse container

Definition at line 1033 of file RouteHandler.cpp.

References CommonHandler::myCommonXMLStructure, myHardFail, SUMOVehicleParserHelper::parseVehicleAttributes(), SUMO_TAG_CONTAINER, and SUMO_TAG_ERROR.

Referenced by beginParseAttributes().

Here is the caller graph for this function:

◆ parseContainerFlow()

void RouteHandler::parseContainerFlow ( const SUMOSAXAttributes & attrs)
private

parse container flow

Definition at line 1050 of file RouteHandler.cpp.

References CommonHandler::myCommonXMLStructure, myFlowBeginDefault, myFlowEndDefault, myHardFail, SUMOVehicleParserHelper::parseFlowAttributes(), SUMO_TAG_CONTAINERFLOW, and SUMO_TAG_ERROR.

Referenced by beginParseAttributes().

Here is the caller graph for this function:

◆ parseFlow()

void RouteHandler::parseFlow ( const SUMOSAXAttributes & attrs)
private

parse flow (including flows, flows over routes and flows with embedded routes)

Definition at line 788 of file RouteHandler.cpp.

References SUMOSAXAttributes::get(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::hasAttribute(), SUMOVehicleParameter::id, CommonHandler::myCommonXMLStructure, myFlowBeginDefault, myFlowEndDefault, myHardFail, SUMOVehicleParserHelper::parseFlowAttributes(), SUMO_ATTR_FROM, SUMO_ATTR_FROM_JUNCTION, SUMO_ATTR_FROM_TAZ, SUMO_ATTR_ROUTE, SUMO_ATTR_TO, SUMO_ATTR_TO_JUNCTION, SUMO_ATTR_TO_TAZ, SUMO_ATTR_VIA, SUMO_TAG_ERROR, SUMO_TAG_FLOW, TL, and CommonHandler::writeError().

Referenced by beginParseAttributes().

Here is the caller graph for this function:

◆ parseInterval()

void RouteHandler::parseInterval ( const SUMOSAXAttributes & attrs)
private

parse interval

Definition at line 1126 of file RouteHandler.cpp.

References SUMOSAXAttributes::getSUMOTimeReporting(), myFlowBeginDefault, myFlowEndDefault, SUMO_ATTR_BEGIN, and SUMO_ATTR_END.

Referenced by beginParseAttributes().

Here is the caller graph for this function:

◆ parseNestedCFM()

bool RouteHandler::parseNestedCFM ( const SumoXMLTag tag,
const SUMOSAXAttributes & attrs,
CommonXMLStructure::SumoBaseObject * vTypeObject )
private

parse nested CarFollowingModel

Definition at line 1136 of file RouteHandler.cpp.

References CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getVehicleTypeParameter(), myHardFail, SUMOVehicleParserHelper::parseCFMParams(), CommonXMLStructure::SumoBaseObject::setVehicleTypeParameter(), SUMO_ATTR_ID, TL, WRITE_WARNINGF, and CommonHandler::writeError().

Referenced by beginParseAttributes().

Here is the caller graph for this function:

◆ parseParameters()

void CommonHandler::parseParameters ( const SUMOSAXAttributes & attrs)
protectedinherited

parse generic parameters

Definition at line 84 of file CommonHandler.cpp.

References SUMOSAXAttributes::get(), SUMOSAXAttributes::getString(), SUMOSAXAttributes::hasAttribute(), invalid_return< std::string >::value, SUMOXMLDefinitions::isValidParameterKey(), myCommonXMLStructure, SUMO_ATTR_KEY, SUMO_ATTR_VALUE, SUMO_TAG_ERROR, SUMO_TAG_PARAM, SUMO_TAG_ROOTFILE, TL, TLF, toString(), and writeError().

Referenced by AdditionalHandler::beginParseAttributes(), and RouteHandler::beginParseAttributes().

Here is the caller graph for this function:

◆ parseParentTags()

std::string CommonHandler::parseParentTags ( std::vector< SumoXMLTag > parentTags) const
privateinherited

parse list of parent tags

Definition at line 425 of file CommonHandler.cpp.

References TL, and toString().

Referenced by writeErrorInvalidParent(), writeErrorInvalidParent(), and writeErrorInvalidParent().

Here is the caller graph for this function:

◆ parsePerson()

void RouteHandler::parsePerson ( const SUMOSAXAttributes & attrs)
private

parse person

Definition at line 898 of file RouteHandler.cpp.

References CommonHandler::myCommonXMLStructure, myHardFail, SUMOVehicleParserHelper::parseVehicleAttributes(), SUMO_TAG_ERROR, and SUMO_TAG_PERSON.

Referenced by beginParseAttributes().

Here is the caller graph for this function:

◆ parsePersonFlow()

void RouteHandler::parsePersonFlow ( const SUMOSAXAttributes & attrs)
private

parse person flow

Definition at line 915 of file RouteHandler.cpp.

References CommonHandler::myCommonXMLStructure, myFlowBeginDefault, myFlowEndDefault, myHardFail, SUMOVehicleParserHelper::parseFlowAttributes(), SUMO_TAG_ERROR, and SUMO_TAG_PERSONFLOW.

Referenced by beginParseAttributes().

Here is the caller graph for this function:

◆ parsePersonTrip()

void RouteHandler::parsePersonTrip ( const SUMOSAXAttributes & attrs)
private

◆ parseRide()

void RouteHandler::parseRide ( const SUMOSAXAttributes & attrs)
private

parse ride

Definition at line 1007 of file RouteHandler.cpp.

References CommonHandler::checkParsedParent(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, NamespaceIDs::persons, SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_GROUP, SUMO_ATTR_LINES, SUMO_TAG_ERROR, and SUMO_TAG_RIDE.

Referenced by beginParseAttributes().

Here is the caller graph for this function:

◆ parseRoute()

void RouteHandler::parseRoute ( const SUMOSAXAttributes & attrs)
private

◆ parseRouteDistribution()

void RouteHandler::parseRouteDistribution ( const SUMOSAXAttributes & attrs)
private

parse route distribution

Definition at line 665 of file RouteHandler.cpp.

References adjustTypesAndProbabilities(), SUMOSAXAttributes::get(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, SUMO_ATTR_ID, SUMO_ATTR_PROB, SUMO_ATTR_PROBS, SUMO_ATTR_REFID, SUMO_ATTR_ROUTES, SUMO_TAG_ERROR, SUMO_TAG_ROUTE, and SUMO_TAG_ROUTE_DISTRIBUTION.

Referenced by beginParseAttributes().

Here is the caller graph for this function:

◆ parseRouteEmbedded()

void RouteHandler::parseRouteEmbedded ( const SUMOSAXAttributes & attrs)
private

◆ parseRouteRef()

void RouteHandler::parseRouteRef ( const SUMOSAXAttributes & attrs)
private

parse route reference

Definition at line 606 of file RouteHandler.cpp.

References SUMOSAXAttributes::get(), SUMOSAXAttributes::getOpt(), INVALID_DOUBLE, CommonHandler::myCommonXMLStructure, SUMO_ATTR_PROB, SUMO_ATTR_REFID, SUMO_TAG_ERROR, and SUMO_TAG_ROUTE.

Referenced by beginParseAttributes().

Here is the caller graph for this function:

◆ parseStop()

void RouteHandler::parseStop ( const SUMOSAXAttributes & attrs)
private

parse stop

Definition at line 869 of file RouteHandler.cpp.

References CommonHandler::checkParsedParent(), NamespaceIDs::containers, CommonHandler::myCommonXMLStructure, parseStopParameters(), NamespaceIDs::persons, NamespaceIDs::routes, SUMO_TAG_ERROR, SUMO_TAG_STOP, and NamespaceIDs::vehicles.

Referenced by beginParseAttributes().

Here is the caller graph for this function:

◆ parseStopParameters()

bool RouteHandler::parseStopParameters ( SUMOVehicleParameter::Stop & stop,
const SUMOSAXAttributes & attrs )
private

parse stop parameters

Definition at line 1154 of file RouteHandler.cpp.

References SUMOVehicleParameter::Stop::actType, SUMOVehicleParameter::Stop::arrival, SUMOVehicleParameter::Stop::awaitedContainers, SUMOVehicleParameter::Stop::awaitedPersons, SUMOVehicleParameter::Stop::busstop, SUMOVehicleParameter::Stop::chargingStation, SUMOVehicleParameter::Stop::containerstop, SUMOVehicleParameter::Stop::containerTriggered, SUMOVehicleParameter::Stop::duration, SUMOVehicleParameter::Stop::edge, SUMOVehicleParameter::Stop::ended, SUMOVehicleParameter::Stop::endPos, SUMOVehicleParameter::Stop::extension, SUMOVehicleParameter::Stop::friendlyPos, SUMOSAXAttributes::get(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptSUMOTimeReporting(), SUMOSAXAttributes::hasAttribute(), SUMOVehicleParameter::Stop::index, INVALID_DOUBLE, SUMOVehicleParameter::Stop::join, SUMOVehicleParameter::Stop::jump, SUMOVehicleParameter::Stop::jumpUntil, SUMOVehicleParameter::Stop::lane, SUMOVehicleParameter::Stop::line, OFFROAD, SUMOVehicleParameter::Stop::onDemand, ONROAD, SUMOVehicleParameter::Stop::overheadWireSegment, SUMOVehicleParameter::Stop::parametersSet, SUMOVehicleParameter::Stop::parking, SUMOVehicleParameter::Stop::parkingarea, SUMOVehicleParameter::parseStopTriggers(), SUMOVehicleParameter::Stop::permitted, SUMOVehicleParameter::Stop::posLat, SUMOVehicleParameter::Stop::speed, SUMOVehicleParameter::Stop::split, SUMOVehicleParameter::Stop::started, SUMOVehicleParameter::Stop::startPos, STOP_ARRIVAL_SET, STOP_CONTAINER_TRIGGER_SET, STOP_DURATION_SET, STOP_END_SET, STOP_ENDED_SET, STOP_EXPECTED_CONTAINERS_SET, STOP_EXPECTED_SET, STOP_EXTENSION_SET, STOP_INDEX_END, STOP_INDEX_FIT, STOP_JOIN_SET, STOP_JUMP_SET, STOP_JUMP_UNTIL_SET, STOP_LINE_SET, STOP_ONDEMAND_SET, STOP_PARKING_SET, STOP_PERMITTED_SET, STOP_POSLAT_SET, STOP_SPEED_SET, STOP_SPLIT_SET, STOP_START_SET, STOP_STARTED_SET, STOP_TRIGGER_SET, STOP_TRIP_ID_SET, STOP_UNTIL_SET, SUMO_ATTR_ACTTYPE, SUMO_ATTR_ARRIVAL, SUMO_ATTR_BUS_STOP, SUMO_ATTR_CHARGING_STATION, SUMO_ATTR_CONTAINER_STOP, SUMO_ATTR_CONTAINER_TRIGGERED, SUMO_ATTR_DURATION, SUMO_ATTR_EDGE, SUMO_ATTR_ENDED, SUMO_ATTR_ENDPOS, SUMO_ATTR_EXPECTED, SUMO_ATTR_EXPECTED_CONTAINERS, SUMO_ATTR_EXTENSION, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_INDEX, SUMO_ATTR_JOIN, SUMO_ATTR_JUMP, SUMO_ATTR_JUMP_UNTIL, SUMO_ATTR_LANE, SUMO_ATTR_LINE, SUMO_ATTR_ONDEMAND, SUMO_ATTR_OVERHEAD_WIRE_SEGMENT, SUMO_ATTR_PARKING, SUMO_ATTR_PARKING_AREA, SUMO_ATTR_PERMITTED, SUMO_ATTR_POSITION_LAT, SUMO_ATTR_SPEED, SUMO_ATTR_SPLIT, SUMO_ATTR_STARTED, SUMO_ATTR_STARTPOS, SUMO_ATTR_TRAIN_STOP, SUMO_ATTR_TRIGGERED, SUMO_ATTR_TRIP_ID, SUMO_ATTR_UNTIL, SUMO_TAG_CONTAINER, TL, toString(), SUMOVehicleParameter::Stop::triggered, SUMOVehicleParameter::Stop::tripId, SUMOVehicleParameter::Stop::until, WRITE_WARNING, and CommonHandler::writeError().

Referenced by parseStop().

Here is the caller graph for this function:

◆ parseSumoBaseObject()

void RouteHandler::parseSumoBaseObject ( CommonXMLStructure::SumoBaseObject * obj)

parse SumoBaseObject (it's called recursivelly)

Definition at line 223 of file RouteHandler.cpp.

References buildContainer(), buildContainerFlow(), buildFlow(), buildFlowEmbeddedRoute(), buildFlowJunctions(), buildFlowOverRoute(), buildFlowTAZs(), buildPerson(), buildPersonFlow(), buildPersonTrip(), buildRide(), buildRoute(), buildRouteDistribution(), buildRouteRef(), buildStop(), buildTranship(), buildTransport(), buildTrip(), buildTripJunctions(), buildTripTAZs(), buildVehicleEmbeddedRoute(), buildVehicleOverRoute(), buildVType(), buildVTypeDistribution(), buildVTypeRef(), buildWalk(), CommonHandler::checkContainerPlanParents(), CommonHandler::checkPersonPlanParents(), CommonHandler::checkStopParents(), CommonHandler::checkVehicleParents(), CommonXMLStructure::SumoBaseObject::getColorAttribute(), CommonXMLStructure::SumoBaseObject::getDoubleAttribute(), CommonHandler::getEmbeddedRoute(), CommonXMLStructure::SumoBaseObject::getIntAttribute(), CommonXMLStructure::SumoBaseObject::getParameters(), CommonXMLStructure::SumoBaseObject::getPlanParameters(), CommonXMLStructure::SumoBaseObject::getStopParameter(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getStringListAttribute(), CommonXMLStructure::SumoBaseObject::getSumoBaseObjectChildren(), CommonXMLStructure::SumoBaseObject::getTag(), CommonXMLStructure::SumoBaseObject::getTimeAttribute(), CommonXMLStructure::SumoBaseObject::getVClass(), CommonXMLStructure::SumoBaseObject::getVehicleParameter(), CommonXMLStructure::SumoBaseObject::getVehicleTypeParameter(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), isOverFromToEdges(), isOverFromToJunctions(), isOverFromToTAZs(), CommonXMLStructure::SumoBaseObject::markAsCreated(), CommonHandler::myAbortLoading, parseSumoBaseObject(), SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_COLOR, SUMO_ATTR_CYCLETIME, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_DETERMINISTIC, SUMO_ATTR_DURATION, SUMO_ATTR_EDGES, SUMO_ATTR_FROM, SUMO_ATTR_FROM_JUNCTION, SUMO_ATTR_FROM_TAZ, SUMO_ATTR_GROUP, SUMO_ATTR_ID, SUMO_ATTR_LINES, SUMO_ATTR_MODES, SUMO_ATTR_PROB, SUMO_ATTR_REFID, SUMO_ATTR_REPEAT, SUMO_ATTR_ROUTE, SUMO_ATTR_SPEED, SUMO_ATTR_TO, SUMO_ATTR_TO_JUNCTION, SUMO_ATTR_TO_TAZ, SUMO_ATTR_VTYPES, SUMO_ATTR_WALKFACTOR, SUMO_TAG_CONTAINER, SUMO_TAG_CONTAINERFLOW, SUMO_TAG_FLOW, SUMO_TAG_PERSON, SUMO_TAG_PERSONFLOW, SUMO_TAG_PERSONTRIP, SUMO_TAG_RIDE, SUMO_TAG_ROUTE, SUMO_TAG_ROUTE_DISTRIBUTION, SUMO_TAG_STOP, SUMO_TAG_TRANSHIP, SUMO_TAG_TRANSPORT, SUMO_TAG_TRIP, SUMO_TAG_VEHICLE, SUMO_TAG_VTYPE, SUMO_TAG_VTYPE_DISTRIBUTION, and SUMO_TAG_WALK.

Referenced by GNEContainerFrame::buildContainer(), GNEPersonFrame::buildPerson(), GNEVehicleFrame::buildVehicleOverRoute(), GNERouteFrame::createPath(), GNEVehicleFrame::createPath(), endParseAttributes(), and parseSumoBaseObject().

Here is the caller graph for this function:

◆ parseTranship()

void RouteHandler::parseTranship ( const SUMOSAXAttributes & attrs)
private

parse tranship

Definition at line 1093 of file RouteHandler.cpp.

References CommonHandler::checkParsedParent(), NamespaceIDs::containers, SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptSUMOTimeReporting(), SUMOSAXAttributes::hasAttribute(), CommonHandler::myCommonXMLStructure, SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_DURATION, SUMO_ATTR_SPEED, SUMO_TAG_ERROR, SUMO_TAG_TRANSHIP, TL, and CommonHandler::writeError().

Referenced by beginParseAttributes().

Here is the caller graph for this function:

◆ parseTransport()

void RouteHandler::parseTransport ( const SUMOSAXAttributes & attrs)
private

parse transport

Definition at line 1067 of file RouteHandler.cpp.

References CommonHandler::checkParsedParent(), NamespaceIDs::containers, SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_GROUP, SUMO_ATTR_LINES, SUMO_TAG_ERROR, and SUMO_TAG_TRANSPORT.

Referenced by beginParseAttributes().

Here is the caller graph for this function:

◆ parseTrip()

void RouteHandler::parseTrip ( const SUMOSAXAttributes & attrs)
private

◆ parseVehicle()

void RouteHandler::parseVehicle ( const SUMOSAXAttributes & attrs)
private

parse vehicle (including vehicles over routes and vehicles with embedded routes)

Definition at line 771 of file RouteHandler.cpp.

References CommonHandler::myCommonXMLStructure, myHardFail, SUMOVehicleParserHelper::parseVehicleAttributes(), SUMO_TAG_ERROR, and SUMO_TAG_VEHICLE.

Referenced by beginParseAttributes().

Here is the caller graph for this function:

◆ parseVType()

void RouteHandler::parseVType ( const SUMOSAXAttributes & attrs)
private

Definition at line 496 of file RouteHandler.cpp.

References SUMOVehicleParserHelper::beginVTypeParsing(), CommonHandler::myCommonXMLStructure, CommonHandler::myFilename, myHardFail, SUMO_TAG_ERROR, and SUMO_TAG_VTYPE.

Referenced by beginParseAttributes().

Here is the caller graph for this function:

◆ parseVTypeDistribution()

void RouteHandler::parseVTypeDistribution ( const SUMOSAXAttributes & attrs)
private

parse vType distribution

Definition at line 532 of file RouteHandler.cpp.

References adjustTypesAndProbabilities(), SUMOSAXAttributes::get(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, SUMO_ATTR_DETERMINISTIC, SUMO_ATTR_ID, SUMO_ATTR_PROB, SUMO_ATTR_PROBS, SUMO_ATTR_REFID, SUMO_ATTR_VTYPES, SUMO_TAG_ERROR, SUMO_TAG_VTYPE, and SUMO_TAG_VTYPE_DISTRIBUTION.

Referenced by beginParseAttributes().

Here is the caller graph for this function:

◆ parseVTypeRef()

void RouteHandler::parseVTypeRef ( const SUMOSAXAttributes & attrs)
private

parse vType reference

Definition at line 513 of file RouteHandler.cpp.

References SUMOSAXAttributes::get(), SUMOSAXAttributes::getOpt(), INVALID_DOUBLE, CommonHandler::myCommonXMLStructure, SUMO_ATTR_PROB, SUMO_ATTR_REFID, SUMO_TAG_ERROR, and SUMO_TAG_VTYPE.

Referenced by beginParseAttributes().

Here is the caller graph for this function:

◆ parseWalk()

void RouteHandler::parseWalk ( const SUMOSAXAttributes & attrs)
private

parse walk

Definition at line 974 of file RouteHandler.cpp.

References CommonHandler::checkParsedParent(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptSUMOTimeReporting(), SUMOSAXAttributes::hasAttribute(), CommonHandler::myCommonXMLStructure, NamespaceIDs::persons, SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_DURATION, SUMO_ATTR_SPEED, SUMO_TAG_ERROR, SUMO_TAG_WALK, TL, and CommonHandler::writeError().

Referenced by beginParseAttributes().

Here is the caller graph for this function:

◆ postParserTasks()

virtual bool RouteHandler::postParserTasks ( )
pure virtual

run post parser tasks

Implemented in GNERouteHandler.

◆ writeError()

bool CommonHandler::writeError ( const std::string & error)
protectedinherited

write error and enable error creating element

Definition at line 375 of file CommonHandler.cpp.

References myErrorCreatingElement, and WRITE_ERROR.

Referenced by AdditionalHandler::beginParseAttributes(), MeanDataHandler::beginParseAttributes(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildChargingStation(), GNERouteHandler::buildContainer(), GNERouteHandler::buildContainerFlow(), GNERouteHandler::buildContainerStop(), GNEDataHandler::buildEdgeData(), GNEDataHandler::buildEdgeRelationData(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowJunctions(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowTAZs(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildOverheadWire(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNERouteHandler::buildPersonStop(), GNERouteHandler::buildPersonTrip(), GNEAdditionalHandler::buildPOIGeo(), GNEAdditionalHandler::buildRerouterInterval(), GNERouteHandler::buildRide(), GNERouteHandler::buildRoute(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEAdditionalHandler::buildTAZ(), GNEDataHandler::buildTAZRelationData(), GNERouteHandler::buildTranship(), GNERouteHandler::buildTransport(), GNERouteHandler::buildTrip(), GNERouteHandler::buildTripJunctions(), GNERouteHandler::buildTripTAZs(), GNEAdditionalHandler::buildVaporizer(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildWalk(), AdditionalHandler::checkCalibratorFlowParents(), AdditionalHandler::checkDetectPersons(), GNEMeanDataHandler::checkExcludeEmpty(), checkFileName(), checkListOfVehicleTypes(), checkNegative(), checkNegative(), checkNegative(), DataHandler::checkParent(), checkParsedParent(), MeanDataHandler::checkType(), checkValidAdditionalID(), checkValidDemandElementID(), checkValidDetectorID(), checkVehicleParents(), GNERouteHandler::checkViaAttribute(), GNERouteHandler::getDistributionElements(), DataHandler::myStartElement(), GNEMeanDataHandler::parseAttributes(), AdditionalHandler::parseCalibratorAttributes(), AdditionalHandler::parseCalibratorFlowAttributes(), AdditionalHandler::parseChargingStationAttributes(), AdditionalHandler::parseE2Attributes(), GNEAdditionalHandler::parseEdges(), GNEMeanDataHandler::parseEdges(), GNERouteHandler::parseEdges(), RouteHandler::parseFlow(), GNEAdditionalHandler::parseLanes(), RouteHandler::parseNestedCFM(), parseParameters(), AdditionalHandler::parsePOIAttributes(), RouteHandler::parseRouteEmbedded(), RouteHandler::parseStopParameters(), RouteHandler::parseTranship(), RouteHandler::parseTrip(), RouteHandler::parseWalk(), writeErrorInvalidLanes(), writeErrorInvalidParent(), writeErrorInvalidParent(), writeErrorInvalidParent(), and writeErrorInvalidPosition().

◆ writeErrorInvalidLanes()

bool CommonHandler::writeErrorInvalidLanes ( const SumoXMLTag tag,
const std::string & id )
protectedinherited

write error "invalid list of lanes"

Definition at line 389 of file CommonHandler.cpp.

References TLF, toString(), and writeError().

◆ writeErrorInvalidParent() [1/3]

bool CommonHandler::writeErrorInvalidParent ( const SumoXMLTag tag,
const std::string & id,
const std::vector< SumoXMLTag > parentTags,
const std::string & parentID )
protectedinherited

write error "invalid parent element" giving ids of current and parent element

Definition at line 395 of file CommonHandler.cpp.

References parseParentTags(), TLF, toString(), and writeError().

Referenced by GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::buildContainerStop(), GNERouteHandler::buildContainerStop(), GNEAdditionalHandler::buildDestProbReroute(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEDataHandler::buildEdgeData(), GNEDataHandler::buildEdgeRelationData(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowJunctions(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowTAZs(), GNEAdditionalHandler::buildLaneCalibrator(), GNEAdditionalHandler::buildOverheadWire(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingAreaReroute(), GNEAdditionalHandler::buildParkingSpace(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildPersonStop(), GNERouteHandler::buildPersonTrip(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildRerouterInterval(), GNERouteHandler::buildRide(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNERouteHandler::buildRouteRef(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEDataHandler::buildTAZRelationData(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNEAdditionalHandler::buildTrainStop(), GNERouteHandler::buildTranship(), GNERouteHandler::buildTransport(), GNERouteHandler::buildTrip(), GNERouteHandler::buildTripJunctions(), GNERouteHandler::buildTripTAZs(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVTypeRef(), GNERouteHandler::buildWalk(), GNERouteHandler::parseEdge(), GNERouteHandler::parseJunction(), and GNERouteHandler::parseTAZ().

◆ writeErrorInvalidParent() [2/3]

bool CommonHandler::writeErrorInvalidParent ( const SumoXMLTag tag,
const std::vector< SumoXMLTag > parentTags )
protectedinherited

write error "invalid parent element" without giving IDs

Definition at line 415 of file CommonHandler.cpp.

References parseParentTags(), TLF, toString(), and writeError().

◆ writeErrorInvalidParent() [3/3]

bool CommonHandler::writeErrorInvalidParent ( const SumoXMLTag tag,
const std::vector< SumoXMLTag > parentTags,
const std::string & parentID )
protectedinherited

write error "invalid parent element" giving only the id of parent element

Definition at line 405 of file CommonHandler.cpp.

References parseParentTags(), TLF, toString(), and writeError().

◆ writeErrorInvalidPosition()

◆ writeWarningDuplicated()

bool CommonHandler::writeWarningDuplicated ( const SumoXMLTag tag,
const std::string & id,
const SumoXMLTag checkedTag )
protectedinherited

write warning duplicated element

Definition at line 368 of file CommonHandler.cpp.

References TLF, toString(), and WRITE_WARNING.

Referenced by GNEDataHandler::checkDuplicatedDataSet(), GNEMeanDataHandler::checkDuplicatedMeanDataElement(), GNEAdditionalHandler::checkElement(), and GNERouteHandler::checkElement().

Here is the caller graph for this function:

◆ writeWarningOverwriting()

void CommonHandler::writeWarningOverwriting ( const SumoXMLTag tag,
const std::string & id )
protectedinherited

write warning overwritting element

Definition at line 362 of file CommonHandler.cpp.

References TLF, toString(), and WRITE_WARNING.

Field Documentation

◆ myAbortLoading

bool CommonHandler::myAbortLoading = false
protectedinherited

◆ myCommonXMLStructure

CommonXMLStructure CommonHandler::myCommonXMLStructure
protectedinherited

common XML Structure

Definition at line 74 of file CommonHandler.h.

Referenced by AdditionalHandler::beginParseAttributes(), MeanDataHandler::beginParseAttributes(), RouteHandler::beginParseAttributes(), AdditionalHandler::checkCalibratorFlowParents(), DataHandler::checkParent(), checkParsedParent(), AdditionalHandler::endParseAttributes(), MeanDataHandler::endParseAttributes(), RouteHandler::endParseAttributes(), DataHandler::getAttributes(), DataHandler::myEndElement(), DataHandler::myStartElement(), AdditionalHandler::parseAccessAttributes(), AdditionalHandler::parseBusStopAttributes(), AdditionalHandler::parseCalibratorAttributes(), AdditionalHandler::parseCalibratorFlowAttributes(), AdditionalHandler::parseChargingStationAttributes(), AdditionalHandler::parseClosingLaneRerouteAttributes(), AdditionalHandler::parseClosingRerouteAttributes(), RouteHandler::parseContainer(), RouteHandler::parseContainerFlow(), AdditionalHandler::parseContainerStopAttributes(), AdditionalHandler::parseDestProbRerouteAttributes(), AdditionalHandler::parseE1Attributes(), AdditionalHandler::parseE1InstantAttributes(), AdditionalHandler::parseE2Attributes(), AdditionalHandler::parseE3Attributes(), DataHandler::parseEdgeData(), MeanDataHandler::parseEdgeMeanData(), DataHandler::parseEdgeRelationData(), AdditionalHandler::parseEntryAttributes(), AdditionalHandler::parseExitAttributes(), RouteHandler::parseFlow(), DataHandler::parseInterval(), AdditionalHandler::parseJpsObstacleAttributes(), AdditionalHandler::parseJpsWalkableAreaAttributes(), MeanDataHandler::parseLaneMeanData(), AdditionalHandler::parseOverheadWire(), AdditionalHandler::parseOverheadWireClamp(), parseParameters(), AdditionalHandler::parseParkingAreaAttributes(), AdditionalHandler::parseParkingAreaRerouteAttributes(), AdditionalHandler::parseParkingSpaceAttributes(), RouteHandler::parsePerson(), RouteHandler::parsePersonFlow(), RouteHandler::parsePersonTrip(), AdditionalHandler::parsePOIAttributes(), AdditionalHandler::parsePolyAttributes(), AdditionalHandler::parseRerouterAttributes(), AdditionalHandler::parseRerouterIntervalAttributes(), RouteHandler::parseRide(), RouteHandler::parseRoute(), RouteHandler::parseRouteDistribution(), RouteHandler::parseRouteEmbedded(), AdditionalHandler::parseRouteProbeAttributes(), AdditionalHandler::parseRouteProbRerouteAttributes(), RouteHandler::parseRouteRef(), RouteHandler::parseStop(), AdditionalHandler::parseTAZAttributes(), DataHandler::parseTAZRelationData(), AdditionalHandler::parseTAZSinkAttributes(), AdditionalHandler::parseTAZSourceAttributes(), AdditionalHandler::parseTractionSubstation(), AdditionalHandler::parseTrainStopAttributes(), RouteHandler::parseTranship(), RouteHandler::parseTransport(), RouteHandler::parseTrip(), AdditionalHandler::parseVaporizerAttributes(), AdditionalHandler::parseVariableSpeedSignAttributes(), AdditionalHandler::parseVariableSpeedSignStepAttributes(), RouteHandler::parseVehicle(), RouteHandler::parseVType(), RouteHandler::parseVTypeDistribution(), RouteHandler::parseVTypeRef(), and RouteHandler::parseWalk().

◆ myErrorCreatingElement

bool CommonHandler::myErrorCreatingElement = false
protectedinherited

flag for mark if a element wasn't created

Definition at line 77 of file CommonHandler.h.

Referenced by isErrorCreatingElement(), and writeError().

◆ myFilename

const std::string CommonHandler::myFilename
protectedinherited

filename

Definition at line 71 of file CommonHandler.h.

Referenced by GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildChargingStation(), GNERouteHandler::buildContainer(), GNERouteHandler::buildContainerFlow(), GNEAdditionalHandler::buildContainerStop(), GNEDataHandler::buildDataInterval(), GNEDataHandler::buildDataSet(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEMeanDataHandler::buildEdgeMeanData(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowJunctions(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowTAZs(), GNEAdditionalHandler::buildJpsObstacle(), GNEAdditionalHandler::buildJpsWalkableArea(), GNEAdditionalHandler::buildLaneCalibrator(), GNEMeanDataHandler::buildLaneMeanData(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildOverheadWire(), GNEAdditionalHandler::buildParkingArea(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNEAdditionalHandler::buildPOI(), GNEAdditionalHandler::buildPOIGeo(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildPolygon(), GNEAdditionalHandler::buildRerouter(), GNERouteHandler::buildRoute(), GNERouteHandler::buildRouteDistribution(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNEAdditionalHandler::buildTAZ(), GNEAdditionalHandler::buildTractionSubstation(), GNEAdditionalHandler::buildTrainStop(), GNERouteHandler::buildTrip(), GNERouteHandler::buildTripJunctions(), GNERouteHandler::buildTripTAZs(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVType(), GNERouteHandler::buildVTypeDistribution(), CommonHandler(), and RouteHandler::parseVType().

◆ myFlowBeginDefault

SUMOTime RouteHandler::myFlowBeginDefault
private

The default value for flow begins.

Definition at line 160 of file RouteHandler.h.

Referenced by parseContainerFlow(), parseFlow(), parseInterval(), parsePersonFlow(), and RouteHandler().

◆ myFlowEndDefault

SUMOTime RouteHandler::myFlowEndDefault
private

The default value for flow ends.

Definition at line 163 of file RouteHandler.h.

Referenced by parseContainerFlow(), parseFlow(), parseInterval(), parsePersonFlow(), and RouteHandler().

◆ myHardFail

const bool RouteHandler::myHardFail
private

enable or disable hardFail (stop parsing if parameter aren't correct)

Definition at line 157 of file RouteHandler.h.

Referenced by parseContainer(), parseContainerFlow(), parseFlow(), parseNestedCFM(), parsePerson(), parsePersonFlow(), parseTrip(), parseVehicle(), parseVType(), and RouteHandler().

◆ myOverwriteElements

◆ myRemainElements


The documentation for this class was generated from the following files: