Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEMeanDataHandler Class Reference

#include <GNEMeanDataHandler.h>

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

Public Member Functions

bool beginParseAttributes (SumoXMLTag tag, const SUMOSAXAttributes &attrs)
 begin parse attributes
 
void endParseAttributes ()
 end parse attributes
 
 GNEMeanDataHandler (GNENet *net, const bool allowUndoRedo, const bool overwrite)
 Constructor.
 
bool isErrorCreatingElement () const
 get flag for mark if a element wasn't created
 
void parseSumoBaseObject (CommonXMLStructure::SumoBaseObject *obj)
 parse SumoBaseObject (it's called recursivelly)
 
bool postParserTasks ()
 run post parser tasks
 
virtual ~GNEMeanDataHandler ()
 Destructor.
 
build functions

Builds edgeMeanData

bool buildEdgeMeanData (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &file, SUMOTime period, SUMOTime begin, SUMOTime end, const bool trackVehicles, const std::vector< std::string > &writtenAttributes, const bool aggregate, const std::vector< std::string > &edgeIDs, const std::string &edgeFile, std::string excludeEmpty, const bool withInternal, const std::vector< std::string > &detectPersons, const double minSamples, const double maxTravelTime, const std::vector< std::string > &vTypes, const double speedThreshold)
 
bool buildLaneMeanData (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &file, SUMOTime period, SUMOTime begin, SUMOTime end, const bool trackVehicles, const std::vector< std::string > &writtenAttributes, const bool aggregate, const std::vector< std::string > &edgeIDs, const std::string &edgeFile, std::string excludeEmpty, const bool withInternal, const std::vector< std::string > &detectPersons, const double minSamples, const double maxTravelTime, const std::vector< std::string > &vTypes, const double speedThreshold)
 Builds laneMeanData.
 

Protected Member Functions

bool checkDuplicatedMeanDataElement (const SumoXMLTag tag, const std::string &id)
 check if given ID correspond to a duplicated mean data element
 
std::vector< SumoXMLAttrparseAttributes (const SumoXMLTag tag, const std::vector< std::string > &attrStrs)
 parse attributes
 
std::vector< GNEEdge * > parseEdges (const SumoXMLTag tag, const std::vector< std::string > &edgeIDs)
 parse edges
 
void parseParameters (const SUMOSAXAttributes &attrs)
 parse generic parameters
 
bool writeError (const std::string &error)
 write error and enable error creating element
 
bool writeErrorDuplicated (const SumoXMLTag tag, const std::string &id, const SumoXMLTag checkedTag)
 write error "duplicated additional"
 
bool writeErrorInvalidDistribution (const SumoXMLTag tag, const std::string &id)
 write error "invalid distribution"
 
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"
 
check functions

check parsed parents

void checkParsedParent (const SumoXMLTag currentTag, const std::vector< SumoXMLTag > &parentTags, bool &ok)
 
bool checkListOfVehicleTypes (const SumoXMLTag tag, const std::string &id, const std::vector< std::string > &vTypeIDs)
 check list of IDs
 
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

const bool myAllowUndoRedo
 allow undo/redo
 
CommonXMLStructure myCommonXMLStructure
 common XML Structure
 
bool myErrorCreatingElement = false
 flag for mark if a element wasn't created
 
GNENetmyNet
 pointer to GNENet
 
const bool myOverwrite
 check if overwrite
 

Private Member Functions

 GNEMeanDataHandler (const GNEMeanDataHandler &s)=delete
 invalidate copy constructor
 
GNEMeanDataHandleroperator= (const GNEMeanDataHandler &s)=delete
 invalidate assignment operator
 
parse meanMeanData attributes

parse edgeMeanData attributes

void parseEdgeMeanData (const SUMOSAXAttributes &attrs)
 
void parseLaneMeanData (const SUMOSAXAttributes &attrs)
 parse laneMeanData attributes
 

Detailed Description

Definition at line 36 of file GNEMeanDataHandler.h.

Constructor & Destructor Documentation

◆ GNEMeanDataHandler() [1/2]

GNEMeanDataHandler::GNEMeanDataHandler ( GNENet net,
const bool  allowUndoRedo,
const bool  overwrite 
)

Constructor.

Definition at line 41 of file GNEMeanDataHandler.cpp.

◆ ~GNEMeanDataHandler()

GNEMeanDataHandler::~GNEMeanDataHandler ( )
virtual

Destructor.

Definition at line 48 of file GNEMeanDataHandler.cpp.

◆ GNEMeanDataHandler() [2/2]

GNEMeanDataHandler::GNEMeanDataHandler ( const GNEMeanDataHandler s)
privatedelete

invalidate copy constructor

Member Function Documentation

◆ beginParseAttributes()

bool MeanDataHandler::beginParseAttributes ( SumoXMLTag  tag,
const SUMOSAXAttributes attrs 
)
inherited

begin parse attributes

Definition at line 41 of file MeanDataHandler.cpp.

References CommonXMLStructure::abortSUMOBaseOBject(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::openSUMOBaseOBject(), MeanDataHandler::parseEdgeMeanData(), MeanDataHandler::parseLaneMeanData(), SUMO_TAG_MEANDATA_EDGE, SUMO_TAG_MEANDATA_LANE, SUMO_TAG_PARAM, TL, WRITE_WARNING, and CommonHandler::writeError().

Referenced by GNEGeneralHandler::beginTag().

Here is the caller graph for this function:

◆ buildEdgeMeanData()

bool GNEMeanDataHandler::buildEdgeMeanData ( const CommonXMLStructure::SumoBaseObject sumoBaseObject,
const std::string &  id,
const std::string &  file,
SUMOTime  period,
SUMOTime  begin,
SUMOTime  end,
const bool  trackVehicles,
const std::vector< std::string > &  writtenAttributes,
const bool  aggregate,
const std::vector< std::string > &  edgeIDs,
const std::string &  edgeFile,
std::string  excludeEmpty,
const bool  withInternal,
const std::vector< std::string > &  detectPersons,
const double  minSamples,
const double  maxTravelTime,
const std::vector< std::string > &  vTypes,
const double  speedThreshold 
)
virtual

◆ buildLaneMeanData()

bool GNEMeanDataHandler::buildLaneMeanData ( const CommonXMLStructure::SumoBaseObject sumoBaseObject,
const std::string &  id,
const std::string &  file,
SUMOTime  period,
SUMOTime  begin,
SUMOTime  end,
const bool  trackVehicles,
const std::vector< std::string > &  writtenAttributes,
const bool  aggregate,
const std::vector< std::string > &  edgeIDs,
const std::string &  edgeFile,
std::string  excludeEmpty,
const bool  withInternal,
const std::vector< std::string > &  detectPersons,
const double  minSamples,
const double  maxTravelTime,
const std::vector< std::string > &  vTypes,
const double  speedThreshold 
)
virtual

◆ checkDuplicatedMeanDataElement()

bool GNEMeanDataHandler::checkDuplicatedMeanDataElement ( const SumoXMLTag  tag,
const std::string &  id 
)
protected

check if given ID correspond to a duplicated mean data element

Definition at line 163 of file GNEMeanDataHandler.cpp.

References GNENet::deleteMeanData(), GNENet::getAttributeCarriers(), GNEViewNet::getUndoList(), GNENet::getViewNet(), myAllowUndoRedo, myNet, myOverwrite, GNENetHelper::AttributeCarriers::retrieveMeanData(), SUMO_TAG_DATASET, and CommonHandler::writeErrorDuplicated().

Referenced by buildEdgeMeanData(), and buildLaneMeanData().

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 110 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().

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 139 of file CommonHandler.cpp.

References TLF, toString(), and CommonHandler::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 121 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(), GNEAdditionalHandler::buildLaneCalibrator(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNEAdditionalHandler::buildPOI(), GNEAdditionalHandler::buildPOIGeo(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildPolygon(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNEAdditionalHandler::buildTractionSubstation(), GNEAdditionalHandler::buildTrainStop(), GNERouteHandler::buildTranship(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNERouteHandler::buildWalk(), AdditionalHandler::parseDestProbRerouteAttributes(), AdditionalHandler::parseParkingAreaRerouteAttributes(), AdditionalHandler::parseRerouterAttributes(), RouteHandler::parseRoute(), 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 157 of file CommonHandler.cpp.

References time2string(), TLF, toString(), and CommonHandler::writeError().

◆ checkParsedParent()

void CommonHandler::checkParsedParent ( const SumoXMLTag  currentTag,
const std::vector< SumoXMLTag > &  parentTags,
bool &  ok 
)
protectedinherited

◆ 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 197 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().

Here is the caller graph for this function:

◆ endParseAttributes()

void MeanDataHandler::endParseAttributes ( )
inherited

end parse attributes

Definition at line 69 of file MeanDataHandler.cpp.

References CommonXMLStructure::closeSUMOBaseOBject(), CommonXMLStructure::getCurrentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getTag(), CommonHandler::myCommonXMLStructure, MeanDataHandler::parseSumoBaseObject(), SUMO_TAG_MEANDATA_EDGE, and SUMO_TAG_MEANDATA_LANE.

Referenced by GNEGeneralHandler::endTag().

Here is the caller graph for this function:

◆ isErrorCreatingElement()

bool CommonHandler::isErrorCreatingElement ( ) const
inherited

get flag for mark if a element wasn't created

Definition at line 41 of file CommonHandler.cpp.

References CommonHandler::myErrorCreatingElement.

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

Here is the caller graph for this function:

◆ operator=()

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

invalidate assignment operator

◆ parseAttributes()

std::vector< SumoXMLAttr > GNEMeanDataHandler::parseAttributes ( const SumoXMLTag  tag,
const std::vector< std::string > &  attrStrs 
)
protected

parse attributes

Definition at line 147 of file GNEMeanDataHandler.cpp.

References SUMOXMLDefinitions::Attrs, TLF, toString(), and CommonHandler::writeError().

Referenced by buildEdgeMeanData(), and buildLaneMeanData().

Here is the caller graph for this function:

◆ parseEdgeMeanData()

◆ parseEdges()

std::vector< GNEEdge * > GNEMeanDataHandler::parseEdges ( const SumoXMLTag  tag,
const std::vector< std::string > &  edgeIDs 
)
protected

parse edges

Definition at line 129 of file GNEMeanDataHandler.cpp.

References GNENet::getAttributeCarriers(), myNet, GNENetHelper::AttributeCarriers::retrieveEdge(), TL, TLF, toString(), and CommonHandler::writeError().

Referenced by buildEdgeMeanData(), and buildLaneMeanData().

Here is the caller graph for this function:

◆ parseLaneMeanData()

◆ parseParameters()

void CommonHandler::parseParameters ( const SUMOSAXAttributes attrs)
protectedinherited

◆ parseSumoBaseObject()

◆ postParserTasks()

bool GNEMeanDataHandler::postParserTasks ( )
virtual

run post parser tasks

Implements MeanDataHandler.

Definition at line 52 of file GNEMeanDataHandler.cpp.

Referenced by GNEGeneralHandler::postParserTasks().

Here is the caller graph for this function:

◆ writeError()

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

write error and enable error creating element

Definition at line 221 of file CommonHandler.cpp.

References CommonHandler::myErrorCreatingElement, and WRITE_ERROR.

Referenced by AdditionalHandler::beginParseAttributes(), MeanDataHandler::beginParseAttributes(), GNEAdditionalHandler::buildAccess(), GNERouteHandler::buildContainer(), GNERouteHandler::buildContainerFlow(), GNERouteHandler::buildContainerStop(), GNEDataHandler::buildEdgeRelationData(), GNERouteHandler::buildEmbeddedRoute(), GNERouteHandler::buildFlow(), 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::buildVehicleOverRoute(), GNERouteHandler::buildWalk(), AdditionalHandler::checkCalibratorFlowParents(), AdditionalHandler::checkDetectPersons(), CommonHandler::checkFileName(), CommonHandler::checkListOfVehicleTypes(), CommonHandler::checkNegative(), CommonHandler::checkNegative(), CommonHandler::checkNegative(), DataHandler::checkParent(), CommonHandler::checkParsedParent(), CommonHandler::checkValidAdditionalID(), CommonHandler::checkValidDemandElementID(), CommonHandler::checkValidDetectorID(), GNERouteHandler::checkViaAttribute(), GNERouteHandler::getDistributionElements(), DataHandler::myStartElement(), parseAttributes(), AdditionalHandler::parseCalibratorAttributes(), AdditionalHandler::parseCalibratorFlowAttributes(), AdditionalHandler::parseChargingStationAttributes(), AdditionalHandler::parseE2Attributes(), GNEAdditionalHandler::parseEdges(), GNERouteHandler::parseEdges(), parseEdges(), RouteHandler::parseFlow(), GNEAdditionalHandler::parseLanes(), RouteHandler::parseNestedCFM(), CommonHandler::parseParameters(), AdditionalHandler::parsePOIAttributes(), RouteHandler::parseRoute(), RouteHandler::parseStopParameters(), RouteHandler::parseTranship(), RouteHandler::parseTrip(), RouteHandler::parseWalk(), CommonHandler::writeErrorDuplicated(), CommonHandler::writeErrorInvalidDistribution(), CommonHandler::writeErrorInvalidLanes(), CommonHandler::writeErrorInvalidParent(), CommonHandler::writeErrorInvalidParent(), CommonHandler::writeErrorInvalidParent(), and CommonHandler::writeErrorInvalidPosition().

◆ writeErrorDuplicated()

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

write error "duplicated additional"

Definition at line 235 of file CommonHandler.cpp.

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

Referenced by GNEAdditionalHandler::checkDuplicatedAdditional(), GNEDataHandler::checkDuplicatedDataSet(), GNERouteHandler::checkDuplicatedDemandElement(), and checkDuplicatedMeanDataElement().

Here is the caller graph for this function:

◆ writeErrorInvalidDistribution()

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

write error "invalid distribution"

Definition at line 247 of file CommonHandler.cpp.

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

Referenced by RouteHandler::parseRouteDistribution(), and RouteHandler::parseVTypeDistribution().

Here is the caller graph for this function:

◆ writeErrorInvalidLanes()

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

write error "invalid list of lanes"

Definition at line 241 of file CommonHandler.cpp.

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

◆ writeErrorInvalidParent() [1/3]

bool CommonHandler::writeErrorInvalidParent ( const SumoXMLTag  tag,
const std::string &  id,
const SumoXMLTag  parentTag,
const std::string &  parentID 
)
protectedinherited

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

Definition at line 253 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::buildEmbeddedRoute(), GNERouteHandler::buildFlow(), 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(), 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::buildVehicleOverRoute(), GNERouteHandler::buildWalk(), GNERouteHandler::parseEdge(), GNERouteHandler::parseJunction(), and GNERouteHandler::parseTAZ().

◆ writeErrorInvalidParent() [2/3]

bool CommonHandler::writeErrorInvalidParent ( const SumoXMLTag  tag,
const SumoXMLTag  parentTag 
)
protectedinherited

write error "invalid parent element" without giving IDs

Definition at line 265 of file CommonHandler.cpp.

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

◆ writeErrorInvalidParent() [3/3]

bool CommonHandler::writeErrorInvalidParent ( const SumoXMLTag  tag,
const SumoXMLTag  parentTag,
const std::string &  parentID 
)
protectedinherited

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

Definition at line 259 of file CommonHandler.cpp.

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

◆ writeErrorInvalidPosition()

Field Documentation

◆ myAllowUndoRedo

const bool GNEMeanDataHandler::myAllowUndoRedo
protected

allow undo/redo

Definition at line 73 of file GNEMeanDataHandler.h.

Referenced by buildEdgeMeanData(), buildLaneMeanData(), and checkDuplicatedMeanDataElement().

◆ myCommonXMLStructure

CommonXMLStructure CommonHandler::myCommonXMLStructure
protectedinherited

common XML Structure

Definition at line 51 of file CommonHandler.h.

Referenced by AdditionalHandler::beginParseAttributes(), MeanDataHandler::beginParseAttributes(), RouteHandler::beginParseAttributes(), AdditionalHandler::checkCalibratorFlowParents(), DataHandler::checkParent(), CommonHandler::checkParsedParent(), AdditionalHandler::endParseAttributes(), MeanDataHandler::endParseAttributes(), RouteHandler::endParseAttributes(), DataHandler::getAttributes(), RouteHandler::isEmbeddedRoute(), 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(), CommonHandler::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(), AdditionalHandler::parseRouteProbeAttributes(), AdditionalHandler::parseRouteProbRerouteAttributes(), 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(), and RouteHandler::parseWalk().

◆ myErrorCreatingElement

bool CommonHandler::myErrorCreatingElement = false
protectedinherited

flag for mark if a element wasn't created

Definition at line 54 of file CommonHandler.h.

Referenced by CommonHandler::isErrorCreatingElement(), and CommonHandler::writeError().

◆ myNet

GNENet* GNEMeanDataHandler::myNet
protected

◆ myOverwrite

const bool GNEMeanDataHandler::myOverwrite
protected

check if overwrite

Definition at line 76 of file GNEMeanDataHandler.h.

Referenced by checkDuplicatedMeanDataElement().


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