![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <RouteHandler.h>
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::SumoBaseObject * | getEmbeddedRoute (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 | writeErrorEmptyEdges (const SumoXMLTag tag, const std::string &id) |
write error "empty edges" | |
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 SumoXMLTag parentTag, const std::string &parentID) |
write error "invalid parent element" giving ids of current and parent element | |
bool | writeErrorInvalidParent (const SumoXMLTag tag, const SumoXMLTag parentTag) |
write error "invalid parent element" without giving IDs | |
bool | writeErrorInvalidParent (const SumoXMLTag tag, const SumoXMLTag parentTag, 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 | |
RouteHandler & | operator= (const RouteHandler &s)=delete |
invalidate assignment operator | |
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) | |
Definition at line 29 of file RouteHandler.h.
RouteHandler::RouteHandler | ( | const std::string & | filename, |
const bool | hardFail | ||
) |
Constructor.
[in] | filename | Name of the parsed file |
[in] | hardFail | enable or disable hardFails (continue handling demand elements if there is an error) |
Definition at line 39 of file RouteHandler.cpp.
|
virtual |
Destructor.
Definition at line 47 of file RouteHandler.cpp.
|
privatedelete |
invalidate default onstructor
|
privatedelete |
invalidate copy constructor
|
inherited |
abort loading
Definition at line 54 of file CommonHandler.cpp.
References CommonHandler::myAbortLoading.
Referenced by GNEGeneralHandler::beginTag(), and GNEOverwriteElement::onCmdAbort().
bool RouteHandler::beginParseAttributes | ( | SumoXMLTag | tag, |
const SUMOSAXAttributes & | attrs | ||
) |
begin parse attributes
Definition at line 51 of file RouteHandler.cpp.
References CommonXMLStructure::abortSUMOBaseOBject(), CommonXMLStructure::getCurrentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::getSumoBaseObjectRoot(), CommonXMLStructure::SumoBaseObject::getTag(), SUMOSAXAttributes::hasAttribute(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::openSUMOBaseOBject(), parseContainer(), parseContainerFlow(), parseFlow(), parseInterval(), parseNestedCFM(), CommonHandler::parseParameters(), parsePerson(), parsePersonFlow(), parsePersonTrip(), parseRide(), parseRoute(), parseRouteDistribution(), parseRouteEmbedded(), parseRouteRef(), parseStop(), parseTranship(), parseTransport(), parseTrip(), parseVehicle(), parseVType(), parseVTypeDistribution(), parseVTypeRef(), parseWalk(), SUMO_ATTR_REFID, SUMO_TAG_CONTAINER, SUMO_TAG_CONTAINERFLOW, SUMO_TAG_ERROR, SUMO_TAG_FLOW, SUMO_TAG_INTERVAL, SUMO_TAG_PARAM, 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, SUMO_TAG_WALK, and WRITE_ERROR.
Referenced by GNEGeneralHandler::beginTag().
|
pure virtual |
build container
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build container flow
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build flow (from-to edges)
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build a flow with an embedded route
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build flow (from-to junctions)
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build a flow over an existent route
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build flow (from-to TAZs)
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build person
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build person flow
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build person trip
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build ride
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build route
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build route distribution
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build route ref
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build stop
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build tranship
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build transport
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build trip (from-to edges)
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build trip (from-to junctions)
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build trip (from-to TAZs)
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build a vehicle with an embedded route
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build a vehicle over an existent route
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build vType
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build vType distribution
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build vType ref
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
build walk
Implemented in GNERouteHandler.
Referenced by parseSumoBaseObject().
|
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 parseSumoBaseObject().
|
protectedinherited |
check if the given filename is valid
Definition at line 316 of file CommonHandler.cpp.
References SUMOXMLDefinitions::isValidFilename(), TLF, toString(), and CommonHandler::writeError().
Referenced by GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildPOI(), GNEAdditionalHandler::buildPOIGeo(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildRouteProbe(), and GNEAdditionalHandler::buildSingleLaneDetectorE2().
|
protectedinherited |
check list of IDs
Definition at line 158 of file CommonHandler.cpp.
References SUMOXMLDefinitions::isValidTypeID(), TLF, toString(), and CommonHandler::writeError().
Referenced by GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), and GNEAdditionalHandler::buildVariableSpeedSign().
|
protectedinherited |
check if the given double value is NOT negative
Definition at line 280 of file CommonHandler.cpp.
References TLF, toString(), and CommonHandler::writeError().
|
protectedinherited |
check if the given int value is NOT negative
Definition at line 262 of file CommonHandler.cpp.
References TLF, toString(), and CommonHandler::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(), parseRoute(), parseRouteEmbedded(), and AdditionalHandler::parseRouteProbRerouteAttributes().
|
protectedinherited |
check if the given SUMOTime value is NOT negative
Definition at line 298 of file CommonHandler.cpp.
References time2string(), TLF, toString(), and CommonHandler::writeError().
|
protectedinherited |
check parsed parents
Definition at line 127 of file CommonHandler.cpp.
References CommonXMLStructure::getCurrentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getTag(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), CommonHandler::myCommonXMLStructure, SUMO_ATTR_ID, SUMO_TAG_ERROR, TLF, toString(), and CommonHandler::writeError().
Referenced by AdditionalHandler::parseAccessAttributes(), AdditionalHandler::parseClosingLaneRerouteAttributes(), AdditionalHandler::parseClosingRerouteAttributes(), AdditionalHandler::parseDestProbRerouteAttributes(), AdditionalHandler::parseEntryAttributes(), AdditionalHandler::parseExitAttributes(), AdditionalHandler::parseParkingAreaRerouteAttributes(), AdditionalHandler::parseParkingSpaceAttributes(), parsePersonTrip(), AdditionalHandler::parseRerouterIntervalAttributes(), parseRide(), AdditionalHandler::parseRouteProbRerouteAttributes(), parseStop(), AdditionalHandler::parseTAZSinkAttributes(), AdditionalHandler::parseTAZSourceAttributes(), parseTranship(), parseTransport(), AdditionalHandler::parseVariableSpeedSignStepAttributes(), and parseWalk().
|
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 parseSumoBaseObject().
|
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 parseSumoBaseObject().
|
protectedinherited |
check if the given additional ID is valid
Definition at line 326 of file CommonHandler.cpp.
References SUMOXMLDefinitions::isValidVehicleID(), TLF, toString(), and CommonHandler::writeError().
Referenced by GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildContainerStop(), GNEDataHandler::buildDataSet(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEMeanDataHandler::buildEdgeMeanData(), GNEAdditionalHandler::buildJpsObstacle(), GNEAdditionalHandler::buildJpsWalkableArea(), GNEAdditionalHandler::buildLaneCalibrator(), GNEMeanDataHandler::buildLaneMeanData(), GNEAdditionalHandler::buildOverheadWire(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildPOI(), GNEAdditionalHandler::buildPOIGeo(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildPolygon(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildTAZ(), GNEAdditionalHandler::buildTractionSubstation(), GNEAdditionalHandler::buildTrainStop(), GNEAdditionalHandler::buildVaporizer(), and GNEAdditionalHandler::buildVariableSpeedSign().
|
protectedinherited |
check if the given demand elmement ID is valid
Definition at line 350 of file CommonHandler.cpp.
References SUMOXMLDefinitions::isValidVehicleID(), TLF, toString(), and CommonHandler::writeError().
Referenced by GNERouteHandler::buildContainer(), GNERouteHandler::buildContainerFlow(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowJunctions(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowTAZs(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildRoute(), GNERouteHandler::buildRouteDistribution(), GNERouteHandler::buildTrip(), GNERouteHandler::buildTripJunctions(), GNERouteHandler::buildTripTAZs(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVType(), and GNERouteHandler::buildVTypeDistribution().
|
protectedinherited |
check if the given detector ID is valid
Definition at line 338 of file CommonHandler.cpp.
References SUMOXMLDefinitions::isValidDetectorID(), TLF, toString(), and CommonHandler::writeError().
Referenced by GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), and GNEAdditionalHandler::buildSingleLaneDetectorE2().
|
protectedinherited |
check vehicle parents
Definition at line 183 of file CommonHandler.cpp.
References CommonHandler::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 CommonHandler::writeError().
Referenced by parseSumoBaseObject().
|
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.
void RouteHandler::endParseAttributes | ( | ) |
end parse attributes
Definition at line 165 of file RouteHandler.cpp.
References CommonXMLStructure::closeSUMOBaseOBject(), CommonXMLStructure::getCurrentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getDoubleListAttribute(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringListAttribute(), CommonXMLStructure::SumoBaseObject::getSumoBaseObjectChildren(), CommonXMLStructure::SumoBaseObject::getTag(), CommonHandler::myCommonXMLStructure, parseSumoBaseObject(), SUMO_ATTR_ID, SUMO_ATTR_PROB, SUMO_ATTR_PROBS, SUMO_ATTR_REFID, SUMO_ATTR_ROUTES, SUMO_ATTR_VTYPES, SUMO_TAG_CONTAINER, SUMO_TAG_CONTAINERFLOW, SUMO_TAG_FLOW, SUMO_TAG_PERSON, SUMO_TAG_PERSONFLOW, SUMO_TAG_ROUTE, SUMO_TAG_ROUTE_DISTRIBUTION, SUMO_TAG_TRIP, SUMO_TAG_VEHICLE, SUMO_TAG_VTYPE, and SUMO_TAG_VTYPE_DISTRIBUTION.
Referenced by GNEGeneralHandler::endTag().
|
inherited |
force overwritte elements (used if we're reloading elements)
Definition at line 42 of file CommonHandler.cpp.
References CommonHandler::myOverwriteElements.
Referenced by GNEGeneralHandler::beginTag(), GNEGeneralHandler::forceOverwriteElements(), GNEOverwriteElement::onCmdAccept(), and GNEApplicationWindow::onCmdReloadDataElements().
|
inherited |
force remain elements (used if we're reloading elements)
Definition at line 48 of file CommonHandler.cpp.
References CommonHandler::myRemainElements.
Referenced by GNEGeneralHandler::beginTag(), and GNEOverwriteElement::onCmdCancel().
|
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 CommonHandler::checkVehicleParents(), and parseSumoBaseObject().
|
inherited |
abort loading
Definition at line 78 of file CommonHandler.cpp.
References CommonHandler::myAbortLoading.
Referenced by GNEGeneralHandler::beginTag().
|
inherited |
get flag for mark if a element wasn't created
Definition at line 60 of file CommonHandler.cpp.
References CommonHandler::myErrorCreatingElement.
Referenced by GNEGeneralHandler::isErrorCreatingElement(), and GNEApplicationWindow::loadDataElements().
|
inherited |
force overwritte elements (used if we're reloading elements)
Definition at line 66 of file CommonHandler.cpp.
References CommonHandler::myOverwriteElements.
Referenced by GNEGeneralHandler::beginTag().
|
inherited |
force remain elements (used if we're reloading elements)
Definition at line 72 of file CommonHandler.cpp.
References CommonHandler::myRemainElements.
Referenced by GNEGeneralHandler::beginTag().
|
private |
check if element is defined over from-to edges
Definition at line 1364 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::hasStringAttribute(), SUMO_ATTR_FROM, and SUMO_ATTR_TO.
Referenced by parseSumoBaseObject().
|
private |
check if element is defined over from-to junctions
Definition at line 1370 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::hasStringAttribute(), SUMO_ATTR_FROM_JUNCTION, and SUMO_ATTR_TO_JUNCTION.
Referenced by parseSumoBaseObject().
|
private |
check if element is defined over from-to junctions
Definition at line 1376 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::hasStringAttribute(), SUMO_ATTR_FROM_TAZ, and SUMO_ATTR_TO_TAZ.
Referenced by parseSumoBaseObject().
|
privatedelete |
invalidate assignment operator
|
private |
parse container
Definition at line 1041 of file RouteHandler.cpp.
References CommonXMLStructure::getCurrentSumoBaseObject(), CommonHandler::myCommonXMLStructure, myHardFail, SUMOVehicleParserHelper::parseVehicleAttributes(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVehicleParameter(), SUMO_TAG_CONTAINER, and SUMO_TAG_ERROR.
Referenced by beginParseAttributes().
|
private |
parse container flow
Definition at line 1058 of file RouteHandler.cpp.
References CommonXMLStructure::getCurrentSumoBaseObject(), CommonHandler::myCommonXMLStructure, myFlowBeginDefault, myFlowEndDefault, myHardFail, SUMOVehicleParserHelper::parseFlowAttributes(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVehicleParameter(), SUMO_TAG_CONTAINERFLOW, and SUMO_TAG_ERROR.
Referenced by beginParseAttributes().
|
private |
parse flow (including flows, flows over routes and flows with embedded routes)
Definition at line 796 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::hasAttribute(), SUMOVehicleParameter::id, CommonHandler::myCommonXMLStructure, myFlowBeginDefault, myFlowEndDefault, myHardFail, SUMOVehicleParserHelper::parseFlowAttributes(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVehicleParameter(), 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().
|
private |
parse interval
Definition at line 1134 of file RouteHandler.cpp.
References SUMOSAXAttributes::getSUMOTimeReporting(), myFlowBeginDefault, myFlowEndDefault, SUMO_ATTR_BEGIN, and SUMO_ATTR_END.
Referenced by beginParseAttributes().
|
private |
parse nested CarFollowingModel
Definition at line 1144 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().
|
protectedinherited |
parse generic parameters
Definition at line 84 of file CommonHandler.cpp.
References SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), SUMOSAXAttributes::getString(), SUMOSAXAttributes::hasAttribute(), SUMOXMLDefinitions::isValidParameterKey(), CommonHandler::myCommonXMLStructure, SUMO_ATTR_KEY, SUMO_ATTR_VALUE, SUMO_TAG_ERROR, SUMO_TAG_PARAM, SUMO_TAG_ROOTFILE, TL, TLF, toString(), and CommonHandler::writeError().
Referenced by AdditionalHandler::beginParseAttributes(), and beginParseAttributes().
|
private |
parse person
Definition at line 906 of file RouteHandler.cpp.
References CommonXMLStructure::getCurrentSumoBaseObject(), CommonHandler::myCommonXMLStructure, myHardFail, SUMOVehicleParserHelper::parseVehicleAttributes(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVehicleParameter(), SUMO_TAG_ERROR, and SUMO_TAG_PERSON.
Referenced by beginParseAttributes().
|
private |
parse person flow
Definition at line 923 of file RouteHandler.cpp.
References CommonXMLStructure::getCurrentSumoBaseObject(), CommonHandler::myCommonXMLStructure, myFlowBeginDefault, myFlowEndDefault, myHardFail, SUMOVehicleParserHelper::parseFlowAttributes(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVehicleParameter(), SUMO_TAG_ERROR, and SUMO_TAG_PERSONFLOW.
Referenced by beginParseAttributes().
|
private |
parse person trip
Definition at line 940 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonHandler::checkParsedParent(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, SUMOVehicleParameter::parsePersonModes(), NamespaceIDs::persons, CommonXMLStructure::SumoBaseObject::setPlanParameters(), CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_GROUP, SUMO_ATTR_LINES, SUMO_ATTR_MODES, SUMO_ATTR_VIA, SUMO_ATTR_VTYPES, SUMO_ATTR_WALKFACTOR, SUMO_TAG_ERROR, SUMO_TAG_PERSONTRIP, toString(), and WRITE_WARNING.
Referenced by beginParseAttributes().
|
private |
parse ride
Definition at line 1015 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonHandler::checkParsedParent(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, NamespaceIDs::persons, CommonXMLStructure::SumoBaseObject::setPlanParameters(), CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_GROUP, SUMO_ATTR_LINES, SUMO_TAG_ERROR, and SUMO_TAG_RIDE.
Referenced by beginParseAttributes().
|
private |
parse route
Definition at line 590 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addColorAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addIntAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), CommonHandler::checkNegative(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptSUMOTimeReporting(), RGBColor::INVISIBLE, CommonHandler::myCommonXMLStructure, SUMOVehicleParserHelper::parseVehicleClass(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVClass(), SUMO_ATTR_COLOR, SUMO_ATTR_CYCLETIME, SUMO_ATTR_EDGES, SUMO_ATTR_ID, SUMO_ATTR_PROB, SUMO_ATTR_REPEAT, SUMO_TAG_ERROR, and SUMO_TAG_ROUTE.
Referenced by beginParseAttributes().
|
private |
parse route distribution
Definition at line 686 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleListAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_PROBS, SUMO_ATTR_ROUTES, SUMO_TAG_ERROR, and SUMO_TAG_ROUTE_DISTRIBUTION.
Referenced by beginParseAttributes().
|
private |
parse embedded route
Definition at line 646 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addColorAttribute(), CommonXMLStructure::SumoBaseObject::addIntAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), CommonHandler::checkNegative(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptSUMOTimeReporting(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getVehicleParameter(), SUMOSAXAttributes::hasAttribute(), SUMOVehicleParameter::id, RGBColor::INVISIBLE, CommonHandler::myCommonXMLStructure, SUMOVehicleParserHelper::parseVehicleClass(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVClass(), SUMO_ATTR_COLOR, SUMO_ATTR_CYCLETIME, SUMO_ATTR_EDGES, SUMO_ATTR_ID, SUMO_ATTR_REPEAT, SUMO_TAG_ERROR, SUMO_TAG_ROUTE, TL, and CommonHandler::writeError().
Referenced by beginParseAttributes().
|
private |
parse route reference
Definition at line 627 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_PROB, SUMO_ATTR_REFID, SUMO_TAG_ERROR, and SUMO_TAG_ROUTE.
Referenced by beginParseAttributes().
|
private |
parse stop
Definition at line 877 of file RouteHandler.cpp.
References CommonHandler::checkParsedParent(), NamespaceIDs::containers, CommonXMLStructure::getCurrentSumoBaseObject(), CommonHandler::myCommonXMLStructure, parseStopParameters(), NamespaceIDs::persons, NamespaceIDs::routes, CommonXMLStructure::SumoBaseObject::setPlanParameters(), CommonXMLStructure::SumoBaseObject::setStopParameter(), CommonXMLStructure::SumoBaseObject::setTag(), SUMO_TAG_ERROR, SUMO_TAG_STOP, and NamespaceIDs::vehicles.
Referenced by beginParseAttributes().
|
private |
parse stop parameters
Definition at line 1163 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().
void RouteHandler::parseSumoBaseObject | ( | CommonXMLStructure::SumoBaseObject * | obj | ) |
parse SumoBaseObject (it's called recursivelly)
Definition at line 257 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 GNERouteFrame::createPath(), endParseAttributes(), and parseSumoBaseObject().
|
private |
parse tranship
Definition at line 1101 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), CommonHandler::checkParsedParent(), NamespaceIDs::containers, CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptSUMOTimeReporting(), SUMOSAXAttributes::hasAttribute(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setPlanParameters(), CommonXMLStructure::SumoBaseObject::setTag(), 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().
|
private |
parse transport
Definition at line 1075 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonHandler::checkParsedParent(), NamespaceIDs::containers, CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setPlanParameters(), CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_GROUP, SUMO_ATTR_LINES, SUMO_TAG_ERROR, and SUMO_TAG_TRANSPORT.
Referenced by beginParseAttributes().
|
private |
parse trip
Definition at line 708 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::hasAttribute(), SUMOVehicleParameter::id, CommonHandler::myCommonXMLStructure, myHardFail, SUMOVehicleParserHelper::parseVehicleAttributes(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVehicleParameter(), SUMO_ATTR_FROM, SUMO_ATTR_FROM_JUNCTION, SUMO_ATTR_FROM_TAZ, SUMO_ATTR_TO, SUMO_ATTR_TO_JUNCTION, SUMO_ATTR_TO_TAZ, SUMO_ATTR_VIA, SUMO_TAG_ERROR, SUMO_TAG_TRIP, TL, and CommonHandler::writeError().
Referenced by beginParseAttributes().
|
private |
parse vehicle (including vehicles over routes and vehicles with embedded routes)
Definition at line 779 of file RouteHandler.cpp.
References CommonXMLStructure::getCurrentSumoBaseObject(), CommonHandler::myCommonXMLStructure, myHardFail, SUMOVehicleParserHelper::parseVehicleAttributes(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVehicleParameter(), SUMO_TAG_ERROR, and SUMO_TAG_VEHICLE.
Referenced by beginParseAttributes().
|
private |
Definition at line 530 of file RouteHandler.cpp.
References SUMOVehicleParserHelper::beginVTypeParsing(), CommonXMLStructure::getCurrentSumoBaseObject(), CommonHandler::myCommonXMLStructure, CommonHandler::myFilename, myHardFail, CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVehicleTypeParameter(), SUMO_TAG_ERROR, and SUMO_TAG_VTYPE.
Referenced by beginParseAttributes().
|
private |
parse vType distribution
Definition at line 566 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleListAttribute(), CommonXMLStructure::SumoBaseObject::addIntAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_DETERMINISTIC, SUMO_ATTR_ID, SUMO_ATTR_PROBS, SUMO_ATTR_VTYPES, SUMO_TAG_ERROR, and SUMO_TAG_VTYPE_DISTRIBUTION.
Referenced by beginParseAttributes().
|
private |
parse vType reference
Definition at line 547 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_PROB, SUMO_ATTR_REFID, SUMO_TAG_ERROR, and SUMO_TAG_VTYPE.
Referenced by beginParseAttributes().
|
private |
parse walk
Definition at line 982 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), CommonHandler::checkParsedParent(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptSUMOTimeReporting(), SUMOSAXAttributes::hasAttribute(), CommonHandler::myCommonXMLStructure, NamespaceIDs::persons, CommonXMLStructure::SumoBaseObject::setPlanParameters(), CommonXMLStructure::SumoBaseObject::setTag(), 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().
|
pure virtual |
run post parser tasks
Implemented in GNERouteHandler.
|
protectedinherited |
write error and enable error creating element
Definition at line 375 of file CommonHandler.cpp.
References CommonHandler::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(), 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(), CommonHandler::checkFileName(), CommonHandler::checkListOfVehicleTypes(), CommonHandler::checkNegative(), CommonHandler::checkNegative(), CommonHandler::checkNegative(), DataHandler::checkParent(), CommonHandler::checkParsedParent(), CommonHandler::checkValidAdditionalID(), CommonHandler::checkValidDemandElementID(), CommonHandler::checkValidDetectorID(), CommonHandler::checkVehicleParents(), GNERouteHandler::checkViaAttribute(), GNERouteHandler::getDistributionElements(), DataHandler::myStartElement(), GNEMeanDataHandler::parseAttributes(), AdditionalHandler::parseCalibratorAttributes(), AdditionalHandler::parseCalibratorFlowAttributes(), AdditionalHandler::parseChargingStationAttributes(), AdditionalHandler::parseE2Attributes(), GNEAdditionalHandler::parseEdges(), GNERouteHandler::parseEdges(), GNEMeanDataHandler::parseEdges(), parseFlow(), GNEAdditionalHandler::parseLanes(), parseNestedCFM(), CommonHandler::parseParameters(), AdditionalHandler::parsePOIAttributes(), parseRouteEmbedded(), parseStopParameters(), parseTranship(), parseTrip(), parseWalk(), CommonHandler::writeErrorEmptyEdges(), CommonHandler::writeErrorInvalidLanes(), CommonHandler::writeErrorInvalidParent(), CommonHandler::writeErrorInvalidParent(), CommonHandler::writeErrorInvalidParent(), and CommonHandler::writeErrorInvalidPosition().
|
protectedinherited |
write error "empty edges"
Definition at line 389 of file CommonHandler.cpp.
References TLF, toString(), and CommonHandler::writeError().
Referenced by GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildRoute(), and GNERouteHandler::buildVehicleEmbeddedRoute().
|
protectedinherited |
write error "invalid list of lanes"
Definition at line 395 of file CommonHandler.cpp.
References TLF, toString(), and CommonHandler::writeError().
|
protectedinherited |
write error "invalid parent element" giving ids of current and parent element
Definition at line 401 of file CommonHandler.cpp.
References TLF, toString(), and CommonHandler::writeError().
Referenced by GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNERouteHandler::buildContainerStop(), GNEAdditionalHandler::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().
|
protectedinherited |
write error "invalid parent element" without giving IDs
Definition at line 413 of file CommonHandler.cpp.
References TLF, toString(), and CommonHandler::writeError().
|
protectedinherited |
write error "invalid parent element" giving only the id of parent element
Definition at line 407 of file CommonHandler.cpp.
References TLF, toString(), and CommonHandler::writeError().
|
protectedinherited |
write error "invalid position"
Definition at line 383 of file CommonHandler.cpp.
References TLF, toString(), and CommonHandler::writeError().
Referenced by GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEAdditionalHandler::buildLaneCalibrator(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildOverheadWire(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), and GNEAdditionalHandler::buildTrainStop().
|
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().
|
protectedinherited |
write warning overwritting element
Definition at line 362 of file CommonHandler.cpp.
References TLF, toString(), and WRITE_WARNING.
|
protectedinherited |
abort loading
Definition at line 86 of file CommonHandler.h.
Referenced by CommonHandler::abortLoading(), CommonHandler::isAbortLoading(), AdditionalHandler::parseSumoBaseObject(), DataHandler::parseSumoBaseObject(), MeanDataHandler::parseSumoBaseObject(), and parseSumoBaseObject().
|
protectedinherited |
common XML Structure
Definition at line 74 of file CommonHandler.h.
Referenced by AdditionalHandler::beginParseAttributes(), MeanDataHandler::beginParseAttributes(), beginParseAttributes(), AdditionalHandler::checkCalibratorFlowParents(), DataHandler::checkParent(), CommonHandler::checkParsedParent(), AdditionalHandler::endParseAttributes(), MeanDataHandler::endParseAttributes(), endParseAttributes(), DataHandler::getAttributes(), DataHandler::myEndElement(), DataHandler::myStartElement(), AdditionalHandler::parseAccessAttributes(), AdditionalHandler::parseBusStopAttributes(), AdditionalHandler::parseCalibratorAttributes(), AdditionalHandler::parseCalibratorFlowAttributes(), AdditionalHandler::parseChargingStationAttributes(), AdditionalHandler::parseClosingLaneRerouteAttributes(), AdditionalHandler::parseClosingRerouteAttributes(), parseContainer(), parseContainerFlow(), AdditionalHandler::parseContainerStopAttributes(), AdditionalHandler::parseDestProbRerouteAttributes(), AdditionalHandler::parseE1Attributes(), AdditionalHandler::parseE1InstantAttributes(), AdditionalHandler::parseE2Attributes(), AdditionalHandler::parseE3Attributes(), DataHandler::parseEdgeData(), MeanDataHandler::parseEdgeMeanData(), DataHandler::parseEdgeRelationData(), AdditionalHandler::parseEntryAttributes(), AdditionalHandler::parseExitAttributes(), parseFlow(), DataHandler::parseInterval(), AdditionalHandler::parseJpsObstacleAttributes(), AdditionalHandler::parseJpsWalkableAreaAttributes(), MeanDataHandler::parseLaneMeanData(), AdditionalHandler::parseOverheadWire(), AdditionalHandler::parseOverheadWireClamp(), CommonHandler::parseParameters(), AdditionalHandler::parseParkingAreaAttributes(), AdditionalHandler::parseParkingAreaRerouteAttributes(), AdditionalHandler::parseParkingSpaceAttributes(), parsePerson(), parsePersonFlow(), parsePersonTrip(), AdditionalHandler::parsePOIAttributes(), AdditionalHandler::parsePolyAttributes(), AdditionalHandler::parseRerouterAttributes(), AdditionalHandler::parseRerouterIntervalAttributes(), parseRide(), parseRoute(), parseRouteDistribution(), parseRouteEmbedded(), AdditionalHandler::parseRouteProbeAttributes(), AdditionalHandler::parseRouteProbRerouteAttributes(), parseRouteRef(), parseStop(), AdditionalHandler::parseTAZAttributes(), DataHandler::parseTAZRelationData(), AdditionalHandler::parseTAZSinkAttributes(), AdditionalHandler::parseTAZSourceAttributes(), AdditionalHandler::parseTractionSubstation(), AdditionalHandler::parseTrainStopAttributes(), parseTranship(), parseTransport(), parseTrip(), AdditionalHandler::parseVaporizerAttributes(), AdditionalHandler::parseVariableSpeedSignAttributes(), AdditionalHandler::parseVariableSpeedSignStepAttributes(), parseVehicle(), parseVType(), parseVTypeDistribution(), parseVTypeRef(), and parseWalk().
|
protectedinherited |
flag for mark if a element wasn't created
Definition at line 77 of file CommonHandler.h.
Referenced by CommonHandler::isErrorCreatingElement(), and CommonHandler::writeError().
|
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(), and parseVType().
|
private |
The default value for flow begins.
Definition at line 160 of file RouteHandler.h.
Referenced by parseContainerFlow(), parseFlow(), parseInterval(), and parsePersonFlow().
|
private |
The default value for flow ends.
Definition at line 163 of file RouteHandler.h.
Referenced by parseContainerFlow(), parseFlow(), parseInterval(), and parsePersonFlow().
|
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(), and parseVType().
|
protectedinherited |
overwrite elements
Definition at line 80 of file CommonHandler.h.
Referenced by GNEDataHandler::checkDuplicatedDataSet(), GNEMeanDataHandler::checkDuplicatedMeanDataElement(), GNEAdditionalHandler::checkElement(), GNERouteHandler::checkElement(), CommonHandler::forceOverwriteElements(), and CommonHandler::isForceOverwriteElements().
|
protectedinherited |
remain elements
Definition at line 83 of file CommonHandler.h.
Referenced by GNEDataHandler::checkDuplicatedDataSet(), GNEMeanDataHandler::checkDuplicatedMeanDataElement(), GNEAdditionalHandler::checkElement(), GNERouteHandler::checkElement(), CommonHandler::forceRemainElements(), and CommonHandler::isForceRemainElements().