![]() |
Eclipse SUMO - Simulation of Urban MObility
|
struct used for saving all attribute carriers of net, in different formats More...
#include <GNENetHelper.h>
Public Member Functions | |
| AttributeCarriers (GNENet *net) | |
| constructor | |
| bool | isNetworkElementAroundTriangle (GNEAttributeCarrier *AC, const Triangle &triangle) const |
| check if shape of given AC (network element) is around the given triangle | |
| void | remapJunctionAndEdgeIds () |
| remap junction and edge IDs | |
| ~AttributeCarriers () | |
| destructor | |
| int | getNumberOfNetworkElements () const |
| functions related with number of elements sorted by categories | |
| int | getNumberOfDemandElements () const |
| get number of current demand elements saved in AttributeCarriers (default vTypes are NOT included) | |
| int | getNumberOfDataElements () const |
| get number of current data elements saved in AttributeCarriers | |
function for attribute carriers | |
| GNEAttributeCarrier * | retrieveAttributeCarrier (const GUIGlID id, bool hardFail=true) const |
| get a single attribute carrier based on a GLID | |
| std::vector< GNEAttributeCarrier * > | retrieveAttributeCarriers (SumoXMLTag tag=SUMO_TAG_NOTHING) |
| get the attribute carriers based on Type | |
| std::vector< GNEAttributeCarrier * > | retrieveAttributeCarriers (Supermode supermode, const bool onlySelected) |
| get the attribute carriers based on supermode and selected | |
| std::vector< GNEAttributeCarrier * > | getSelectedAttributeCarriers (const bool ignoreCurrentSupermode) |
| get all selected attribute carriers (or only relative to current supermode | |
function for junctions | |
| GNEJunction * | retrieveJunction (const std::string &id, bool hardFail=true) const |
| get junction by id | |
| const std::map< std::string, GNEJunction * > & | getJunctions () const |
| get junctions | |
| std::vector< GNEJunction * > | getSelectedJunctions () const |
| return selected junctions | |
| GNEJunction * | registerJunction (GNEJunction *junction) |
| registers a junction in containers | |
| void | clearJunctions () |
| clear junctions | |
| void | addPrefixToJunctions (const std::string &prefix) |
| add prefix to all junctions | |
| void | updateJunctionID (GNEJunction *junction, const std::string &newID) |
| update junction ID in container | |
| int | getNumberOfSelectedJunctions () const |
| get number of selected junctions | |
function for crossings | |
| GNECrossing * | retrieveCrossing (const GUIGlObject *glObject, bool hardFail=true) const |
| get Crossing by AC | |
| const std::unordered_map< const GUIGlObject *, GNECrossing * > & | getCrossings () const |
| get crossings | |
| std::vector< GNECrossing * > | getSelectedCrossings () const |
| return all selected crossings | |
| int | getNumberOfSelectedCrossings () const |
| get number of selected crossings | |
function for walkingAreas | |
| GNEWalkingArea * | retrieveWalkingArea (const GUIGlObject *glObject, bool hardFail=true) const |
| get WalkingArea by GlObject | |
| const std::unordered_map< const GUIGlObject *, GNEWalkingArea * > & | getWalkingAreas () const |
| get walkingAreas | |
| std::vector< GNEWalkingArea * > | getSelectedWalkingAreas () const |
| return all selected walkingAreas | |
| int | getNumberOfSelectedWalkingAreas () const |
| get number of selected walkingAreas | |
function for edgeTypes | |
| GNEEdgeType * | retrieveEdgeType (const std::string &id, bool hardFail=true) const |
| get edge type by id | |
| GNEEdgeType * | registerEdgeType (GNEEdgeType *edgeType) |
| registers a edge in containers | |
| const std::map< std::string, GNEEdgeType * > & | getEdgeTypes () const |
| map with the ID and pointer to edgeTypes of net | |
| void | clearEdgeTypes () |
| clear edgeTypes | |
| void | updateEdgeTypeID (GNEEdgeType *edgeType, const std::string &newID) |
| update edgeType ID in container | |
| std::string | generateEdgeTypeID () const |
| generate edgeType id | |
function for edges | |
| GNEEdge * | retrieveEdge (const std::string &id, bool hardFail=true) const |
| get edge by id | |
| std::vector< GNEEdge * > | retrieveEdges (GNEJunction *from, GNEJunction *to) const |
| get all edges by from and to GNEJunction | |
| const std::map< std::string, GNEEdge * > & | getEdges () const |
| map with the ID and pointer to edges of net | |
| std::vector< GNEEdge * > | getSelectedEdges () const |
| return all edges | |
| GNEEdge * | registerEdge (GNEEdge *edge) |
| registers an edge with containers | |
| void | clearEdges () |
| clear edges | |
| void | addPrefixToEdges (const std::string &prefix) |
| add prefix to all edges | |
| std::string | generateEdgeID () const |
| generate edge ID | |
| void | updateEdgeID (GNEEdge *edge, const std::string &newID) |
| update edge ID in container | |
| int | getNumberOfSelectedEdges () const |
| get number of selected edges | |
function for lanes | |
| GNELane * | retrieveLane (const std::string &id, bool hardFail=true, bool checkVolatileChange=false) const |
| get lane by id | |
| GNELane * | retrieveLane (const GUIGlObject *glObject, bool hardFail=true) const |
| get Lane by GlObject | |
| const std::unordered_map< const GUIGlObject *, GNELane * > & | getLanes () const |
| get lanes | |
| std::vector< GNELane * > | getSelectedLanes () const |
| get selected lanes | |
| int | getNumberOfSelectedLanes () const |
| get number of selected lanes | |
function for connections | |
| GNEConnection * | retrieveConnection (const std::string &id, bool hardFail=true) const |
| get Connection by id | |
| GNEConnection * | retrieveConnection (const GUIGlObject *glObject, bool hardFail=true) const |
| get Connection by GUIGlObject | |
| const std::unordered_map< const GUIGlObject *, GNEConnection * > & | getConnections () const |
| get connections | |
| std::vector< GNEConnection * > | getSelectedConnections () const |
| get selected connections | |
| int | getNumberOfSelectedConnections () const |
| get number of selected connections | |
function for internalLanes | |
| GNEInternalLane * | retrieveInternalLane (const GUIGlObject *glObject, bool hardFail=true) const |
| get InternalLane by GUIGlObject | |
function for additionals | |
| GNEAdditional * | retrieveAdditional (SumoXMLTag type, const std::string &id, bool hardFail=true) const |
| Returns the named additional. | |
| GNEAdditional * | retrieveAdditionals (const std::vector< SumoXMLTag > types, const std::string &id, bool hardFail=true) const |
| Returns the named additional. | |
| GNEAdditional * | retrieveAdditional (const GUIGlObject *glObject, bool hardFail=true) const |
| Returns the named additional. | |
| GNEAdditional * | retrieveRerouterInterval (const std::string &rerouterID, const SUMOTime begin, const SUMOTime end) const |
| Returns the rerouter interval defined by given begin and end. | |
| const std::unordered_map< SumoXMLTag, std::unordered_map< const GUIGlObject *, GNEAdditional * >, std::hash< int > > & | getAdditionals () const |
| get additionals | |
| std::vector< GNEAdditional * > | getSelectedAdditionals () const |
| get selected additionals | |
| std::vector< GNEAdditional * > | getSelectedShapes () const |
| get selected shapes | |
| int | getNumberOfAdditionals () const |
| get number of additionals | |
| void | clearAdditionals () |
| clear additionals | |
| void | updateAdditionalID (GNEAdditional *additional, const std::string &newID) |
| update additional ID in container | |
| std::string | generateAdditionalID (SumoXMLTag type) const |
| generate additional id | |
| int | getNumberOfSelectedAdditionals () const |
| get number of selected additionals (Including POIs, Polygons, TAZs and Wires) | |
| int | getNumberOfSelectedPureAdditionals () const |
| get number of selected pure additionals (Except POIs, Polygons, TAZs and Wires) | |
| int | getNumberOfSelectedPolygons () const |
| get number of selected polygons | |
| int | getNumberOfSelectedJpsWalkableAreas () const |
| get number of selected walkable areas | |
| int | getNumberOfSelectedJpsObstacles () const |
| get number of selected obstacles | |
| int | getNumberOfSelectedPOIs () const |
| get number of selected POIs | |
| int | getNumberOfSelectedTAZs () const |
| get number of selected TAZs | |
| int | getNumberOfSelectedWires () const |
| get number of selected Wires | |
| std::vector< std::string > | getPOIParamKeys () const |
| return list of available POI parameters | |
function for TAZ sourceSinks | |
| GNETAZSourceSink * | retrieveTAZSourceSink (const GNEAttributeCarrier *sourceSink, bool hardFail=true) const |
| Returns the named sourceSink. | |
| const std::unordered_map< SumoXMLTag, std::unordered_map< const GNEAttributeCarrier *, GNETAZSourceSink * >, std::hash< int > > & | getTAZSourceSinks () const |
| get sourceSinks | |
| int | getNumberOfTAZSourceSinks () const |
| get number of TAZSourceSinks | |
| void | clearTAZSourceSinks () |
| clear sourceSinks | |
function for demand elements | |
| GNEDemandElement * | retrieveDemandElement (SumoXMLTag type, const std::string &id, bool hardFail=true) const |
| Returns the named demand element. | |
| GNEDemandElement * | retrieveDemandElements (const std::vector< SumoXMLTag > types, const std::string &id, bool hardFail=true) const |
| Returns the named demand element. | |
| GNEDemandElement * | retrieveDemandElement (const GUIGlObject *glObject, bool hardFail=true) const |
| Returns the named demand. | |
| std::vector< GNEDemandElement * > | getSelectedDemandElements () const |
| get selected demand elements | |
| const std::unordered_map< SumoXMLTag, std::unordered_map< const GUIGlObject *, GNEDemandElement * >, std::hash< int > > & | getDemandElements () const |
| get demand elements | |
| std::string | generateDemandElementID (SumoXMLTag tag) const |
| generate demand element id | |
| GNEDemandElement * | getDefaultType () const |
| get default type | |
| void | clearDemandElements () |
| clear demand elements | |
| void | updateDemandElementID (GNEDemandElement *demandElement, const std::string &newID) |
| update demand element ID in container | |
| void | addDefaultVTypes () |
| add default VTypes | |
| int | getStopIndex () |
| get (and update) stop index | |
| int | getNumberOfSelectedDemandElements () const |
| get number of selected demand elements | |
| int | getNumberOfSelectedRoutes () const |
| get number of selected routes | |
| int | getNumberOfSelectedVehicles () const |
| get number of selected vehicles | |
| int | getNumberOfSelectedPersons () const |
| get number of selected persons | |
| int | getNumberOfSelectedPersonTrips () const |
| get number of selected person trips | |
| int | getNumberOfSelectedWalks () const |
| get number of selected walks | |
| int | getNumberOfSelectedRides () const |
| get number of selected rides | |
| int | getNumberOfSelectedContainers () const |
| get number of selected containers | |
| int | getNumberOfSelectedTransport () const |
| get number of selected transports | |
| int | getNumberOfSelectedTranships () const |
| get number of selected tranships | |
| int | getNumberOfSelectedStops () const |
| get number of selected stops | |
function for data sets | |
| GNEDataSet * | retrieveDataSet (const std::string &id, bool hardFail=true) const |
| Returns the named data set. | |
| const std::map< const std::string, GNEDataSet * > & | getDataSets () const |
| get demand elements | |
| std::string | generateDataSetID () const |
| generate data set id | |
function for data intervals | |
| GNEDataInterval * | retrieveDataInterval (const GNEAttributeCarrier *AC, bool hardFail=true) const |
| Returns the data interval. | |
| const std::unordered_map< const GNEAttributeCarrier *, GNEDataInterval * > & | getDataIntervals () const |
| get all data intervals of network | |
function for generic datas | |
| GNEGenericData * | retrieveGenericData (const GUIGlObject *glObject, bool hardFail=true) const |
| Returns the generic data. | |
| std::vector< GNEGenericData * > | getSelectedGenericDatas () const |
| get selected generic datas | |
| const std::unordered_map< SumoXMLTag, std::unordered_map< const GUIGlObject *, GNEGenericData * >, std::hash< int > > & | getGenericDatas () const |
| get all generic datas | |
| std::vector< GNEGenericData * > | retrieveGenericDatas (const SumoXMLTag genericDataTag, const double begin, const double end) |
| retrieve generic datas within the given interval | |
| int | getNumberOfGenericDatas () const |
| Return the number of generic datas. | |
| int | getNumberOfSelectedEdgeDatas () const |
| get number of selected edge datas | |
| int | getNumberOfSelectedEdgeRelDatas () const |
| get number of selected edge rel datas | |
| int | getNumberOfSelectedEdgeTAZRel () const |
| get number of selected edge TAZ Rels | |
| std::set< std::string > | retrieveGenericDataParameters (const std::string &genericDataTag, const double begin, const double end) const |
| return a set of parameters for the given data Interval | |
| std::set< std::string > | retrieveGenericDataParameters (const std::string &dataSetID, const std::string &genericDataTag, const std::string &beginStr, const std::string &endStr) const |
| return a set of parameters for the given dataSet, generic data Type, begin and end | |
function for meanDatas | |
| GNEMeanData * | retrieveMeanData (SumoXMLTag type, const std::string &id, bool hardFail=true) const |
| Returns the named meanData. | |
| const std::unordered_map< SumoXMLTag, std::map< const std::string, GNEMeanData * >, std::hash< int > > & | getMeanDatas () const |
| get meanDatas | |
| int | getNumberOfMeanDatas () const |
| get number of meanDatas | |
| void | clearMeanDatas () |
| clear meanDatas | |
| void | updateMeanDataID (GNEMeanData *meanData, const std::string &newID) |
| update meanData ID in container | |
| std::string | generateMeanDataID (SumoXMLTag type) const |
| generate meanData id | |
Protected Member Functions | |
| void | retrieveAttributeCarriersRecursively (const GNETagProperties *tag, std::vector< GNEAttributeCarrier * > &ACs) |
| retrieve attribute carriers recursively | |
| void | updateDemandElementFrames (const GNETagProperties *tagProperty) |
| update demand element frames (called after insert/delete demand element) | |
Junctions protected functions | |
| void | insertJunction (GNEJunction *junction) |
| insert junction in container | |
| void | deleteSingleJunction (GNEJunction *junction) |
| delete junction from container | |
edge types protected functions | |
| void | insertEdgeType (GNEEdgeType *edgeType) |
| insert edge type in container | |
| void | deleteEdgeType (GNEEdgeType *edgeType) |
| delete edge type from container | |
edges protected functions | |
insert edge in container | |
| void | insertEdge (GNEEdge *edge) |
| void | deleteSingleEdge (GNEEdge *edge) |
| delete edge from container | |
lane protected functions | |
| void | insertLane (GNELane *lane) |
| insert lane in container | |
| void | deleteLane (GNELane *lane) |
| delete lane from container | |
crossing protected functions | |
| void | insertCrossing (GNECrossing *crossing) |
| insert crossing in container | |
| void | deleteCrossing (GNECrossing *crossing) |
| delete crossing from container | |
walking areas protected functions | |
| void | insertWalkingArea (GNEWalkingArea *walkingArea) |
| insert walkingArea in container | |
| void | deleteWalkingArea (GNEWalkingArea *walkingArea) |
| delete walkingArea from container | |
connection protected functions | |
| void | insertConnection (GNEConnection *connection) |
| insert connection in container | |
| void | deleteConnection (GNEConnection *connection) |
| delete connection from container | |
internalLane protected functions | |
| void | insertInternalLane (GNEInternalLane *internalLane) |
| insert internalLane in container | |
| void | deleteInternalLane (GNEInternalLane *internalLane) |
| delete internalLane from container | |
additionals protected functions | |
| void | insertAdditional (GNEAdditional *additional) |
| Insert a additional element in container. | |
| void | deleteAdditional (GNEAdditional *additional) |
| delete additional element of container | |
TAZ Source Sinks protected functions | |
| void | insertTAZSourceSink (GNETAZSourceSink *sourceSink) |
| Insert a sourceSink element in container. | |
| void | deleteTAZSourceSink (GNETAZSourceSink *sourceSink) |
| delete sourceSink element of container | |
demand elements protected functions | |
| void | insertDemandElement (GNEDemandElement *demandElement) |
| Insert a demand element in container. | |
| void | deleteDemandElement (GNEDemandElement *demandElement, const bool updateFrames) |
| delete demand element of container | |
datas protected functions | |
| void | insertDataSet (GNEDataSet *dataSet) |
| Insert a data set in container. | |
| void | deleteDataSet (GNEDataSet *dataSet) |
| delete data set of container | |
data intervals protected functions | |
| void | insertDataInterval (const GNEAttributeCarrier *AC, GNEDataInterval *dataInterval) |
| insert data interval in container | |
| void | deleteDataInterval (GNEDataInterval *dataInterval) |
| delete data interval of container | |
generic datas protected functions | |
| void | insertGenericData (GNEGenericData *genericData) |
| insert generic data in container | |
| void | deleteGenericData (GNEGenericData *genericData) |
| delete generic data of container | |
Insertion and erasing of GNEMeanDatas items | |
| void | insertMeanData (GNEMeanData *meanData) |
| Insert a meanData element in container. | |
| void | deleteMeanData (GNEMeanData *meanData) |
| delete meanData element of container | |
Private Member Functions | |
| AttributeCarriers ()=delete | |
| Invalidated default constructor. | |
| AttributeCarriers (const AttributeCarriers &)=delete | |
| Invalidated copy constructor. | |
| AttributeCarriers & | operator= (const AttributeCarriers &)=delete |
| Invalidated assignment operator. | |
Private Attributes | |
| std::unordered_map< SumoXMLTag, std::map< const std::string, GNEAdditional * >, std::hash< int > > | myAdditionalIDs |
| map with the tag and pointer to additional elements of net, sorted by IDs | |
| std::unordered_map< SumoXMLTag, std::unordered_map< const GUIGlObject *, GNEAdditional * >, std::hash< int > > | myAdditionals |
| map with the tag and pointer to additional elements of net | |
| std::unordered_map< const GUIGlObject *, GNEConnection * > | myConnections |
| map with connetions | |
| std::unordered_map< const GUIGlObject *, GNECrossing * > | myCrossings |
| set with crossings | |
| std::unordered_map< const GNEAttributeCarrier *, GNEDataInterval * > | myDataIntervals |
| map with all data intervals of network | |
| std::map< const std::string, GNEDataSet * > | myDataSets |
| map with the ID and pointer to all datasets of net | |
| std::unordered_map< SumoXMLTag, std::map< const std::string, GNEDemandElement * >, std::hash< int > > | myDemandElementIDs |
| map with the tag and pointer to demand elements of net, sorted by IDs | |
| std::unordered_map< SumoXMLTag, std::unordered_map< const GUIGlObject *, GNEDemandElement * >, std::hash< int > > | myDemandElements |
| map with the tag and pointer to demand elements elements of net | |
| std::map< std::string, GNEEdge * > | myEdges |
| map with the ID and pointer to edges of net | |
| std::map< std::string, GNEEdgeType * > | myEdgeTypes |
| map with the ID and pointer to edgeTypes of net | |
| std::unordered_map< SumoXMLTag, std::unordered_map< const GUIGlObject *, GNEGenericData * >, std::hash< int > > | myGenericDatas |
| map with the tag and pointer to all generic datas | |
| std::unordered_map< const GUIGlObject *, GNEInternalLane * > | myInternalLanes |
| map with internal lanes | |
| std::map< std::string, GNEJunction * > | myJunctions |
| map with the ID and pointer to junctions of net | |
| std::unordered_map< const GUIGlObject *, GNELane * > | myLanes |
| map with lanes | |
| std::unordered_map< SumoXMLTag, std::map< const std::string, GNEMeanData * >, std::hash< int > > | myMeanDatas |
| map with the tag and pointer to meanData elements of net | |
| GNENet * | myNet |
| pointer to net | |
| int | myNumberOfDataElements = 0 |
| number of data elemements inserted in AttributeCarriers | |
| int | myNumberOfDemandElements = 0 |
| number of demand elemements inserted in AttributeCarriers (excluding default vTypes) | |
| int | myNumberOfMeanDataElements = 0 |
| number of mean data elemements inserted in AttributeCarriers | |
| int | myNumberOfNetworkElements = 0 |
| number of network elemements inserted in AttributeCarriers | |
| int | myStopIndex |
| stop index | |
| std::unordered_map< SumoXMLTag, std::unordered_map< const GNEAttributeCarrier *, GNETAZSourceSink * >, std::hash< int > > | myTAZSourceSinks |
| map with the tag and pointer to TAZSourceSinks elements of net | |
| std::unordered_map< const GUIGlObject *, GNEWalkingArea * > | myWalkingAreas |
| set with walkingAreas | |
struct used for saving all attribute carriers of net, in different formats
Definition at line 76 of file GNENetHelper.h.
| GNENetHelper::AttributeCarriers::AttributeCarriers | ( | GNENet * | net | ) |
constructor
Definition at line 109 of file GNENetHelper.cpp.
References GNETagProperties::ADDITIONALELEMENT, GNETagProperties::DEMANDELEMENT, GNETagProperties::GENERICDATA, GNETagPropertiesDatabase::getTagPropertiesByType(), GNENet::getTagPropertiesDatabase(), GNETagProperties::MEANDATA, myAdditionalIDs, myAdditionals, myDemandElementIDs, myDemandElements, myGenericDatas, myMeanDatas, myNet, myTAZSourceSinks, GNETagProperties::SHAPE, GNETagProperties::STOP_VEHICLE, SUMO_ATTR_ID, SUMO_TAG_TAZSINK, SUMO_TAG_TAZSOURCE, SUMO_TAG_VAPORIZER, GNETagProperties::TAZELEMENT, and GNETagProperties::WIRE.
| GNENetHelper::AttributeCarriers::~AttributeCarriers | ( | ) |
destructor
Definition at line 148 of file GNENetHelper.cpp.
|
privatedelete |
Invalidated default constructor.
|
privatedelete |
Invalidated copy constructor.
| void GNENetHelper::AttributeCarriers::addDefaultVTypes | ( | ) |
add default VTypes
Definition at line 1586 of file GNENetHelper.cpp.
References DEFAULT_BIKETYPE_ID, DEFAULT_CONTAINERTYPE_ID, DEFAULT_PEDTYPE_ID, DEFAULT_RAILTYPE_ID, DEFAULT_TAXITYPE_ID, DEFAULT_VTYPE_ID, GNEDemandElement::getGUIGlObject(), GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEReferenceCounter::incRef(), SUMOVTypeParameter::parametersSet, SVC_BICYCLE, SVC_IGNORING, SVC_PASSENGER, SVC_PEDESTRIAN, SVC_RAIL, SVC_TAXI, and VTYPEPARS_VEHICLECLASS_SET.
Referenced by GNENet::computeAndUpdate(), and GNENet::setViewNet().
| void GNENetHelper::AttributeCarriers::addPrefixToEdges | ( | const std::string & | prefix | ) |
add prefix to all edges
Definition at line 778 of file GNENetHelper.cpp.
References GNENetworkElement::setNetworkElementID().
Referenced by GNELoadThread::run().
| void GNENetHelper::AttributeCarriers::addPrefixToJunctions | ( | const std::string & | prefix | ) |
add prefix to all junctions
Definition at line 487 of file GNENetHelper.cpp.
References GNENetworkElement::setNetworkElementID().
Referenced by GNELoadThread::run().
| void GNENetHelper::AttributeCarriers::clearAdditionals | ( | ) |
clear additionals
Definition at line 1117 of file GNENetHelper.cpp.
Referenced by GNENet::computeAndUpdate().
| void GNENetHelper::AttributeCarriers::clearDemandElements | ( | ) |
clear demand elements
Definition at line 1552 of file GNENetHelper.cpp.
Referenced by GNENet::computeAndUpdate().
| void GNENetHelper::AttributeCarriers::clearEdges | ( | ) |
clear edges
Definition at line 772 of file GNENetHelper.cpp.
Referenced by GNENet::computeAndUpdate().
| void GNENetHelper::AttributeCarriers::clearEdgeTypes | ( | ) |
clear edgeTypes
Definition at line 658 of file GNENetHelper.cpp.
| void GNENetHelper::AttributeCarriers::clearJunctions | ( | ) |
clear junctions
Definition at line 481 of file GNENetHelper.cpp.
Referenced by GNENet::computeAndUpdate().
| void GNENetHelper::AttributeCarriers::clearMeanDatas | ( | ) |
clear meanDatas
Definition at line 2274 of file GNENetHelper.cpp.
| void GNENetHelper::AttributeCarriers::clearTAZSourceSinks | ( | ) |
clear sourceSinks
Definition at line 1397 of file GNENetHelper.cpp.
|
protected |
delete additional element of container
Definition at line 2579 of file GNENetHelper.cpp.
References GNEAdditional::getGUIGlObject(), GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNETagProperties::hasAttribute(), GNETagProperties::isPlacedInRTree(), SUMO_ATTR_ID, and GNEAttributeCarrier::unmarkForDrawingFront().
Referenced by GNEChange_Additional::redo(), GNEChange_Additional::undo(), and GNEChange_Additional::~GNEChange_Additional().
|
protected |
delete connection from container
Definition at line 2514 of file GNENetHelper.cpp.
References GNENetworkElement::getGUIGlObject(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), and GNEAttributeCarrier::unmarkForDrawingFront().
Referenced by GNEEdge::clearGNEConnections(), GNEEdge::remakeGNEConnections(), GNEEdge::removeConnection(), and GNEEdge::~GNEEdge().
|
protected |
delete crossing from container
Definition at line 2458 of file GNENetHelper.cpp.
References GNENetworkElement::getGUIGlObject(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), and GNEAttributeCarrier::unmarkForDrawingFront().
Referenced by GNEJunction::rebuildGNECrossings(), and GNEJunction::~GNEJunction().
|
protected |
delete data interval of container
Definition at line 1994 of file GNENetHelper.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), and GNEAttributeCarrier::unmarkForDrawingFront().
Referenced by GNEDataSet::removeDataIntervalChild().
|
protected |
delete data set of container
Definition at line 2738 of file GNENetHelper.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), and GNEAttributeCarrier::unmarkForDrawingFront().
Referenced by GNEChange_DataSet::redo(), GNEChange_DataSet::undo(), and GNEChange_DataSet::~GNEChange_DataSet().
|
protected |
delete demand element of container
Definition at line 2677 of file GNENetHelper.cpp.
References GNEDemandElement::getGUIGlObject(), GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNETagProperties::hasAttribute(), SUMO_ATTR_ID, and GNEAttributeCarrier::unmarkForDrawingFront().
Referenced by GNERouteHandler::postParserTasks(), GNEChange_DemandElement::redo(), GNEChange_DemandElement::undo(), and GNEChange_DemandElement::~GNEChange_DemandElement().
|
protected |
delete edge type from container
Definition at line 2355 of file GNENetHelper.cpp.
References GUIGlObject::getMicrosimID(), and GNEAttributeCarrier::unmarkForDrawingFront().
Referenced by GNEChange_EdgeType::redo(), GNEChange_EdgeType::undo(), and GNEChange_EdgeType::~GNEChange_EdgeType().
|
protected |
delete generic data of container
Definition at line 2127 of file GNENetHelper.cpp.
References GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), and GNEAttributeCarrier::unmarkForDrawingFront().
Referenced by GNEDataInterval::removeGenericDataChild().
|
protected |
delete internalLane from container
Definition at line 2541 of file GNENetHelper.cpp.
References GNENetworkElement::getGUIGlObject(), GNEAttributeCarrier::getID(), and GNEAttributeCarrier::getTagStr().
Referenced by GNETLSEditorFrame::buildInternalLanes().
|
protected |
delete lane from container
Definition at line 2431 of file GNENetHelper.cpp.
References GNENetworkElement::getGUIGlObject(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), and GNEAttributeCarrier::unmarkForDrawingFront().
Referenced by GNEEdge::removeLane(), and GNEEdge::~GNEEdge().
|
protected |
delete meanData element of container
Definition at line 2771 of file GNENetHelper.cpp.
References GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNETagProperties::isPlacedInRTree(), and GNEAttributeCarrier::unmarkForDrawingFront().
Referenced by GNEChange_MeanData::redo(), GNEChange_MeanData::undo(), and GNEChange_MeanData::~GNEChange_MeanData().
|
protected |
delete edge from container
Definition at line 2387 of file GNENetHelper.cpp.
References GNEReferenceCounter::decRef(), GNEHierarchicalElement::getChildLanes(), GNEInspectorFrame::TemplateEditor::getEdgeTemplate(), GNEEdge::getFromJunction(), GNEAttributeCarrier::getID(), GUIGlObject::getMicrosimID(), GNEEdge::getNBEdge(), GNEEdge::getToJunction(), GNEJunction::removeIncomingGNEEdge(), GNEJunction::removeOutgoingGNEEdge(), GNEInspectorFrame::TemplateEditor::setEdgeTemplate(), GNEEdge::setResponsible(), GNEAttributeCarrier::unmarkForDrawingFront(), and GNEJunction::updateCenteringBoundary().
Referenced by GNEChange_Edge::redo(), and GNEChange_Edge::undo().
|
protected |
delete junction from container
Definition at line 2323 of file GNENetHelper.cpp.
References GNEReferenceCounter::decRef(), GUIGlObject::getMicrosimID(), GNEJunction::getNBNode(), GNEJunction::setResponsible(), and GNEAttributeCarrier::unmarkForDrawingFront().
Referenced by GNEChange_Junction::redo(), and GNEChange_Junction::undo().
|
protected |
delete sourceSink element of container
Definition at line 2626 of file GNENetHelper.cpp.
References GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), and GNEAttributeCarrier::unmarkForDrawingFront().
Referenced by GNEChange_TAZSourceSink::redo(), GNEChange_TAZSourceSink::undo(), and GNEChange_TAZSourceSink::~GNEChange_TAZSourceSink().
|
protected |
delete walkingArea from container
Definition at line 2487 of file GNENetHelper.cpp.
References GNENetworkElement::getGUIGlObject(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), and GNEAttributeCarrier::unmarkForDrawingFront().
Referenced by GNEJunction::clearWalkingAreas(), and GNEJunction::~GNEJunction().
| std::string GNENetHelper::AttributeCarriers::generateAdditionalID | ( | SumoXMLTag | type | ) | const |
generate additional id
Definition at line 1151 of file GNENetHelper.cpp.
References NamespaceIDs::busStops, NamespaceIDs::calibrators, OptionsCont::getOptions(), GNE_TAG_CALIBRATOR_LANE, GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, GNE_TAG_MULTI_LANE_AREA_DETECTOR, GNE_TAG_POIGEO, GNE_TAG_POILANE, NamespaceIDs::laneAreaDetectors, NamespaceIDs::POIs, NamespaceIDs::polygons, SUMO_TAG_BUS_STOP, SUMO_TAG_CALIBRATOR, SUMO_TAG_CHARGING_STATION, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_ENTRY_EXIT_DETECTOR, SUMO_TAG_INDUCTION_LOOP, SUMO_TAG_INSTANT_INDUCTION_LOOP, SUMO_TAG_LANE_AREA_DETECTOR, SUMO_TAG_OVERHEAD_WIRE_SECTION, SUMO_TAG_PARKING_AREA, SUMO_TAG_POI, SUMO_TAG_POLY, SUMO_TAG_REROUTER, SUMO_TAG_ROUTEPROBE, SUMO_TAG_TAZ, SUMO_TAG_TRACTION_SUBSTATION, SUMO_TAG_TRAIN_STOP, SUMO_TAG_VSS, and toString().
Referenced by GNEWireFrame::buildWireOverView(), GNEWireFrame::createPath(), GNEViewNet::onCmdTriangulatePolygon(), and GNETAZFrame::shapeDrawed().
| std::string GNENetHelper::AttributeCarriers::generateDataSetID | ( | ) | const |
generate data set id
Definition at line 1952 of file GNENetHelper.cpp.
References OptionsCont::getOptions(), OptionsCont::getString(), and toString().
| std::string GNENetHelper::AttributeCarriers::generateDemandElementID | ( | SumoXMLTag | tag | ) | const |
generate demand element id
Definition at line 1474 of file GNENetHelper.cpp.
References NamespaceIDs::containers, OptionsCont::getOptions(), GNE_TAG_TRIP_JUNCTIONS, GNE_TAG_TRIP_TAZS, NamespaceIDs::persons, NamespaceIDs::routes, SUMO_TAG_ROUTE, SUMO_TAG_ROUTE_DISTRIBUTION, SUMO_TAG_TRIP, SUMO_TAG_VTYPE, SUMO_TAG_VTYPE_DISTRIBUTION, toString(), NamespaceIDs::types, and NamespaceIDs::vehicles.
Referenced by GNERouteHandler::transformToRouteFlow(), and GNERouteHandler::transformToVehicle().
| std::string GNENetHelper::AttributeCarriers::generateEdgeID | ( | ) | const |
generate edge ID
Definition at line 794 of file GNENetHelper.cpp.
References OptionsCont::getOptions(), OptionsCont::getString(), and toString().
Referenced by GNENet::createEdge().
| std::string GNENetHelper::AttributeCarriers::generateEdgeTypeID | ( | ) | const |
| std::string GNENetHelper::AttributeCarriers::generateMeanDataID | ( | SumoXMLTag | type | ) | const |
generate meanData id
Definition at line 2297 of file GNENetHelper.cpp.
References OptionsCont::getOptions(), SUMO_TAG_MEANDATA_EDGE, SUMO_TAG_MEANDATA_LANE, and toString().
| const std::unordered_map< SumoXMLTag, std::unordered_map< const GUIGlObject *, GNEAdditional * >, std::hash< int > > & GNENetHelper::AttributeCarriers::getAdditionals | ( | ) | const |
get additionals
Definition at line 1071 of file GNENetHelper.cpp.
Referenced by GNENet::clearAdditionalElements(), GNEViewParent::onCmdLocate(), GNEApplicationWindow::onCmdSaveAdditionalElementsUnified(), GNEApplicationWindow::onCmdSaveJuPedSimElementsAs(), GNEApplicationWindow::onUpdSaveJuPedSimElementsAs(), GNERerouterIntervalDialog::ParkingAreaReroutesList::ParkingAreaReroutesList(), GNESelectorParent::refreshSelectorParentModule(), GNENet::saveAdditionals(), GNEDeleteFrame::selectedACsToDelete(), and GNENet::writeAdditionalByType().
| const std::unordered_map< const GUIGlObject *, GNEConnection * > & GNENetHelper::AttributeCarriers::getConnections | ( | ) | const |
get connections
Definition at line 955 of file GNENetHelper.cpp.
Referenced by GNEEdge::clearGNEConnections(), GNEEdge::remakeGNEConnections(), GNEEdge::removeConnection(), and GNEEdge::~GNEEdge().
| const std::unordered_map< const GUIGlObject *, GNECrossing * > & GNENetHelper::AttributeCarriers::getCrossings | ( | ) | const |
get crossings
Definition at line 553 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::onCmdSaveNetwork(), GNEChange_Crossing::redo(), GNEChange_Crossing::undo(), and GNEJunction::~GNEJunction().
| const std::unordered_map< const GNEAttributeCarrier *, GNEDataInterval * > & GNENetHelper::AttributeCarriers::getDataIntervals | ( | ) | const |
get all data intervals of network
Definition at line 1976 of file GNENetHelper.cpp.
Referenced by GNENet::enableUpdateData(), GNENet::getDataSetIntervalMaximumEnd(), and GNENet::getDataSetIntervalMinimumBegin().
| const std::map< const std::string, GNEDataSet * > & GNENetHelper::AttributeCarriers::getDataSets | ( | ) | const |
get demand elements
Definition at line 1946 of file GNENetHelper.cpp.
Referenced by GNENet::clearDataElements(), GNEApplicationWindow::onCmdSaveDataElementsUnified(), GNEApplicationWindow::onUpdSaveDataElementsUnified(), and GNENet::saveDataElementsConfirmed().
| GNEDemandElement * GNENetHelper::AttributeCarriers::getDefaultType | ( | ) | const |
get default type
Definition at line 1542 of file GNENetHelper.cpp.
References DEFAULT_VTYPE_ID, SUMO_TAG_VTYPE, and TL.
| const std::unordered_map< SumoXMLTag, std::unordered_map< const GUIGlObject *, GNEDemandElement * >, std::hash< int > > & GNENetHelper::AttributeCarriers::getDemandElements | ( | ) | const |
get demand elements
Definition at line 1468 of file GNENetHelper.cpp.
Referenced by GNECalibratorDialog::CalibratorFlowsList::addNewElement(), GNENet::adjustPersonPlans(), GNEViewNet::buildColorRainbow(), GNECalibratorDialog::CalibratorFlowsList::CalibratorFlowsList(), GNENet::cleanInvalidDemandElements(), GNENet::cleanUnusedRoutes(), GNENet::clearDemandElements(), GNENet::computeDemandElements(), GNENet::joinRoutes(), GNEViewParent::onCmdLocate(), GNEApplicationWindow::onCmdSaveDemandElementsUnified(), GNEApplicationWindow::onCmdSaveSumoConfig(), GNEDemandElementSelector::onCmdSelectDemandElement(), GNEViewNet::onCmdToggleDrawSpreadVehicles(), GNERerouterIntervalDialog::RouteProbReroutesList::RouteProbReroutesList(), GNENet::saveDemandElements(), GNENet::saveDemandElementsConfirmed(), GNEDeleteFrame::selectedACsToDelete(), GNEContainerPlanFrame::show(), GNEPersonPlanFrame::show(), GNEStopFrame::show(), GNENet::writeDemandByType(), GNENet::writeRouteComment(), GNENet::writeRouteDistributions(), GNENet::writeRoutes(), GNENet::writeVTypeComment(), GNENet::writeVTypeDistributions(), and GNENet::writeVTypes().
| const std::map< std::string, GNEEdge * > & GNENetHelper::AttributeCarriers::getEdges | ( | ) | const |
map with the ID and pointer to edges of net
Definition at line 726 of file GNENetHelper.cpp.
Referenced by GNEPathManager::PathCalculator::calculateReachability(), GNEPathCreator::clearEdgeColors(), GNEPlanSelector::clearEdgeColors(), GNEConsecutiveSelector::clearPath(), GNERerouterIntervalDialog::ClosingReroutesList::ClosingReroutesList(), GNENet::computeAndUpdate(), GNENet::computeNetwork(), GNENet::createEdge(), GNENet::deleteJunction(), GNERerouterIntervalDialog::DestProbReroutesList::DestProbReroutesList(), GNEGenericDataFrame::hide(), GNEContainerFrame::hide(), GNEContainerPlanFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), GNEVehicleFrame::hide(), GNENet::initGNEConnections(), GNENet::initJunctionsAndEdges(), GNENet::joinSelectedJunctions(), GNENet::mergeJunctions(), GNEViewNet::onCmdEgeApplyTemplate(), GNEViewNet::onCmdLaneReachability(), GNEViewParent::onCmdLocate(), GNEApplicationWindow::onCmdSaveNetwork(), GNEApplicationWindow::onUpdNeedsNetworkElement(), GNENet::replaceJunctionByGeometry(), GNEPathCreator::setPossibleCandidates(), GNEPathCreator::setSpecialCandidates(), GNENet::setViewNet(), GNEPathCreator::updateEdgeColors(), GNEPlanSelector::updateEdgeColors(), GNEPlanSelector::updateJunctionColors(), and GNEConsecutiveSelector::updateLaneColors().
| const std::map< std::string, GNEEdgeType * > & GNENetHelper::AttributeCarriers::getEdgeTypes | ( | ) | const |
map with the ID and pointer to edgeTypes of net
Definition at line 653 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::onUpdSaveEdgeTypes(), GNENet::saveEdgeTypes(), and GNENet::saveNetwork().
| const std::unordered_map< SumoXMLTag, std::unordered_map< const GUIGlObject *, GNEGenericData * >, std::hash< int > > & GNENetHelper::AttributeCarriers::getGenericDatas | ( | ) | const |
get all generic datas
Definition at line 2043 of file GNENetHelper.cpp.
Referenced by GNEViewNet::buildColorRainbow(), GNENet::computeDataElements(), GNEViewNet::getEdgeDataAttrs(), GNEViewNet::getRelDataAttrs(), and GNEDeleteFrame::selectedACsToDelete().
| const std::map< std::string, GNEJunction * > & GNENetHelper::AttributeCarriers::getJunctions | ( | ) | const |
get junctions
Definition at line 443 of file GNENetHelper.cpp.
Referenced by GNEViewNet::buildColorRainbow(), GNENet::checkJunctionPosition(), GNENet::cleanInvalidCrossings(), GNEPathCreator::clearJunctionColors(), GNEPlanSelector::clearJunctionColors(), GNENet::computeAndUpdate(), GNENet::createJunction(), GNEVehicleFrame::hide(), GNENet::joinSelectedJunctions(), GNEViewParent::onCmdLocate(), GNEApplicationWindow::onUpdSaveTLSPrograms(), GNENet::removeSolitaryJunctions(), GNEDeleteFrame::selectedACsToDelete(), GNEPathCreator::updateJunctionColors(), GNEPlanSelector::updateJunctionColors(), and GNEApplicationWindow::updateRecomputingLabel().
| const std::unordered_map< const GUIGlObject *, GNELane * > & GNENetHelper::AttributeCarriers::getLanes | ( | ) | const |
get lanes
Definition at line 892 of file GNENetHelper.cpp.
Referenced by GNEViewNet::buildColorRainbow(), GNERerouterIntervalDialog::ClosingLaneReroutesList::ClosingLaneReroutesList(), and GNEEdge::~GNEEdge().
| const std::unordered_map< SumoXMLTag, std::map< const std::string, GNEMeanData * >, std::hash< int > > & GNENetHelper::AttributeCarriers::getMeanDatas | ( | ) | const |
get meanDatas
Definition at line 2262 of file GNENetHelper.cpp.
Referenced by GNENet::clearMeanDataElements(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEApplicationWindow::onCmdSaveMeanDataElementsUnified(), GNENet::writeMeanDataEdgeComment(), GNENet::writeMeanDataLaneComment(), and GNENet::writeMeanDatas().
| int GNENetHelper::AttributeCarriers::getNumberOfAdditionals | ( | ) | const |
get number of additionals
Definition at line 1107 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::onCmdOpenSUMOGUI(), and GNEApplicationWindow::onUpdSaveAdditionalElementsUnified().
| int GNENetHelper::AttributeCarriers::getNumberOfDataElements | ( | ) | const |
get number of current data elements saved in AttributeCarriers
Definition at line 270 of file GNENetHelper.cpp.
| int GNENetHelper::AttributeCarriers::getNumberOfDemandElements | ( | ) | const |
get number of current demand elements saved in AttributeCarriers (default vTypes are NOT included)
Definition at line 264 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::onCmdOpenSUMOGUI(), and GNEApplicationWindow::onUpdSaveDemandElementsUnified().
| int GNENetHelper::AttributeCarriers::getNumberOfGenericDatas | ( | ) | const |
Return the number of generic datas.
Definition at line 2065 of file GNENetHelper.cpp.
| int GNENetHelper::AttributeCarriers::getNumberOfMeanDatas | ( | ) | const |
get number of meanDatas
Definition at line 2268 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::onUpdSaveMeanDataElementsUnified().
| int GNENetHelper::AttributeCarriers::getNumberOfNetworkElements | ( | ) | const |
functions related with number of elements sorted by categories
get number of current network elements saved in AttributeCarriers
Definition at line 258 of file GNENetHelper.cpp.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedAdditionals | ( | ) | const |
get number of selected additionals (Including POIs, Polygons, TAZs and Wires)
Definition at line 1230 of file GNENetHelper.cpp.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedConnections | ( | ) | const |
get number of selected connections
Definition at line 974 of file GNENetHelper.cpp.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedContainers | ( | ) | const |
get number of selected containers
Definition at line 1797 of file GNENetHelper.cpp.
References SUMO_TAG_CONTAINER, and SUMO_TAG_CONTAINERFLOW.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedCrossings | ( | ) | const |
get number of selected crossings
Definition at line 572 of file GNENetHelper.cpp.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedDemandElements | ( | ) | const |
get number of selected demand elements
Definition at line 1637 of file GNENetHelper.cpp.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedEdgeDatas | ( | ) | const |
get number of selected edge datas
Definition at line 2076 of file GNENetHelper.cpp.
References GNE_TAG_EDGEREL_SINGLE.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedEdgeRelDatas | ( | ) | const |
get number of selected edge rel datas
Definition at line 2089 of file GNENetHelper.cpp.
References SUMO_TAG_EDGEREL.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedEdges | ( | ) | const |
get number of selected edges
Definition at line 831 of file GNENetHelper.cpp.
Referenced by GNELane::buildEdgeOperations(), GNELane::buildTemplateOperations(), and GNEMoveElementEdge::getMoveOperation().
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedEdgeTAZRel | ( | ) | const |
get number of selected edge TAZ Rels
Definition at line 2102 of file GNENetHelper.cpp.
References SUMO_TAG_TAZREL.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedJpsObstacles | ( | ) | const |
get number of selected obstacles
Definition at line 1282 of file GNENetHelper.cpp.
References GNE_TAG_JPS_OBSTACLE.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedJpsWalkableAreas | ( | ) | const |
get number of selected walkable areas
Definition at line 1270 of file GNENetHelper.cpp.
References GNE_TAG_JPS_WALKABLEAREA.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedJunctions | ( | ) | const |
get number of selected junctions
Definition at line 526 of file GNENetHelper.cpp.
Referenced by GNEJunction::getPopUpMenu().
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedLanes | ( | ) | const |
get number of selected lanes
Definition at line 911 of file GNENetHelper.cpp.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedPersons | ( | ) | const |
get number of selected persons
Definition at line 1713 of file GNENetHelper.cpp.
References SUMO_TAG_PERSON, and SUMO_TAG_PERSONFLOW.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedPersonTrips | ( | ) | const |
get number of selected person trips
Definition at line 1731 of file GNENetHelper.cpp.
References SUMO_TAG_PERSON, and SUMO_TAG_PERSONFLOW.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedPOIs | ( | ) | const |
get number of selected POIs
Definition at line 1294 of file GNENetHelper.cpp.
References GNE_TAG_POIGEO, GNE_TAG_POILANE, POIGEO, and SUMO_TAG_POI.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedPolygons | ( | ) | const |
get number of selected polygons
Definition at line 1258 of file GNENetHelper.cpp.
References SUMO_TAG_POLY.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedPureAdditionals | ( | ) | const |
get number of selected pure additionals (Except POIs, Polygons, TAZs and Wires)
Definition at line 1244 of file GNENetHelper.cpp.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedRides | ( | ) | const |
get number of selected rides
Definition at line 1775 of file GNENetHelper.cpp.
References SUMO_TAG_PERSON, and SUMO_TAG_PERSONFLOW.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedRoutes | ( | ) | const |
get number of selected routes
Definition at line 1651 of file GNENetHelper.cpp.
References GNE_TAG_FLOW_WITHROUTE, GNE_TAG_VEHICLE_WITHROUTE, and SUMO_TAG_ROUTE.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedStops | ( | ) | const |
get number of selected stops
Definition at line 1859 of file GNENetHelper.cpp.
References GNE_TAG_FLOW_WITHROUTE, GNE_TAG_VEHICLE_WITHROUTE, SUMO_TAG_CONTAINER, SUMO_TAG_CONTAINERFLOW, SUMO_TAG_FLOW, SUMO_TAG_PERSON, SUMO_TAG_PERSONFLOW, SUMO_TAG_ROUTE, and SUMO_TAG_TRIP.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedTAZs | ( | ) | const |
get number of selected TAZs
Definition at line 1338 of file GNENetHelper.cpp.
References SUMO_TAG_TAZ, and TAZ.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedTranships | ( | ) | const |
get number of selected tranships
Definition at line 1837 of file GNENetHelper.cpp.
References SUMO_TAG_CONTAINER, and SUMO_TAG_CONTAINERFLOW.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedTransport | ( | ) | const |
get number of selected transports
Definition at line 1815 of file GNENetHelper.cpp.
References SUMO_TAG_CONTAINER, and SUMO_TAG_CONTAINERFLOW.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedVehicles | ( | ) | const |
get number of selected vehicles
Definition at line 1675 of file GNENetHelper.cpp.
References GNE_TAG_FLOW_ROUTE, GNE_TAG_FLOW_WITHROUTE, GNE_TAG_VEHICLE_WITHROUTE, SUMO_TAG_FLOW, SUMO_TAG_TRIP, and SUMO_TAG_VEHICLE.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedWalkingAreas | ( | ) | const |
get number of selected walkingAreas
Definition at line 618 of file GNENetHelper.cpp.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedWalks | ( | ) | const |
get number of selected walks
Definition at line 1753 of file GNENetHelper.cpp.
References SUMO_TAG_PERSON, and SUMO_TAG_PERSONFLOW.
| int GNENetHelper::AttributeCarriers::getNumberOfSelectedWires | ( | ) | const |
get number of selected Wires
Definition at line 1350 of file GNENetHelper.cpp.
| int GNENetHelper::AttributeCarriers::getNumberOfTAZSourceSinks | ( | ) | const |
get number of TAZSourceSinks
Definition at line 1387 of file GNENetHelper.cpp.
| std::vector< std::string > GNENetHelper::AttributeCarriers::getPOIParamKeys | ( | ) | const |
return list of available POI parameters
Definition at line 1316 of file GNENetHelper.cpp.
References GNE_TAG_POIGEO, GNE_TAG_POILANE, POIGEO, and SUMO_TAG_POI.
Referenced by GNEViewNet::getPOIParamKeys().
| std::vector< GNEAdditional * > GNENetHelper::AttributeCarriers::getSelectedAdditionals | ( | ) | const |
get selected additionals
Definition at line 1077 of file GNENetHelper.cpp.
| std::vector< GNEAttributeCarrier * > GNENetHelper::AttributeCarriers::getSelectedAttributeCarriers | ( | const bool | ignoreCurrentSupermode | ) |
get all selected attribute carriers (or only relative to current supermode
Definition at line 399 of file GNENetHelper.cpp.
References GUISelectedStorage::getSelected(), GNEAttributeCarrier::getTagProperty(), gSelected, GNETagProperties::isAdditionalElement(), GNEAttributeCarrier::isAttributeCarrierSelected(), GNETagProperties::isDataElement(), GNETagProperties::isDemandElement(), and GNETagProperties::isNetworkElement().
Referenced by GNESelectorFrame::handleIDs(), GNEViewNet::hotkeyDel(), GNEInspectorFrame::inspectElement(), and GNEViewObjectSelector::onCmdUseSelectedElements().
| std::vector< GNEConnection * > GNENetHelper::AttributeCarriers::getSelectedConnections | ( | ) | const |
get selected connections
Definition at line 961 of file GNENetHelper.cpp.
| std::vector< GNECrossing * > GNENetHelper::AttributeCarriers::getSelectedCrossings | ( | ) | const |
return all selected crossings
Definition at line 559 of file GNENetHelper.cpp.
| std::vector< GNEDemandElement * > GNENetHelper::AttributeCarriers::getSelectedDemandElements | ( | ) | const |
get selected demand elements
Definition at line 1453 of file GNENetHelper.cpp.
Referenced by GNEVehicle::getPopUpMenu().
| std::vector< GNEEdge * > GNENetHelper::AttributeCarriers::getSelectedEdges | ( | ) | const |
return all edges
| [in] | onlySelected | Whether to return only selected edges |
Definition at line 732 of file GNENetHelper.cpp.
Referenced by GNEViewNet::addRestrictedLane(), GNETLSEditorFrame::handleMultiChange(), GNEViewNet::onCmdAddReversedEdge(), GNEViewNet::onCmdAddReversedEdgeDisconnected(), GNEViewNet::onCmdResetEdgeEndpoint(), GNEViewNet::onCmdResetEndPoints(), GNEViewNet::onCmdResetLength(), GNEViewNet::onCmdReverseEdge(), GNEViewNet::onCmdSmoothEdges(), GNEViewNet::onCmdSmoothEdgesElevation(), GNEViewNet::onCmdStraightenEdges(), GNEViewNet::onCmdStraightenEdgesElevation(), GNEViewNet::removeRestrictedLane(), GNETAZFrame::CurrentTAZ::setTAZ(), and GNEMoveFrame::show().
| std::vector< GNEGenericData * > GNENetHelper::AttributeCarriers::getSelectedGenericDatas | ( | ) | const |
get selected generic datas
Definition at line 2028 of file GNENetHelper.cpp.
| std::vector< GNEJunction * > GNENetHelper::AttributeCarriers::getSelectedJunctions | ( | ) | const |
return selected junctions
Definition at line 449 of file GNENetHelper.cpp.
Referenced by GNENet::joinSelectedJunctions(), GNEViewNet::onCmdAddJoinTLS(), GNEViewNet::onCmdAddTLS(), GNEViewNet::onCmdClearConnections(), GNEConnectorFrame::ConnectionOperations::onCmdClearSelectedConnections(), GNEViewNet::onCmdResetConnections(), GNEViewNet::onCmdResetEdgeEndPoints(), GNEViewNet::onCmdResetJunctionShape(), and GNEMoveFrame::show().
| std::vector< GNELane * > GNENetHelper::AttributeCarriers::getSelectedLanes | ( | ) | const |
get selected lanes
Definition at line 898 of file GNENetHelper.cpp.
Referenced by GNEViewNet::addRestrictedLane(), GNELane::buildLaneOperations(), GNETLSEditorFrame::handleMultiChange(), GNEViewNet::onCmdDuplicateLane(), GNEViewNet::onCmdResetLaneCustomShape(), GNEViewNet::onCmdResetOppositeLane(), GNEViewNet::removeRestrictedLane(), and GNEViewNet::restrictLane().
| std::vector< GNEAdditional * > GNENetHelper::AttributeCarriers::getSelectedShapes | ( | ) | const |
get selected shapes
Definition at line 1092 of file GNENetHelper.cpp.
Referenced by GNEViewNet::onCmdClosePolygon(), GNEViewNet::onCmdOpenPolygon(), GNEViewNet::onCmdSimplifyShape(), and GNEMoveFrame::show().
| std::vector< GNEWalkingArea * > GNENetHelper::AttributeCarriers::getSelectedWalkingAreas | ( | ) | const |
return all selected walkingAreas
Definition at line 605 of file GNENetHelper.cpp.
| int GNENetHelper::AttributeCarriers::getStopIndex | ( | ) |
get (and update) stop index
Definition at line 1631 of file GNENetHelper.cpp.
| const std::unordered_map< SumoXMLTag, std::unordered_map< const GNEAttributeCarrier *, GNETAZSourceSink * >, std::hash< int > > & GNENetHelper::AttributeCarriers::getTAZSourceSinks | ( | ) | const |
get sourceSinks
Definition at line 1381 of file GNENetHelper.cpp.
| const std::unordered_map< const GUIGlObject *, GNEWalkingArea * > & GNENetHelper::AttributeCarriers::getWalkingAreas | ( | ) | const |
get walkingAreas
Definition at line 599 of file GNENetHelper.cpp.
Referenced by GNEViewParent::onCmdLocate(), and GNEJunction::~GNEJunction().
|
protected |
Insert a additional element in container.
Definition at line 2553 of file GNENetHelper.cpp.
References GNEAdditional::getGUIGlObject(), GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNETagProperties::hasAttribute(), GNETagProperties::isPlacedInRTree(), SUMO_ATTR_ID, and GNEAttributeCarrier::updateGeometry().
Referenced by GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEAdditionalHandler::buildJpsObstacle(), GNEAdditionalHandler::buildJpsWalkableArea(), GNEAdditionalHandler::buildLaneCalibrator(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildOverheadWire(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNEAdditionalHandler::buildPOI(), GNEAdditionalHandler::buildPOIGeo(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildPolygon(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNEAdditionalHandler::buildTAZ(), GNEAdditionalHandler::buildTractionSubstation(), GNEAdditionalHandler::buildTrainStop(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNEChange_Additional::redo(), and GNEChange_Additional::undo().
|
protected |
insert connection in container
Definition at line 2503 of file GNENetHelper.cpp.
References GNENetworkElement::getGUIGlObject(), GNEAttributeCarrier::getID(), and GNEAttributeCarrier::getTagStr().
Referenced by GNEEdge::retrieveGNEConnection().
|
protected |
insert crossing in container
Definition at line 2447 of file GNENetHelper.cpp.
References GNENetworkElement::getGUIGlObject(), GNEAttributeCarrier::getID(), and GNEAttributeCarrier::getTagStr().
Referenced by GNEJunction::retrieveGNECrossing().
|
protected |
insert data interval in container
Definition at line 1982 of file GNENetHelper.cpp.
References GNEAttributeCarrier::getID(), and GNEAttributeCarrier::getTagStr().
Referenced by GNEDataSet::addDataIntervalChild().
|
protected |
Insert a data set in container.
Definition at line 2723 of file GNENetHelper.cpp.
References GNEAttributeCarrier::getID(), and GNEAttributeCarrier::getTagStr().
Referenced by GNEDataHandler::buildDataInterval(), GNEDataHandler::buildDataSet(), GNEChange_DataSet::redo(), and GNEChange_DataSet::undo().
|
protected |
Insert a demand element in container.
Definition at line 2648 of file GNENetHelper.cpp.
References GNEPathElement::computePathElement(), GNEDemandElement::getGUIGlObject(), GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNETagProperties::hasAttribute(), SUMO_ATTR_ID, and GNEAttributeCarrier::updateGeometry().
Referenced by GNERouteHandler::buildContainer(), GNERouteHandler::buildContainerFlow(), GNERouteHandler::buildContainerStop(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowJunctions(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowTAZs(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildPersonStop(), GNERouteHandler::buildPersonTrip(), GNERouteHandler::buildRide(), GNERouteHandler::buildRoute(), GNERouteHandler::buildRouteDistribution(), GNERouteHandler::buildRouteRef(), GNERouteHandler::buildStop(), GNERouteHandler::buildTranship(), GNERouteHandler::buildTransport(), GNERouteHandler::buildTrip(), GNERouteHandler::buildTripJunctions(), GNERouteHandler::buildTripTAZs(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVType(), GNERouteHandler::buildVTypeDistribution(), GNERouteHandler::buildVTypeRef(), GNERouteHandler::buildWalk(), GNEChange_DemandElement::redo(), and GNEChange_DemandElement::undo().
|
protected |
Definition at line 2375 of file GNENetHelper.cpp.
References NBNode::addIncomingEdge(), NBNode::addOutgoingEdge(), NBEdge::getFromNode(), GNEEdge::getNBEdge(), and NBEdge::getToNode().
Referenced by GNEChange_Edge::redo(), and GNEChange_Edge::undo().
|
protected |
insert edge type in container
Definition at line 2339 of file GNENetHelper.cpp.
References GUIGlObject::getMicrosimID().
Referenced by GNEChange_EdgeType::redo(), and GNEChange_EdgeType::undo().
|
protected |
insert generic data in container
Definition at line 2115 of file GNENetHelper.cpp.
References GNEGenericData::getGUIGlObject(), GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), and GNEAttributeCarrier::getTagStr().
Referenced by GNEDataInterval::addGenericDataChild().
|
protected |
insert internalLane in container
Definition at line 2530 of file GNENetHelper.cpp.
References GNENetworkElement::getGUIGlObject(), GUIGlObject::getMicrosimID(), and GNEAttributeCarrier::getTagStr().
Referenced by GNETLSEditorFrame::buildInternalLanes().
|
protected |
insert junction in container
Definition at line 2316 of file GNENetHelper.cpp.
References GNEJunction::getNBNode().
Referenced by GNEChange_Junction::redo(), and GNEChange_Junction::undo().
|
protected |
insert lane in container
Definition at line 2420 of file GNENetHelper.cpp.
References GNENetworkElement::getGUIGlObject(), GNEAttributeCarrier::getID(), and GNEAttributeCarrier::getTagStr().
Referenced by GNEEdge::addLane().
|
protected |
Insert a meanData element in container.
Definition at line 2758 of file GNENetHelper.cpp.
References GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), and GNEAttributeCarrier::getTagStr().
Referenced by GNEMeanDataHandler::buildEdgeMeanData(), GNEMeanDataHandler::buildLaneMeanData(), GNEChange_MeanData::redo(), and GNEChange_MeanData::undo().
|
protected |
Insert a sourceSink element in container.
Definition at line 2612 of file GNENetHelper.cpp.
References GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), and GNEAttributeCarrier::getTagStr().
Referenced by GNEAdditionalHandler::buildTAZ(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNEChange_TAZSourceSink::redo(), and GNEChange_TAZSourceSink::undo().
|
protected |
insert walkingArea in container
Definition at line 2476 of file GNENetHelper.cpp.
References GNENetworkElement::getGUIGlObject(), GNEAttributeCarrier::getID(), and GNEAttributeCarrier::getTagStr().
Referenced by GNEJunction::retrieveGNEWalkingArea().
| bool GNENetHelper::AttributeCarriers::isNetworkElementAroundTriangle | ( | GNEAttributeCarrier * | AC, |
| const Triangle & | triangle | ||
| ) | const |
check if shape of given AC (network element) is around the given triangle
Definition at line 216 of file GNENetHelper.cpp.
References GNEAdditional::getAdditionalGeometry(), NBNode::getCenter(), GNEAttributeCarrier::getGUIGlObject(), GNEAttributeCarrier::getID(), GNEJunction::getNBNode(), GNEAdditional::getPositionInView(), NBNode::getShape(), GUIGeometry::getShape(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), Triangle::intersectWithShape(), GNETagProperties::isAdditionalElement(), Triangle::isPositionWithin(), SUMO_TAG_CONNECTION, SUMO_TAG_CROSSING, SUMO_TAG_EDGE, SUMO_TAG_JUNCTION, and SUMO_TAG_LANE.
|
privatedelete |
Invalidated assignment operator.
registers an edge with containers
Definition at line 745 of file GNENetHelper.cpp.
References GNEJunction::addIncomingGNEEdge(), GNEJunction::addOutgoingGNEEdge(), GNEEdge::getCenteringBoundary(), GNEHierarchicalElement::getChildLanes(), GNEEdge::getFromJunction(), GUIGlObject::getMicrosimID(), GNEEdge::getToJunction(), GNEReferenceCounter::incRef(), GNEEdge::setResponsible(), GNEEdge::updateCenteringBoundary(), and GNEJunction::updateCenteringBoundary().
Referenced by GNENet::initJunctionsAndEdges().
| GNEEdgeType * GNENetHelper::AttributeCarriers::registerEdgeType | ( | GNEEdgeType * | edgeType | ) |
registers a edge in containers
Definition at line 643 of file GNENetHelper.cpp.
References GUIGlObject::getMicrosimID(), and GNEReferenceCounter::incRef().
Referenced by GNENet::initJunctionsAndEdges().
| GNEJunction * GNENetHelper::AttributeCarriers::registerJunction | ( | GNEJunction * | junction | ) |
registers a junction in containers
Definition at line 462 of file GNENetHelper.cpp.
References GNEJunction::getCenteringBoundary(), GUIGlObject::getMicrosimID(), GNEJunction::getNBNode(), NBNode::getPosition(), GNEReferenceCounter::incRef(), GNEJunction::setResponsible(), GNEJunction::updateGeometry(), and Position::z().
Referenced by GNENet::initJunctionsAndEdges().
| void GNENetHelper::AttributeCarriers::remapJunctionAndEdgeIds | ( | ) |
remap junction and edge IDs
Definition at line 198 of file GNENetHelper.cpp.
Referenced by GNENet::computeAndUpdate().
| GNEAdditional * GNENetHelper::AttributeCarriers::retrieveAdditional | ( | const GUIGlObject * | glObject, |
| bool | hardFail = true |
||
| ) | const |
Returns the named additional.
| [in] | glObject | The GUIGlObject associated with the element |
| [in] | hardFail | Whether attempts to retrieve a nonexisting additional should result in an exception |
Definition at line 1031 of file GNENetHelper.cpp.
| GNEAdditional * GNENetHelper::AttributeCarriers::retrieveAdditional | ( | SumoXMLTag | type, |
| const std::string & | id, | ||
| bool | hardFail = true |
||
| ) | const |
Returns the named additional.
| [in] | id | The attribute carrier related with the additional element |
| [in] | type | tag with the type of additional |
| [in] | id | The id of the additional to return. |
| [in] | hardFail | Whether attempts to retrieve a nonexisting additional should result in an exception |
Definition at line 1001 of file GNENetHelper.cpp.
Referenced by GNETAZFrame::addOrRemoveTAZMember(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEAdditionalHandler::buildLaneCalibrator(), GNEAdditionalHandler::buildOverheadWire(), GNEAdditionalHandler::buildParkingAreaReroute(), GNERouteHandler::buildStop(), GNEDataHandler::buildTAZRelationData(), GNEViewNet::deleteNetworkAttributeCarrier(), GNEViewNet::drawTemporalE1TLSLines(), GNEViewNet::getAdditionalAtPopupPosition(), GNEAdditionalHandler::getAdditionalParent(), GNEViewNet::getPOIAtPopupPosition(), GNEViewNet::getPolygonAtPopupPosition(), GNEViewNet::getTAZAtPopupPosition(), GNEPlanParents::GNEPlanParents(), GNECalibrator::isValid(), GNEEntryExitDetector::isValid(), GNEOverheadWire::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNETAZRelData::isValid(), GNEStop::isValid(), GNEAdditional::isValidAdditionalID(), GNEAdditional::isValidDetectorID(), GNERouteHandler::parseStopEdge(), GNERouteHandler::parseTAZ(), GNEAdditional::replaceAdditionalParent(), GNEDemandElement::replaceFirstParentAdditional(), GNEDemandElement::replaceLastParentAdditional(), GNEGenericData::replaceParentTAZElement(), GNEAdditionalHandler::retrieveAdditionalElement(), GNEAccess::setAttribute(), and GNEChange_Additional::~GNEChange_Additional().
| GNEAdditional * GNENetHelper::AttributeCarriers::retrieveAdditionals | ( | const std::vector< SumoXMLTag > | types, |
| const std::string & | id, | ||
| bool | hardFail = true |
||
| ) | const |
Returns the named additional.
| [in] | id | The attribute carrier related with the additional element |
| [in] | types | tags with the type of additional |
| [in] | id | The id of the additional to return. |
| [in] | hardFail | Whether attempts to retrieve a nonexisting additional should result in an exception |
Definition at line 1015 of file GNENetHelper.cpp.
Referenced by GNEAccess::isValid(), GNEAdditional::isValidAdditionalID(), and GNEAdditional::isValidDetectorID().
| GNEAttributeCarrier * GNENetHelper::AttributeCarriers::retrieveAttributeCarrier | ( | const GUIGlID | id, |
| bool | hardFail = true |
||
| ) | const |
get a single attribute carrier based on a GLID
| [in] | ids | the GL IDs for which to retrieve the AC |
| [in] | hardFail | Whether attempts to retrieve a nonexisting AttributeCarrier should result in an exception |
| InvalidArgument | if GL ID doesn't have a associated Attribute Carrier |
Definition at line 276 of file GNENetHelper.cpp.
References GUIGlObjectStorage::getObjectBlocking(), GUIGlObjectStorage::gIDStorage, and GUIGlObjectStorage::unblockObject().
Referenced by GNEViewNet::recalculateBoundaries().
| std::vector< GNEAttributeCarrier * > GNENetHelper::AttributeCarriers::retrieveAttributeCarriers | ( | SumoXMLTag | tag = SUMO_TAG_NOTHING | ) |
get the attribute carriers based on Type
| [in] | type | The GUI-type of the AC. SUMO_TAG_NOTHING returns all elements (Warning: bottleneck) |
Definition at line 299 of file GNENetHelper.cpp.
References DATA, DEMAND, NETWORK, SUMO_TAG_NOTHING, and SUMO_TAG_ROOTFILE.
Referenced by GNEMatchAttribute::getMatches().
| std::vector< GNEAttributeCarrier * > GNENetHelper::AttributeCarriers::retrieveAttributeCarriers | ( | Supermode | supermode, |
| const bool | onlySelected | ||
| ) |
get the attribute carriers based on supermode and selected
Definition at line 323 of file GNENetHelper.cpp.
|
protected |
retrieve attribute carriers recursively
Definition at line 2852 of file GNENetHelper.cpp.
References GNETagProperties::getHierarchicalChildren(), GNETagProperties::getTag(), GNETagProperties::isAdditionalElement(), GNETagProperties::isDataElement(), GNETagProperties::isDemandElement(), SUMO_TAG_CONNECTION, SUMO_TAG_CROSSING, SUMO_TAG_DATAINTERVAL, SUMO_TAG_DATASET, SUMO_TAG_EDGE, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, and SUMO_TAG_WALKINGAREA.
| GNEConnection * GNENetHelper::AttributeCarriers::retrieveConnection | ( | const GUIGlObject * | glObject, |
| bool | hardFail = true |
||
| ) | const |
get Connection by GUIGlObject
| [in] | glObject | The GUIGlObject associated with the element |
| [in] | hardFail | Whether attempts to retrieve a nonexisting Connection should result in an exception |
| UnknownElement |
Definition at line 940 of file GNENetHelper.cpp.
References GUIGlObject::getMicrosimID().
| GNEConnection * GNENetHelper::AttributeCarriers::retrieveConnection | ( | const std::string & | id, |
| bool | hardFail = true |
||
| ) | const |
get Connection by id
| [in] | id | The id of the desired Connection |
| [in] | hardFail | Whether attempts to retrieve a nonexisting Connection should result in an exception |
| UnknownElement |
Definition at line 923 of file GNENetHelper.cpp.
Referenced by GNEViewNet::deleteNetworkAttributeCarrier(), GNENet::deleteNetworkElement(), GNEViewNet::getConnectionAtPopupPosition(), and GNEViewNet::getShapeEditedAtPopupPosition().
| GNECrossing * GNENetHelper::AttributeCarriers::retrieveCrossing | ( | const GUIGlObject * | glObject, |
| bool | hardFail = true |
||
| ) | const |
get Crossing by AC
| [in] | glObject | The GUIGlObject associated with the element |
| [in] | hardFail | Whether attempts to retrieve a nonexisting Crossing should result in an exception |
| UnknownElement |
Definition at line 538 of file GNENetHelper.cpp.
References GUIGlObject::getMicrosimID().
Referenced by GNEViewNet::deleteNetworkAttributeCarrier(), GNENet::deleteNetworkElement(), GNEViewNet::getCrossingAtPopupPosition(), and GNEViewNet::getShapeEditedAtPopupPosition().
| GNEDataInterval * GNENetHelper::AttributeCarriers::retrieveDataInterval | ( | const GNEAttributeCarrier * | AC, |
| bool | hardFail = true |
||
| ) | const |
Returns the data interval.
| [in] | id | The attribute carrier related with the dataInterval element |
| [in] | hardFail | Whether attempts to retrieve a nonexisting data set should result in an exception |
Definition at line 1964 of file GNENetHelper.cpp.
Referenced by GNEViewNet::deleteDataAttributeCarrier(), GNEChange_DataInterval::~GNEChange_DataInterval(), and GNEChange_GenericData::~GNEChange_GenericData().
| GNEDataSet * GNENetHelper::AttributeCarriers::retrieveDataSet | ( | const std::string & | id, |
| bool | hardFail = true |
||
| ) | const |
Returns the named data set.
| [in] | id | The id of the data set to return. |
| [in] | hardFail | Whether attempts to retrieve a nonexisting data set should result in an exception |
Definition at line 1931 of file GNENetHelper.cpp.
Referenced by GNEDataHandler::buildDataInterval(), GNEDataHandler::buildEdgeData(), GNEDataHandler::buildEdgeRelationData(), GNEDataHandler::buildTAZRelationData(), GNEDataHandler::checkDuplicatedDataSet(), GNEViewNet::deleteDataAttributeCarrier(), GNEGenericDataFrame::DataSetSelector::getDataSet(), GNEViewNetHelper::IntervalBar::getDataSet(), GNEDataSet::isValid(), GNEChange_Attribute::redo(), GNEChange_Attribute::undo(), GNEChange_DataInterval::~GNEChange_DataInterval(), and GNEChange_DataSet::~GNEChange_DataSet().
| GNEDemandElement * GNENetHelper::AttributeCarriers::retrieveDemandElement | ( | const GUIGlObject * | glObject, |
| bool | hardFail = true |
||
| ) | const |
Returns the named demand.
| [in] | glObject | The GUIGlObject associated with the element |
| [in] | hardFail | Whether attempts to retrieve a nonexisting demand should result in an exception |
Definition at line 1436 of file GNENetHelper.cpp.
| GNEDemandElement * GNENetHelper::AttributeCarriers::retrieveDemandElement | ( | SumoXMLTag | type, |
| const std::string & | id, | ||
| bool | hardFail = true |
||
| ) | const |
Returns the named demand element.
| [in] | type | tag with the type of demand element |
| [in] | id | The id of the demand element to return. |
| [in] | hardFail | Whether attempts to retrieve a nonexisting demand element should result in an exception |
Definition at line 1406 of file GNENetHelper.cpp.
Referenced by GNEAdditionalHandler::buildCalibratorFlow(), GNEContainerFrame::buildContainer(), GNERouteHandler::buildContainerPlan(), GNERouteHandler::buildFlowOverRoute(), GNEPersonFrame::buildPerson(), GNERouteHandler::buildPersonPlan(), GNERouteHandler::buildRoute(), GNEAdditionalHandler::buildRouteProbReroute(), GNERouteHandler::buildRouteRef(), GNERouteHandler::buildStop(), GNERouteHandler::buildVehicleOverRoute(), GNEVehicleFrame::buildVehicleOverRoute(), GNERouteHandler::buildVType(), GNERouteHandler::buildVTypeRef(), GNERouteFrame::createPath(), GNEViewNet::deleteDemandAttributeCarrier(), GNERouteHandler::getContainerParent(), GNEViewNet::getDemandElementAtPopupPosition(), GNERouteHandler::getDistributionElements(), GNERouteHandler::getPersonParent(), GNERouteHandler::getRouteDistributionParent(), GNERouteHandler::getType(), GNERouteHandler::getVTypeDistributionParent(), GNEPlanParents::GNEPlanParents(), GNETypeFrame::GNETypeFrame(), GNEAttributesEditorType::inspectParent(), GNEDemandElement::isValidDemandElementID(), GNEAttributesEditorType::onCmdOpenExtendedAttributesDialog(), GNEAdditional::replaceDemandElementParent(), GNEDemandElement::replaceDemandElementParent(), GNEDemandElementPlan::replacePlanParent(), GNERouteHandler::retrieveDemandElement(), GNEVehicle::setAttribute(), GNEDemandElementSelector::showDemandElementSelector(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToTripJunctions(), GNERouteHandler::transformToTripTAZs(), GNERouteHandler::transformToVehicle(), GNEViewNetHelper::ViewObjectsSelector::updateDemandElements(), and GNEChange_DemandElement::~GNEChange_DemandElement().
| GNEDemandElement * GNENetHelper::AttributeCarriers::retrieveDemandElements | ( | const std::vector< SumoXMLTag > | types, |
| const std::string & | id, | ||
| bool | hardFail = true |
||
| ) | const |
Returns the named demand element.
| [in] | types | tag with the type of demand element |
| [in] | id | The id of the demand element to return. |
| [in] | hardFail | Whether attempts to retrieve a nonexisting demand element should result in an exception |
Definition at line 1420 of file GNENetHelper.cpp.
Referenced by GNECalibratorFlow::isValid(), GNERouteProbReroute::isValid(), GNEContainer::isValid(), GNEPerson::isValid(), GNEVehicle::isValid(), and GNEDemandElement::isValidDemandElementID().
| GNEEdge * GNENetHelper::AttributeCarriers::retrieveEdge | ( | const std::string & | id, |
| bool | hardFail = true |
||
| ) | const |
get edge by id
| [in] | id | The id of the desired edge |
| [in] | hardFail | Whether attempts to retrieve a nonexisting edge should result in an exception |
| UnknownElement |
Definition at line 695 of file GNENetHelper.cpp.
Referenced by GNEViewNet::addRestrictedLane(), GNETAZFrame::CurrentTAZ::addSourceSink(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::buildDestProbReroute(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEDataHandler::buildEdgeData(), GNEDataHandler::buildEdgeRelationData(), GNEAdditionalHandler::buildRouteProbe(), GNERouteHandler::buildStop(), GNEAdditionalHandler::buildTAZ(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNEAdditionalHandler::buildVaporizer(), GNEPathManager::PathCalculator::calculateDijkstraPath(), GNERouteHandler::checkViaAttribute(), GNEVehicle::computePathElement(), GNENet::createEdge(), GNERouteFrame::createPath(), GNENet::createRoundabout(), GNEViewNet::deleteNetworkAttributeCarrier(), GNENet::deleteNetworkElement(), GNEViewNet::getEdgeAtPopupPosition(), GNEAdditional::getPopUpMenu(), GNEPlanParents::GNEPlanParents(), GNESelectorFrame::handleIDs(), GNEConnectorFrame::initTargets(), GNECalibrator::isValid(), GNEClosingReroute::isValid(), GNEDestProbReroute::isValid(), GNERouteProbe::isValid(), GNEVaporizer::isValid(), GNEEdgeRelData::isValid(), GNEEdge::isValid(), GNEJunction::markAsModified(), GNEConnectorFrame::ConnectionOperations::onCmdSelectConflicts(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts(), GNECrossingFrame::CrossingParameters::onCmdSetAttribute(), GNEAttributeCarrier::parse(), GNERouteHandler::parseEdge(), GNERouteHandler::parseEdgeFromLaneID(), GNEAdditionalHandler::parseEdges(), GNERouteHandler::parseEdges(), GNEMeanDataHandler::parseEdges(), GNERouteHandler::parseStopEdge(), GNEJunction::removeConnectionsTo(), GNEViewNet::removeRestrictedLane(), GNEGenericData::replaceFirstParentEdge(), GNEDemandElement::replaceFirstParentEdge(), GNEGenericData::replaceLastParentEdge(), GNEDemandElement::replaceLastParentEdge(), GNEViewNet::restrictLane(), GNEEdge::retrieveGNEConnection(), GNENet::selectRoundabout(), GNEClosingReroute::setAttribute(), GNEDestProbReroute::setAttribute(), GNEEdge::setAttribute(), GNEJunction::setLogicValid(), GNEMoveElementJunction::setMoveShape(), GNENet::splitEdgesBidi(), and GNENet::splitJunction().
| std::vector< GNEEdge * > GNENetHelper::AttributeCarriers::retrieveEdges | ( | GNEJunction * | from, |
| GNEJunction * | to | ||
| ) | const |
get all edges by from and to GNEJunction
| [in] | id | The id of the desired edge |
| [in] | hardFail | Whether attempts to retrieve a nonexisting edge should result in an exception |
| UnknownElement |
Definition at line 710 of file GNENetHelper.cpp.
References GNEJunction::getGNEOutgoingEdges().
Referenced by GNENet::createEdge(), GNEEdge::getOppositeEdges(), and GNECreateEdgeFrame::processClick().
| GNEEdgeType * GNENetHelper::AttributeCarriers::retrieveEdgeType | ( | const std::string & | id, |
| bool | hardFail = true |
||
| ) | const |
get edge type by id
| [in] | id | The id of the desired edge type |
| [in] | hardFail | Whether attempts to retrieve a nonexisting edge type should result in an exception |
| UnknownElement |
Definition at line 630 of file GNENetHelper.cpp.
Referenced by GNEEdgeType::isValid(), GNECreateEdgeFrame::EdgeTypeSelector::onCmdDeleteEdgeType(), and GNEChange_EdgeType::~GNEChange_EdgeType().
| GNEGenericData * GNENetHelper::AttributeCarriers::retrieveGenericData | ( | const GUIGlObject * | glObject, |
| bool | hardFail = true |
||
| ) | const |
Returns the generic data.
| [in] | id | The attribute carrier related with the genericData element |
| [in] | hardFail | Whether attempts to retrieve a nonexisting data set should result in an exception |
Definition at line 2011 of file GNENetHelper.cpp.
Referenced by GNEViewNet::deleteDataAttributeCarrier(), and GNEChange_GenericData::~GNEChange_GenericData().
| std::set< std::string > GNENetHelper::AttributeCarriers::retrieveGenericDataParameters | ( | const std::string & | dataSetID, |
| const std::string & | genericDataTag, | ||
| const std::string & | beginStr, | ||
| const std::string & | endStr | ||
| ) | const |
return a set of parameters for the given dataSet, generic data Type, begin and end
Definition at line 2174 of file GNENetHelper.cpp.
References SUMO_ATTR_BEGIN, and SUMO_ATTR_END.
| std::set< std::string > GNENetHelper::AttributeCarriers::retrieveGenericDataParameters | ( | const std::string & | genericDataTag, |
| const double | begin, | ||
| const double | end | ||
| ) | const |
return a set of parameters for the given data Interval
Definition at line 2146 of file GNENetHelper.cpp.
References SUMO_ATTR_BEGIN, and SUMO_ATTR_END.
| std::vector< GNEGenericData * > GNENetHelper::AttributeCarriers::retrieveGenericDatas | ( | const SumoXMLTag | genericDataTag, |
| const double | begin, | ||
| const double | end | ||
| ) |
retrieve generic datas within the given interval
Definition at line 2049 of file GNENetHelper.cpp.
References SUMO_ATTR_BEGIN, and SUMO_ATTR_END.
| GNEInternalLane * GNENetHelper::AttributeCarriers::retrieveInternalLane | ( | const GUIGlObject * | glObject, |
| bool | hardFail = true |
||
| ) | const |
get InternalLane by GUIGlObject
| [in] | glObject | The GUIGlObject associated with the element |
| [in] | hardFail | Whether attempts to retrieve a nonexisting InternalLane should result in an exception |
| UnknownElement |
Definition at line 986 of file GNENetHelper.cpp.
References GUIGlObject::getMicrosimID().
| GNEJunction * GNENetHelper::AttributeCarriers::retrieveJunction | ( | const std::string & | id, |
| bool | hardFail = true |
||
| ) | const |
get junction by id
| [in] | id | The id of the desired junction |
| [in] | hardFail | Whether attempts to retrieve a nonexisting junction should result in an exception |
| UnknownElement |
Definition at line 428 of file GNENetHelper.cpp.
Referenced by GNENet::changeEdgeEndpoints(), GNEConnection::changeTLIndex(), GNETLSEditorFrame::cleanup(), GNETLSEditorFrame::TLSPrograms::createTLS(), GNEViewNet::deleteNetworkAttributeCarrier(), GNENet::deleteNetworkElement(), GNEViewNet::drawTemporalJunctionTLSLines(), GNEViewNet::drawTemporalRoundabout(), GNETLSEditorFrame::editJunction(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getShapeEditedAtPopupPosition(), GNEEdge::GNEEdge(), GNEPlanParents::GNEPlanParents(), GNEJunction::invalidateTLS(), GNEEdge::isValid(), GNEJunction::isValid(), GNETLSEditorFrame::TLSFile::onCmdLoadTLSProgram(), GNETLSEditorFrame::TLSPrograms::onCmdSaveChanges(), GNERouteHandler::parseJunction(), GNETLSEditorFrame::parseTLSPrograms(), GNEJunction::removeTLSConnections(), GNEDemandElement::replaceFirstParentJunction(), GNEJunction::replaceIncomingConnections(), GNEDemandElement::replaceLastParentJunction(), GNEEdge::setAttribute(), GNEJunction::setAttribute(), GNEJunction::setJunctionType(), GNEEdge::updateFirstParentJunction(), GNEViewNetHelper::ViewObjectsSelector::updateNetworkElements(), and GNEEdge::updateSecondParentJunction().
| GNELane * GNENetHelper::AttributeCarriers::retrieveLane | ( | const GUIGlObject * | glObject, |
| bool | hardFail = true |
||
| ) | const |
get Lane by GlObject
| [in] | glObject | The GUIGlObject associated with the element |
| [in] | hardFail | Whether attempts to retrieve a nonexisting Lane should result in an exception |
| UnknownElement |
Definition at line 877 of file GNENetHelper.cpp.
References GUIGlObject::getMicrosimID().
| GNELane * GNENetHelper::AttributeCarriers::retrieveLane | ( | const std::string & | id, |
| bool | hardFail = true, |
||
| bool | checkVolatileChange = false |
||
| ) | const |
get lane by id
| [in] | id | The id of the desired lane |
| [in] | hardFail | Whether attempts to retrieve a nonexisting lane should result in an exception |
| [in] | checkVolatileChange | Used by additionals after recomputing with volatile options. |
| UnknownElement |
Definition at line 843 of file GNENetHelper.cpp.
References GNEHierarchicalElement::getChildLanes(), SUMOXMLDefinitions::getEdgeIDFromLane(), GNELane::getIndex(), SUMO_TAG_EDGE, SUMO_TAG_LANE, and toString().
Referenced by GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildLaneCalibrator(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEAdditionalHandler::buildTrainStop(), GNENet::deleteEdge(), GNEViewNet::deleteNetworkAttributeCarrier(), GNENet::deleteNetworkElement(), GNEViewNet::getLaneAtPopupPosition(), GNEAdditional::getPopUpMenu(), GNEMoveElementLaneSingle::isMovingAttributeValid(), GNEAccess::isValid(), GNECalibrator::isValid(), GNECalibratorFlow::isValid(), GNEClosingLaneReroute::isValid(), GNEAttributesEditorType::moveLaneDown(), GNEAttributesEditorType::moveLaneUp(), GNEAttributeCarrier::parse(), GNEAdditionalHandler::parseLanes(), GNEDemandElement::replaceFirstParentLane(), GNEClosingLaneReroute::setAttribute(), and GNEAttributesEditorRow::showMoveLaneButtons().
| GNEMeanData * GNENetHelper::AttributeCarriers::retrieveMeanData | ( | SumoXMLTag | type, |
| const std::string & | id, | ||
| bool | hardFail = true |
||
| ) | const |
Returns the named meanData.
| [in] | id | The attribute carrier related with the meanData element |
| [in] | type | tag with the type of meanData |
| [in] | id | The id of the meanData to return. |
| [in] | hardFail | Whether attempts to retrieve a nonexisting meanData should result in an exception |
Definition at line 2247 of file GNENetHelper.cpp.
Referenced by GNEMeanDataHandler::checkDuplicatedMeanDataElement(), GNEMeanData::isValid(), and GNEChange_MeanData::~GNEChange_MeanData().
| GNEAdditional * GNENetHelper::AttributeCarriers::retrieveRerouterInterval | ( | const std::string & | rerouterID, |
| const SUMOTime | begin, | ||
| const SUMOTime | end | ||
| ) | const |
Returns the rerouter interval defined by given begin and end.
| [in] | rerouter | ID |
| [in] | begin | SUMOTime begin |
| [in] | end | SUMOTime begin |
Definition at line 1048 of file GNENetHelper.cpp.
References GNEHierarchicalElement::getChildAdditionals(), SUMO_ATTR_BEGIN, SUMO_ATTR_END, SUMO_TAG_INTERVAL, SUMO_TAG_REROUTER, and time2string().
Referenced by GNEAdditionalHandler::getRerouterIntervalParent().
| GNETAZSourceSink * GNENetHelper::AttributeCarriers::retrieveTAZSourceSink | ( | const GNEAttributeCarrier * | sourceSink, |
| bool | hardFail = true |
||
| ) | const |
Returns the named sourceSink.
| [in] | sourceSink | The GNETAZSourceSink to retrieve |
| [in] | hardFail | Whether attempts to retrieve a nonexisting sourceSink should result in an exception |
Definition at line 1364 of file GNENetHelper.cpp.
Referenced by GNEViewNet::deleteNetworkAttributeCarrier(), and GNEChange_TAZSourceSink::~GNEChange_TAZSourceSink().
| GNEWalkingArea * GNENetHelper::AttributeCarriers::retrieveWalkingArea | ( | const GUIGlObject * | glObject, |
| bool | hardFail = true |
||
| ) | const |
get WalkingArea by GlObject
| [in] | glObject | The GUIGlObject associated with the element |
| [in] | hardFail | Whether attempts to retrieve a nonexisting WalkingArea should result in an exception |
| UnknownElement |
Definition at line 584 of file GNENetHelper.cpp.
References GUIGlObject::getMicrosimID().
Referenced by GNEViewNet::getWalkingAreaAtPopupPosition().
| void GNENetHelper::AttributeCarriers::updateAdditionalID | ( | GNEAdditional * | additional, |
| const std::string & | newID | ||
| ) |
update additional ID in container
Definition at line 1135 of file GNENetHelper.cpp.
References GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), and GUIGlObject::setMicrosimID().
Referenced by GNEAdditional::setAdditionalID().
|
protected |
update demand element frames (called after insert/delete demand element)
Definition at line 2796 of file GNENetHelper.cpp.
References DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTEDISTRIBUTION, DEMAND_STOP, DEMAND_TYPE, DEMAND_TYPEDISTRIBUTION, DEMAND_VEHICLE, GNETagProperties::isContainer(), GNETagProperties::isPerson(), GNETagProperties::isRoute(), and GNETagProperties::isType().
| void GNENetHelper::AttributeCarriers::updateDemandElementID | ( | GNEDemandElement * | demandElement, |
| const std::string & | newID | ||
| ) |
update demand element ID in container
Definition at line 1570 of file GNENetHelper.cpp.
References GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), and GUIGlObject::setMicrosimID().
Referenced by GNEDemandElement::setDemandElementID().
| void GNENetHelper::AttributeCarriers::updateEdgeID | ( | GNEEdge * | edge, |
| const std::string & | newID | ||
| ) |
update edge ID in container
Definition at line 806 of file GNENetHelper.cpp.
References GNEHierarchicalElement::getChildLanes(), NBEdge::getID(), GNEAttributeCarrier::getID(), GNEEdge::getNBEdge(), GNEAttributeCarrier::getTagStr(), and GNEEdge::setEdgeID().
Referenced by GNEEdge::setAttribute().
| void GNENetHelper::AttributeCarriers::updateEdgeTypeID | ( | GNEEdgeType * | edgeType, |
| const std::string & | newID | ||
| ) |
update edgeType ID in container
Definition at line 664 of file GNENetHelper.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), and GNENetworkElement::setNetworkElementID().
Referenced by GNEEdgeType::setAttribute().
| void GNENetHelper::AttributeCarriers::updateJunctionID | ( | GNEJunction * | junction, |
| const std::string & | newID | ||
| ) |
update junction ID in container
Definition at line 503 of file GNENetHelper.cpp.
References NBNode::buildCrossings(), GNEAttributeCarrier::getID(), Named::getID(), GNEJunction::getNBNode(), GNEAttributeCarrier::getTagStr(), and GNENetworkElement::setNetworkElementID().
Referenced by GNEJunction::setAttribute().
| void GNENetHelper::AttributeCarriers::updateMeanDataID | ( | GNEMeanData * | meanData, |
| const std::string & | newID | ||
| ) |
update meanData ID in container
Definition at line 2283 of file GNENetHelper.cpp.
References GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), and GNEAttributeCarrier::getTagStr().
Referenced by GNEMeanData::setAttribute().
|
friend |
declare friend class
Definition at line 79 of file GNENetHelper.h.
|
friend |
Definition at line 91 of file GNENetHelper.h.
|
friend |
Definition at line 96 of file GNENetHelper.h.
|
friend |
Definition at line 95 of file GNENetHelper.h.
|
friend |
Definition at line 94 of file GNENetHelper.h.
|
friend |
Definition at line 89 of file GNENetHelper.h.
|
friend |
Definition at line 88 of file GNENetHelper.h.
|
friend |
Definition at line 97 of file GNENetHelper.h.
|
friend |
Definition at line 87 of file GNENetHelper.h.
|
friend |
Definition at line 98 of file GNENetHelper.h.
|
friend |
Definition at line 92 of file GNENetHelper.h.
|
friend |
Definition at line 93 of file GNENetHelper.h.
|
friend |
Definition at line 90 of file GNENetHelper.h.
|
friend |
Definition at line 81 of file GNENetHelper.h.
|
friend |
Definition at line 86 of file GNENetHelper.h.
|
friend |
Definition at line 85 of file GNENetHelper.h.
Definition at line 84 of file GNENetHelper.h.
|
friend |
Definition at line 83 of file GNENetHelper.h.
|
friend |
Definition at line 82 of file GNENetHelper.h.
|
friend |
Definition at line 80 of file GNENetHelper.h.
|
friend |
Definition at line 99 of file GNENetHelper.h.
|
private |
map with the tag and pointer to additional elements of net, sorted by IDs
Definition at line 849 of file GNENetHelper.h.
Referenced by AttributeCarriers().
|
private |
map with the tag and pointer to additional elements of net
Definition at line 852 of file GNENetHelper.h.
Referenced by AttributeCarriers().
|
private |
map with connetions
Definition at line 843 of file GNENetHelper.h.
|
private |
set with crossings
Definition at line 828 of file GNENetHelper.h.
|
private |
map with all data intervals of network
Definition at line 867 of file GNENetHelper.h.
|
private |
map with the ID and pointer to all datasets of net
Definition at line 864 of file GNENetHelper.h.
|
private |
map with the tag and pointer to demand elements of net, sorted by IDs
Definition at line 858 of file GNENetHelper.h.
Referenced by AttributeCarriers().
|
private |
map with the tag and pointer to demand elements elements of net
Definition at line 861 of file GNENetHelper.h.
Referenced by AttributeCarriers().
|
private |
map with the ID and pointer to edges of net
Definition at line 837 of file GNENetHelper.h.
|
private |
map with the ID and pointer to edgeTypes of net
Definition at line 834 of file GNENetHelper.h.
|
private |
map with the tag and pointer to all generic datas
Definition at line 870 of file GNENetHelper.h.
Referenced by AttributeCarriers().
|
private |
map with internal lanes
Definition at line 846 of file GNENetHelper.h.
|
private |
map with the ID and pointer to junctions of net
Definition at line 825 of file GNENetHelper.h.
|
private |
map with lanes
Definition at line 840 of file GNENetHelper.h.
|
private |
map with the tag and pointer to meanData elements of net
Definition at line 873 of file GNENetHelper.h.
Referenced by AttributeCarriers().
|
private |
|
private |
number of data elemements inserted in AttributeCarriers
Definition at line 819 of file GNENetHelper.h.
|
private |
number of demand elemements inserted in AttributeCarriers (excluding default vTypes)
Definition at line 816 of file GNENetHelper.h.
|
private |
number of mean data elemements inserted in AttributeCarriers
Definition at line 822 of file GNENetHelper.h.
|
private |
number of network elemements inserted in AttributeCarriers
Definition at line 813 of file GNENetHelper.h.
|
private |
stop index
Definition at line 810 of file GNENetHelper.h.
|
private |
map with the tag and pointer to TAZSourceSinks elements of net
Definition at line 855 of file GNENetHelper.h.
Referenced by AttributeCarriers().
|
private |
set with walkingAreas
Definition at line 831 of file GNENetHelper.h.