Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNENetHelper::AttributeCarriers Class Reference

struct used for saving all attribute carriers of net, in different formats More...

#include <GNENetHelper.h>

Collaboration diagram for GNENetHelper::AttributeCarriers:
[legend]

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
GNEAttributeCarrierretrieveAttributeCarrier (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
GNEJunctionretrieveJunction (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
 
GNEJunctionregisterJunction (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
GNECrossingretrieveCrossing (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
GNEWalkingArearetrieveWalkingArea (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
GNEEdgeTyperetrieveEdgeType (const std::string &id, bool hardFail=true) const
 get edge type by id
 
GNEEdgeTyperegisterEdgeType (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
GNEEdgeretrieveEdge (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
 
GNEEdgeregisterEdge (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
GNELaneretrieveLane (const std::string &id, bool hardFail=true, bool checkVolatileChange=false) const
 get lane by id
 
GNELaneretrieveLane (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
GNEConnectionretrieveConnection (const std::string &id, bool hardFail=true) const
 get Connection by id
 
GNEConnectionretrieveConnection (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
GNEInternalLaneretrieveInternalLane (const GUIGlObject *glObject, bool hardFail=true) const
 get InternalLane by GUIGlObject
 
function for additionals
GNEAdditionalretrieveAdditional (SumoXMLTag type, const std::string &id, bool hardFail=true) const
 Returns the named additional.
 
GNEAdditionalretrieveAdditionals (const std::vector< SumoXMLTag > types, const std::string &id, bool hardFail=true) const
 Returns the named additional.
 
GNEAdditionalretrieveAdditional (const GUIGlObject *glObject, bool hardFail=true) const
 Returns the named additional.
 
GNEAdditionalretrieveRerouterInterval (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
 
function for TAZ sourceSinks
GNETAZSourceSinkretrieveTAZSourceSink (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
GNEDemandElementretrieveDemandElement (SumoXMLTag type, const std::string &id, bool hardFail=true) const
 Returns the named demand element.
 
GNEDemandElementretrieveDemandElements (const std::vector< SumoXMLTag > types, const std::string &id, bool hardFail=true) const
 Returns the named demand element.
 
GNEDemandElementretrieveDemandElement (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
 
GNEDemandElementgetDefaultType () 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
GNEDataSetretrieveDataSet (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
GNEDataIntervalretrieveDataInterval (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
GNEGenericDataretrieveGenericData (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
GNEMeanDataretrieveMeanData (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.
 
AttributeCarriersoperator= (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
 
GNENetmyNet
 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
 

Friends

class GNEAdditionalHandler
 declare friend class
 
class GNEChange_Additional
 
class GNEChange_DataInterval
 
class GNEChange_DataSet
 
class GNEChange_DemandElement
 
class GNEChange_Edge
 
class GNEChange_EdgeType
 
class GNEChange_GenericData
 
class GNEChange_Junction
 
class GNEChange_MeanData
 
class GNEChange_Shape
 
class GNEChange_TAZElement
 
class GNEChange_TAZSourceSink
 
class GNEDataHandler
 
class GNEDataInterval
 
class GNEDataSet
 
class GNEEdge
 
class GNEJunction
 
class GNEMeanDataHandler
 
class GNERouteHandler
 
class GNETLSEditorFrame
 

Detailed Description

struct used for saving all attribute carriers of net, in different formats

Definition at line 76 of file GNENetHelper.h.

Constructor & Destructor Documentation

◆ AttributeCarriers() [1/3]

◆ ~AttributeCarriers()

GNENetHelper::AttributeCarriers::~AttributeCarriers ( )

destructor

Definition at line 147 of file GNENetHelper.cpp.

◆ AttributeCarriers() [2/3]

GNENetHelper::AttributeCarriers::AttributeCarriers ( )
privatedelete

Invalidated default constructor.

◆ AttributeCarriers() [3/3]

GNENetHelper::AttributeCarriers::AttributeCarriers ( const AttributeCarriers )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ addDefaultVTypes()

void GNENetHelper::AttributeCarriers::addDefaultVTypes ( )

◆ addPrefixToEdges()

void GNENetHelper::AttributeCarriers::addPrefixToEdges ( const std::string &  prefix)

add prefix to all edges

Definition at line 777 of file GNENetHelper.cpp.

References GNENetworkElement::setNetworkElementID().

Referenced by GNELoadThread::run().

Here is the caller graph for this function:

◆ addPrefixToJunctions()

void GNENetHelper::AttributeCarriers::addPrefixToJunctions ( const std::string &  prefix)

add prefix to all junctions

Definition at line 486 of file GNENetHelper.cpp.

References GNENetworkElement::setNetworkElementID().

Referenced by GNELoadThread::run().

Here is the caller graph for this function:

◆ clearAdditionals()

void GNENetHelper::AttributeCarriers::clearAdditionals ( )

clear additionals

Definition at line 1116 of file GNENetHelper.cpp.

Referenced by GNENet::computeAndUpdate().

Here is the caller graph for this function:

◆ clearDemandElements()

void GNENetHelper::AttributeCarriers::clearDemandElements ( )

clear demand elements

Definition at line 1529 of file GNENetHelper.cpp.

Referenced by GNENet::computeAndUpdate().

Here is the caller graph for this function:

◆ clearEdges()

void GNENetHelper::AttributeCarriers::clearEdges ( )

clear edges

Definition at line 771 of file GNENetHelper.cpp.

Referenced by GNENet::computeAndUpdate().

Here is the caller graph for this function:

◆ clearEdgeTypes()

void GNENetHelper::AttributeCarriers::clearEdgeTypes ( )

clear edgeTypes

Definition at line 657 of file GNENetHelper.cpp.

◆ clearJunctions()

void GNENetHelper::AttributeCarriers::clearJunctions ( )

clear junctions

Definition at line 480 of file GNENetHelper.cpp.

Referenced by GNENet::computeAndUpdate().

Here is the caller graph for this function:

◆ clearMeanDatas()

void GNENetHelper::AttributeCarriers::clearMeanDatas ( )

clear meanDatas

Definition at line 2251 of file GNENetHelper.cpp.

◆ clearTAZSourceSinks()

void GNENetHelper::AttributeCarriers::clearTAZSourceSinks ( )

clear sourceSinks

Definition at line 1374 of file GNENetHelper.cpp.

◆ deleteAdditional()

void GNENetHelper::AttributeCarriers::deleteAdditional ( GNEAdditional additional)
protected

delete additional element of container

Definition at line 2556 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().

Here is the caller graph for this function:

◆ deleteConnection()

void GNENetHelper::AttributeCarriers::deleteConnection ( GNEConnection connection)
protected

delete connection from container

Definition at line 2491 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().

Here is the caller graph for this function:

◆ deleteCrossing()

void GNENetHelper::AttributeCarriers::deleteCrossing ( GNECrossing crossing)
protected

delete crossing from container

Definition at line 2435 of file GNENetHelper.cpp.

References GNENetworkElement::getGUIGlObject(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), and GNEAttributeCarrier::unmarkForDrawingFront().

Referenced by GNEJunction::rebuildGNECrossings(), and GNEJunction::~GNEJunction().

Here is the caller graph for this function:

◆ deleteDataInterval()

void GNENetHelper::AttributeCarriers::deleteDataInterval ( GNEDataInterval dataInterval)
protected

delete data interval of container

Definition at line 1971 of file GNENetHelper.cpp.

References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), and GNEAttributeCarrier::unmarkForDrawingFront().

Referenced by GNEDataSet::removeDataIntervalChild().

Here is the caller graph for this function:

◆ deleteDataSet()

void GNENetHelper::AttributeCarriers::deleteDataSet ( GNEDataSet dataSet)
protected

delete data set of container

Definition at line 2715 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().

Here is the caller graph for this function:

◆ deleteDemandElement()

void GNENetHelper::AttributeCarriers::deleteDemandElement ( GNEDemandElement demandElement,
const bool  updateFrames 
)
protected

◆ deleteEdgeType()

void GNENetHelper::AttributeCarriers::deleteEdgeType ( GNEEdgeType edgeType)
protected

delete edge type from container

Definition at line 2332 of file GNENetHelper.cpp.

References GUIGlObject::getMicrosimID(), and GNEAttributeCarrier::unmarkForDrawingFront().

Referenced by GNEChange_EdgeType::redo(), GNEChange_EdgeType::undo(), and GNEChange_EdgeType::~GNEChange_EdgeType().

Here is the caller graph for this function:

◆ deleteGenericData()

void GNENetHelper::AttributeCarriers::deleteGenericData ( GNEGenericData genericData)
protected

delete generic data of container

Definition at line 2104 of file GNENetHelper.cpp.

References GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), and GNEAttributeCarrier::unmarkForDrawingFront().

Referenced by GNEDataInterval::removeGenericDataChild().

Here is the caller graph for this function:

◆ deleteInternalLane()

void GNENetHelper::AttributeCarriers::deleteInternalLane ( GNEInternalLane internalLane)
protected

delete internalLane from container

Definition at line 2518 of file GNENetHelper.cpp.

References GNENetworkElement::getGUIGlObject(), GNEAttributeCarrier::getID(), and GNEAttributeCarrier::getTagStr().

Referenced by GNETLSEditorFrame::buildInternalLanes().

Here is the caller graph for this function:

◆ deleteLane()

void GNENetHelper::AttributeCarriers::deleteLane ( GNELane lane)
protected

delete lane from container

Definition at line 2408 of file GNENetHelper.cpp.

References GNENetworkElement::getGUIGlObject(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), and GNEAttributeCarrier::unmarkForDrawingFront().

Referenced by GNEEdge::removeLane(), and GNEEdge::~GNEEdge().

Here is the caller graph for this function:

◆ deleteMeanData()

void GNENetHelper::AttributeCarriers::deleteMeanData ( GNEMeanData meanData)
protected

delete meanData element of container

Definition at line 2748 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().

Here is the caller graph for this function:

◆ deleteSingleEdge()

◆ deleteSingleJunction()

void GNENetHelper::AttributeCarriers::deleteSingleJunction ( GNEJunction junction)
protected

delete junction from container

Definition at line 2300 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().

Here is the caller graph for this function:

◆ deleteTAZSourceSink()

void GNENetHelper::AttributeCarriers::deleteTAZSourceSink ( GNETAZSourceSink sourceSink)
protected

delete sourceSink element of container

Definition at line 2603 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().

Here is the caller graph for this function:

◆ deleteWalkingArea()

void GNENetHelper::AttributeCarriers::deleteWalkingArea ( GNEWalkingArea walkingArea)
protected

delete walkingArea from container

Definition at line 2464 of file GNENetHelper.cpp.

References GNENetworkElement::getGUIGlObject(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), and GNEAttributeCarrier::unmarkForDrawingFront().

Referenced by GNEJunction::clearWalkingAreas(), and GNEJunction::~GNEJunction().

Here is the caller graph for this function:

◆ generateAdditionalID()

◆ generateDataSetID()

std::string GNENetHelper::AttributeCarriers::generateDataSetID ( ) const

generate data set id

Definition at line 1929 of file GNENetHelper.cpp.

References OptionsCont::getOptions(), OptionsCont::getString(), and toString().

◆ generateDemandElementID()

std::string GNENetHelper::AttributeCarriers::generateDemandElementID ( SumoXMLTag  tag) const

generate demand element id

Definition at line 1451 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().

Here is the caller graph for this function:

◆ generateEdgeID()

std::string GNENetHelper::AttributeCarriers::generateEdgeID ( ) const

generate edge ID

Definition at line 793 of file GNENetHelper.cpp.

References OptionsCont::getOptions(), OptionsCont::getString(), and toString().

Referenced by GNENet::createEdge().

Here is the caller graph for this function:

◆ generateEdgeTypeID()

std::string GNENetHelper::AttributeCarriers::generateEdgeTypeID ( ) const

generate edgeType id

Definition at line 684 of file GNENetHelper.cpp.

References toString().

◆ generateMeanDataID()

std::string GNENetHelper::AttributeCarriers::generateMeanDataID ( SumoXMLTag  type) const

generate meanData id

Definition at line 2274 of file GNENetHelper.cpp.

References OptionsCont::getOptions(), SUMO_TAG_MEANDATA_EDGE, SUMO_TAG_MEANDATA_LANE, and toString().

◆ getAdditionals()

const std::unordered_map< SumoXMLTag, std::unordered_map< const GUIGlObject *, GNEAdditional * >, std::hash< int > > & GNENetHelper::AttributeCarriers::getAdditionals ( ) const

◆ getConnections()

const std::unordered_map< const GUIGlObject *, GNEConnection * > & GNENetHelper::AttributeCarriers::getConnections ( ) const

get connections

Definition at line 954 of file GNENetHelper.cpp.

Referenced by GNEEdge::clearGNEConnections(), GNEEdge::remakeGNEConnections(), GNEEdge::removeConnection(), and GNEEdge::~GNEEdge().

Here is the caller graph for this function:

◆ getCrossings()

const std::unordered_map< const GUIGlObject *, GNECrossing * > & GNENetHelper::AttributeCarriers::getCrossings ( ) const

get crossings

Definition at line 552 of file GNENetHelper.cpp.

Referenced by GNEApplicationWindow::onCmdSaveNetwork(), GNEChange_Crossing::redo(), GNEChange_Crossing::undo(), and GNEJunction::~GNEJunction().

Here is the caller graph for this function:

◆ getDataIntervals()

const std::unordered_map< const GNEAttributeCarrier *, GNEDataInterval * > & GNENetHelper::AttributeCarriers::getDataIntervals ( ) const

get all data intervals of network

Definition at line 1953 of file GNENetHelper.cpp.

Referenced by GNENet::enableUpdateData(), GNENet::getDataSetIntervalMaximumEnd(), and GNENet::getDataSetIntervalMinimumBegin().

Here is the caller graph for this function:

◆ getDataSets()

const std::map< const std::string, GNEDataSet * > & GNENetHelper::AttributeCarriers::getDataSets ( ) const

get demand elements

Definition at line 1923 of file GNENetHelper.cpp.

Referenced by GNENet::clearDataElements(), GNEApplicationWindow::onCmdSaveDataElementsUnified(), GNEApplicationWindow::onUpdSaveDataElementsUnified(), and GNENet::saveDataElementsConfirmed().

Here is the caller graph for this function:

◆ getDefaultType()

GNEDemandElement * GNENetHelper::AttributeCarriers::getDefaultType ( ) const

get default type

Definition at line 1519 of file GNENetHelper.cpp.

References DEFAULT_VTYPE_ID, SUMO_TAG_VTYPE, and TL.

◆ getDemandElements()

◆ getEdges()

const std::map< std::string, GNEEdge * > & GNENetHelper::AttributeCarriers::getEdges ( ) const

◆ getEdgeTypes()

const std::map< std::string, GNEEdgeType * > & GNENetHelper::AttributeCarriers::getEdgeTypes ( ) const

map with the ID and pointer to edgeTypes of net

Definition at line 652 of file GNENetHelper.cpp.

Referenced by GNEApplicationWindow::onUpdSaveEdgeTypes(), GNEApplicationWindow::onUpdSaveEdgeTypesAs(), GNENet::saveEdgeTypes(), and GNENet::saveNetwork().

Here is the caller graph for this function:

◆ getGenericDatas()

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 2020 of file GNENetHelper.cpp.

Referenced by GNEViewNet::buildColorRainbow(), GNENet::computeDataElements(), GNEViewNet::getEdgeDataAttrs(), GNEViewNet::getRelDataAttrs(), and GNEDeleteFrame::selectedACsToDelete().

Here is the caller graph for this function:

◆ getJunctions()

◆ getLanes()

const std::unordered_map< const GUIGlObject *, GNELane * > & GNENetHelper::AttributeCarriers::getLanes ( ) const

get lanes

Definition at line 891 of file GNENetHelper.cpp.

Referenced by GNEViewNet::buildColorRainbow(), GNERerouterIntervalDialog::ClosingLaneReroutesList::ClosingLaneReroutesList(), and GNEEdge::~GNEEdge().

Here is the caller graph for this function:

◆ getMeanDatas()

const std::unordered_map< SumoXMLTag, std::map< const std::string, GNEMeanData * >, std::hash< int > > & GNENetHelper::AttributeCarriers::getMeanDatas ( ) const

get meanDatas

Definition at line 2239 of file GNENetHelper.cpp.

Referenced by GNENet::clearMeanDataElements(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEApplicationWindow::onCmdSaveMeanDataElementsUnified(), GNENet::writeMeanDataEdgeComment(), GNENet::writeMeanDataLaneComment(), and GNENet::writeMeanDatas().

Here is the caller graph for this function:

◆ getNumberOfAdditionals()

int GNENetHelper::AttributeCarriers::getNumberOfAdditionals ( ) const

get number of additionals

Definition at line 1106 of file GNENetHelper.cpp.

Referenced by GNEApplicationWindow::onCmdOpenSUMOGUI(), and GNEApplicationWindow::onUpdSaveAdditionalElementsUnified().

Here is the caller graph for this function:

◆ getNumberOfDataElements()

int GNENetHelper::AttributeCarriers::getNumberOfDataElements ( ) const

get number of current data elements saved in AttributeCarriers

Definition at line 269 of file GNENetHelper.cpp.

◆ getNumberOfDemandElements()

int GNENetHelper::AttributeCarriers::getNumberOfDemandElements ( ) const

get number of current demand elements saved in AttributeCarriers (default vTypes are NOT included)

Definition at line 263 of file GNENetHelper.cpp.

Referenced by GNEApplicationWindow::onCmdOpenSUMOGUI(), and GNEApplicationWindow::onUpdSaveDemandElementsUnified().

Here is the caller graph for this function:

◆ getNumberOfGenericDatas()

int GNENetHelper::AttributeCarriers::getNumberOfGenericDatas ( ) const

Return the number of generic datas.

Definition at line 2042 of file GNENetHelper.cpp.

◆ getNumberOfMeanDatas()

int GNENetHelper::AttributeCarriers::getNumberOfMeanDatas ( ) const

get number of meanDatas

Definition at line 2245 of file GNENetHelper.cpp.

Referenced by GNEApplicationWindow::onUpdSaveMeanDataElementsUnified().

Here is the caller graph for this function:

◆ getNumberOfNetworkElements()

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 257 of file GNENetHelper.cpp.

◆ getNumberOfSelectedAdditionals()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedAdditionals ( ) const

get number of selected additionals (Including POIs, Polygons, TAZs and Wires)

Definition at line 1229 of file GNENetHelper.cpp.

◆ getNumberOfSelectedConnections()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedConnections ( ) const

get number of selected connections

Definition at line 973 of file GNENetHelper.cpp.

◆ getNumberOfSelectedContainers()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedContainers ( ) const

get number of selected containers

Definition at line 1774 of file GNENetHelper.cpp.

References SUMO_TAG_CONTAINER, and SUMO_TAG_CONTAINERFLOW.

◆ getNumberOfSelectedCrossings()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedCrossings ( ) const

get number of selected crossings

Definition at line 571 of file GNENetHelper.cpp.

◆ getNumberOfSelectedDemandElements()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedDemandElements ( ) const

get number of selected demand elements

Definition at line 1614 of file GNENetHelper.cpp.

◆ getNumberOfSelectedEdgeDatas()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedEdgeDatas ( ) const

get number of selected edge datas

Definition at line 2053 of file GNENetHelper.cpp.

References GNE_TAG_EDGEREL_SINGLE.

◆ getNumberOfSelectedEdgeRelDatas()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedEdgeRelDatas ( ) const

get number of selected edge rel datas

Definition at line 2066 of file GNENetHelper.cpp.

References SUMO_TAG_EDGEREL.

◆ getNumberOfSelectedEdges()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedEdges ( ) const

get number of selected edges

Definition at line 830 of file GNENetHelper.cpp.

Referenced by GNELane::buildEdgeOperations(), GNELane::buildTemplateOperations(), and GNEEdge::getMoveOperation().

Here is the caller graph for this function:

◆ getNumberOfSelectedEdgeTAZRel()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedEdgeTAZRel ( ) const

get number of selected edge TAZ Rels

Definition at line 2079 of file GNENetHelper.cpp.

References SUMO_TAG_TAZREL.

◆ getNumberOfSelectedJpsObstacles()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedJpsObstacles ( ) const

get number of selected obstacles

Definition at line 1281 of file GNENetHelper.cpp.

References GNE_TAG_JPS_OBSTACLE.

◆ getNumberOfSelectedJpsWalkableAreas()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedJpsWalkableAreas ( ) const

get number of selected walkable areas

Definition at line 1269 of file GNENetHelper.cpp.

References GNE_TAG_JPS_WALKABLEAREA.

◆ getNumberOfSelectedJunctions()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedJunctions ( ) const

get number of selected junctions

Definition at line 525 of file GNENetHelper.cpp.

Referenced by GNEJunction::getPopUpMenu().

Here is the caller graph for this function:

◆ getNumberOfSelectedLanes()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedLanes ( ) const

get number of selected lanes

Definition at line 910 of file GNENetHelper.cpp.

◆ getNumberOfSelectedPersons()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedPersons ( ) const

get number of selected persons

Definition at line 1690 of file GNENetHelper.cpp.

References SUMO_TAG_PERSON, and SUMO_TAG_PERSONFLOW.

◆ getNumberOfSelectedPersonTrips()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedPersonTrips ( ) const

get number of selected person trips

Definition at line 1708 of file GNENetHelper.cpp.

References SUMO_TAG_PERSON, and SUMO_TAG_PERSONFLOW.

◆ getNumberOfSelectedPOIs()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedPOIs ( ) const

get number of selected POIs

Definition at line 1293 of file GNENetHelper.cpp.

References GNE_TAG_POIGEO, GNE_TAG_POILANE, POIGEO, and SUMO_TAG_POI.

◆ getNumberOfSelectedPolygons()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedPolygons ( ) const

get number of selected polygons

Definition at line 1257 of file GNENetHelper.cpp.

References SUMO_TAG_POLY.

◆ getNumberOfSelectedPureAdditionals()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedPureAdditionals ( ) const

get number of selected pure additionals (Except POIs, Polygons, TAZs and Wires)

Definition at line 1243 of file GNENetHelper.cpp.

◆ getNumberOfSelectedRides()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedRides ( ) const

get number of selected rides

Definition at line 1752 of file GNENetHelper.cpp.

References SUMO_TAG_PERSON, and SUMO_TAG_PERSONFLOW.

◆ getNumberOfSelectedRoutes()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedRoutes ( ) const

get number of selected routes

Definition at line 1628 of file GNENetHelper.cpp.

References GNE_TAG_FLOW_WITHROUTE, GNE_TAG_VEHICLE_WITHROUTE, and SUMO_TAG_ROUTE.

◆ getNumberOfSelectedStops()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedStops ( ) const

◆ getNumberOfSelectedTAZs()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedTAZs ( ) const

get number of selected TAZs

Definition at line 1315 of file GNENetHelper.cpp.

References SUMO_TAG_TAZ, and TAZ.

◆ getNumberOfSelectedTranships()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedTranships ( ) const

get number of selected tranships

Definition at line 1814 of file GNENetHelper.cpp.

References SUMO_TAG_CONTAINER, and SUMO_TAG_CONTAINERFLOW.

◆ getNumberOfSelectedTransport()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedTransport ( ) const

get number of selected transports

Definition at line 1792 of file GNENetHelper.cpp.

References SUMO_TAG_CONTAINER, and SUMO_TAG_CONTAINERFLOW.

◆ getNumberOfSelectedVehicles()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedVehicles ( ) const

get number of selected vehicles

Definition at line 1652 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.

◆ getNumberOfSelectedWalkingAreas()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedWalkingAreas ( ) const

get number of selected walkingAreas

Definition at line 617 of file GNENetHelper.cpp.

◆ getNumberOfSelectedWalks()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedWalks ( ) const

get number of selected walks

Definition at line 1730 of file GNENetHelper.cpp.

References SUMO_TAG_PERSON, and SUMO_TAG_PERSONFLOW.

◆ getNumberOfSelectedWires()

int GNENetHelper::AttributeCarriers::getNumberOfSelectedWires ( ) const

get number of selected Wires

Definition at line 1327 of file GNENetHelper.cpp.

◆ getNumberOfTAZSourceSinks()

int GNENetHelper::AttributeCarriers::getNumberOfTAZSourceSinks ( ) const

get number of TAZSourceSinks

Definition at line 1364 of file GNENetHelper.cpp.

◆ getSelectedAdditionals()

std::vector< GNEAdditional * > GNENetHelper::AttributeCarriers::getSelectedAdditionals ( ) const

get selected additionals

Definition at line 1076 of file GNENetHelper.cpp.

◆ getSelectedAttributeCarriers()

std::vector< GNEAttributeCarrier * > GNENetHelper::AttributeCarriers::getSelectedAttributeCarriers ( const bool  ignoreCurrentSupermode)

get all selected attribute carriers (or only relative to current supermode

Definition at line 398 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().

Here is the caller graph for this function:

◆ getSelectedConnections()

std::vector< GNEConnection * > GNENetHelper::AttributeCarriers::getSelectedConnections ( ) const

get selected connections

Definition at line 960 of file GNENetHelper.cpp.

◆ getSelectedCrossings()

std::vector< GNECrossing * > GNENetHelper::AttributeCarriers::getSelectedCrossings ( ) const

return all selected crossings

Definition at line 558 of file GNENetHelper.cpp.

◆ getSelectedDemandElements()

std::vector< GNEDemandElement * > GNENetHelper::AttributeCarriers::getSelectedDemandElements ( ) const

get selected demand elements

Definition at line 1430 of file GNENetHelper.cpp.

Referenced by GNEVehicle::getPopUpMenu().

Here is the caller graph for this function:

◆ getSelectedEdges()

std::vector< GNEEdge * > GNENetHelper::AttributeCarriers::getSelectedEdges ( ) const

◆ getSelectedGenericDatas()

std::vector< GNEGenericData * > GNENetHelper::AttributeCarriers::getSelectedGenericDatas ( ) const

get selected generic datas

Definition at line 2005 of file GNENetHelper.cpp.

◆ getSelectedJunctions()

std::vector< GNEJunction * > GNENetHelper::AttributeCarriers::getSelectedJunctions ( ) const

return selected junctions

Definition at line 448 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().

Here is the caller graph for this function:

◆ getSelectedLanes()

std::vector< GNELane * > GNENetHelper::AttributeCarriers::getSelectedLanes ( ) const

get selected lanes

Definition at line 897 of file GNENetHelper.cpp.

Referenced by GNEViewNet::addRestrictedLane(), GNELane::buildLaneOperations(), GNETLSEditorFrame::handleMultiChange(), GNEViewNet::onCmdDuplicateLane(), GNEViewNet::onCmdResetLaneCustomShape(), GNEViewNet::onCmdResetOppositeLane(), GNEViewNet::removeRestrictedLane(), and GNEViewNet::restrictLane().

Here is the caller graph for this function:

◆ getSelectedShapes()

std::vector< GNEAdditional * > GNENetHelper::AttributeCarriers::getSelectedShapes ( ) const

get selected shapes

Definition at line 1091 of file GNENetHelper.cpp.

Referenced by GNEViewNet::onCmdClosePolygon(), GNEViewNet::onCmdOpenPolygon(), GNEViewNet::onCmdSimplifyShape(), and GNEMoveFrame::show().

Here is the caller graph for this function:

◆ getSelectedWalkingAreas()

std::vector< GNEWalkingArea * > GNENetHelper::AttributeCarriers::getSelectedWalkingAreas ( ) const

return all selected walkingAreas

Definition at line 604 of file GNENetHelper.cpp.

◆ getStopIndex()

int GNENetHelper::AttributeCarriers::getStopIndex ( )

get (and update) stop index

Definition at line 1608 of file GNENetHelper.cpp.

◆ getTAZSourceSinks()

const std::unordered_map< SumoXMLTag, std::unordered_map< const GNEAttributeCarrier *, GNETAZSourceSink * >, std::hash< int > > & GNENetHelper::AttributeCarriers::getTAZSourceSinks ( ) const

get sourceSinks

Definition at line 1358 of file GNENetHelper.cpp.

◆ getWalkingAreas()

const std::unordered_map< const GUIGlObject *, GNEWalkingArea * > & GNENetHelper::AttributeCarriers::getWalkingAreas ( ) const

get walkingAreas

Definition at line 598 of file GNENetHelper.cpp.

Referenced by GNEViewParent::onCmdLocate(), and GNEJunction::~GNEJunction().

Here is the caller graph for this function:

◆ insertAdditional()

void GNENetHelper::AttributeCarriers::insertAdditional ( GNEAdditional additional)
protected

Insert a additional element in container.

Definition at line 2530 of file GNENetHelper.cpp.

References GNEAdditional::getGUIGlObject(), GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNETagProperties::hasAttribute(), GNETagProperties::isPlacedInRTree(), SUMO_ATTR_ID, and GNEAdditional::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().

Here is the caller graph for this function:

◆ insertConnection()

void GNENetHelper::AttributeCarriers::insertConnection ( GNEConnection connection)
protected

insert connection in container

Definition at line 2480 of file GNENetHelper.cpp.

References GNENetworkElement::getGUIGlObject(), GNEAttributeCarrier::getID(), and GNEAttributeCarrier::getTagStr().

Referenced by GNEEdge::retrieveGNEConnection().

Here is the caller graph for this function:

◆ insertCrossing()

void GNENetHelper::AttributeCarriers::insertCrossing ( GNECrossing crossing)
protected

insert crossing in container

Definition at line 2424 of file GNENetHelper.cpp.

References GNENetworkElement::getGUIGlObject(), GNEAttributeCarrier::getID(), and GNEAttributeCarrier::getTagStr().

Referenced by GNEJunction::retrieveGNECrossing().

Here is the caller graph for this function:

◆ insertDataInterval()

void GNENetHelper::AttributeCarriers::insertDataInterval ( const GNEAttributeCarrier AC,
GNEDataInterval dataInterval 
)
protected

insert data interval in container

Definition at line 1959 of file GNENetHelper.cpp.

References GNEAttributeCarrier::getID(), and GNEAttributeCarrier::getTagStr().

Referenced by GNEDataSet::addDataIntervalChild().

Here is the caller graph for this function:

◆ insertDataSet()

void GNENetHelper::AttributeCarriers::insertDataSet ( GNEDataSet dataSet)
protected

Insert a data set in container.

Definition at line 2700 of file GNENetHelper.cpp.

References GNEAttributeCarrier::getID(), and GNEAttributeCarrier::getTagStr().

Referenced by GNEDataHandler::buildDataInterval(), GNEDataHandler::buildDataSet(), GNEChange_DataSet::redo(), and GNEChange_DataSet::undo().

Here is the caller graph for this function:

◆ insertDemandElement()

void GNENetHelper::AttributeCarriers::insertDemandElement ( GNEDemandElement demandElement)
protected

Insert a demand element in container.

Definition at line 2625 of file GNENetHelper.cpp.

References GNEDemandElement::computePathElement(), GNEDemandElement::getGUIGlObject(), GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNETagProperties::hasAttribute(), SUMO_ATTR_ID, and GNEDemandElement::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().

Here is the caller graph for this function:

◆ insertEdge()

void GNENetHelper::AttributeCarriers::insertEdge ( GNEEdge edge)
protected

Definition at line 2352 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().

Here is the caller graph for this function:

◆ insertEdgeType()

void GNENetHelper::AttributeCarriers::insertEdgeType ( GNEEdgeType edgeType)
protected

insert edge type in container

Definition at line 2316 of file GNENetHelper.cpp.

References GUIGlObject::getMicrosimID().

Referenced by GNEChange_EdgeType::redo(), and GNEChange_EdgeType::undo().

Here is the caller graph for this function:

◆ insertGenericData()

void GNENetHelper::AttributeCarriers::insertGenericData ( GNEGenericData genericData)
protected

insert generic data in container

Definition at line 2092 of file GNENetHelper.cpp.

References GNEGenericData::getGUIGlObject(), GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), and GNEAttributeCarrier::getTagStr().

Referenced by GNEDataInterval::addGenericDataChild().

Here is the caller graph for this function:

◆ insertInternalLane()

void GNENetHelper::AttributeCarriers::insertInternalLane ( GNEInternalLane internalLane)
protected

insert internalLane in container

Definition at line 2507 of file GNENetHelper.cpp.

References GNENetworkElement::getGUIGlObject(), GUIGlObject::getMicrosimID(), and GNEAttributeCarrier::getTagStr().

Referenced by GNETLSEditorFrame::buildInternalLanes().

Here is the caller graph for this function:

◆ insertJunction()

void GNENetHelper::AttributeCarriers::insertJunction ( GNEJunction junction)
protected

insert junction in container

Definition at line 2293 of file GNENetHelper.cpp.

References GNEJunction::getNBNode().

Referenced by GNEChange_Junction::redo(), and GNEChange_Junction::undo().

Here is the caller graph for this function:

◆ insertLane()

void GNENetHelper::AttributeCarriers::insertLane ( GNELane lane)
protected

insert lane in container

Definition at line 2397 of file GNENetHelper.cpp.

References GNENetworkElement::getGUIGlObject(), GNEAttributeCarrier::getID(), and GNEAttributeCarrier::getTagStr().

Referenced by GNEEdge::addLane().

Here is the caller graph for this function:

◆ insertMeanData()

void GNENetHelper::AttributeCarriers::insertMeanData ( GNEMeanData meanData)
protected

Insert a meanData element in container.

Definition at line 2735 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().

Here is the caller graph for this function:

◆ insertTAZSourceSink()

void GNENetHelper::AttributeCarriers::insertTAZSourceSink ( GNETAZSourceSink sourceSink)
protected

Insert a sourceSink element in container.

Definition at line 2589 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().

Here is the caller graph for this function:

◆ insertWalkingArea()

void GNENetHelper::AttributeCarriers::insertWalkingArea ( GNEWalkingArea walkingArea)
protected

insert walkingArea in container

Definition at line 2453 of file GNENetHelper.cpp.

References GNENetworkElement::getGUIGlObject(), GNEAttributeCarrier::getID(), and GNEAttributeCarrier::getTagStr().

Referenced by GNEJunction::retrieveGNEWalkingArea().

Here is the caller graph for this function:

◆ isNetworkElementAroundTriangle()

◆ operator=()

AttributeCarriers & GNENetHelper::AttributeCarriers::operator= ( const AttributeCarriers )
privatedelete

Invalidated assignment operator.

◆ registerEdge()

GNEEdge * GNENetHelper::AttributeCarriers::registerEdge ( GNEEdge edge)

registers an edge with containers

Definition at line 744 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().

Here is the caller graph for this function:

◆ registerEdgeType()

GNEEdgeType * GNENetHelper::AttributeCarriers::registerEdgeType ( GNEEdgeType edgeType)

registers a edge in containers

Definition at line 642 of file GNENetHelper.cpp.

References GUIGlObject::getMicrosimID(), and GNEReferenceCounter::incRef().

Referenced by GNENet::initJunctionsAndEdges().

Here is the caller graph for this function:

◆ registerJunction()

GNEJunction * GNENetHelper::AttributeCarriers::registerJunction ( GNEJunction junction)

registers a junction in containers

Definition at line 461 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().

Here is the caller graph for this function:

◆ remapJunctionAndEdgeIds()

void GNENetHelper::AttributeCarriers::remapJunctionAndEdgeIds ( )

remap junction and edge IDs

Definition at line 197 of file GNENetHelper.cpp.

Referenced by GNENet::computeAndUpdate().

Here is the caller graph for this function:

◆ retrieveAdditional() [1/2]

GNEAdditional * GNENetHelper::AttributeCarriers::retrieveAdditional ( const GUIGlObject glObject,
bool  hardFail = true 
) const

Returns the named additional.

Parameters
[in]glObjectThe GUIGlObject associated with the element
[in]hardFailWhether attempts to retrieve a nonexisting additional should result in an exception

Definition at line 1030 of file GNENetHelper.cpp.

◆ retrieveAdditional() [2/2]

GNEAdditional * GNENetHelper::AttributeCarriers::retrieveAdditional ( SumoXMLTag  type,
const std::string &  id,
bool  hardFail = true 
) const

Returns the named additional.

Parameters
[in]idThe attribute carrier related with the additional element
[in]typetag with the type of additional
[in]idThe id of the additional to return.
[in]hardFailWhether attempts to retrieve a nonexisting additional should result in an exception

Definition at line 1000 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().

Here is the caller graph for this function:

◆ retrieveAdditionals()

GNEAdditional * GNENetHelper::AttributeCarriers::retrieveAdditionals ( const std::vector< SumoXMLTag types,
const std::string &  id,
bool  hardFail = true 
) const

Returns the named additional.

Parameters
[in]idThe attribute carrier related with the additional element
[in]typestags with the type of additional
[in]idThe id of the additional to return.
[in]hardFailWhether attempts to retrieve a nonexisting additional should result in an exception

Definition at line 1014 of file GNENetHelper.cpp.

Referenced by GNEAccess::isValid(), GNEAdditional::isValidAdditionalID(), and GNEAdditional::isValidDetectorID().

Here is the caller graph for this function:

◆ retrieveAttributeCarrier()

GNEAttributeCarrier * GNENetHelper::AttributeCarriers::retrieveAttributeCarrier ( const GUIGlID  id,
bool  hardFail = true 
) const

get a single attribute carrier based on a GLID

Parameters
[in]idsthe GL IDs for which to retrieve the AC
[in]hardFailWhether attempts to retrieve a nonexisting AttributeCarrier should result in an exception
Exceptions
InvalidArgumentif GL ID doesn't have a associated Attribute Carrier

Definition at line 275 of file GNENetHelper.cpp.

References GUIGlObjectStorage::getObjectBlocking(), GUIGlObjectStorage::gIDStorage, and GUIGlObjectStorage::unblockObject().

Referenced by GNEViewNet::recalculateBoundaries().

Here is the caller graph for this function:

◆ retrieveAttributeCarriers() [1/2]

std::vector< GNEAttributeCarrier * > GNENetHelper::AttributeCarriers::retrieveAttributeCarriers ( SumoXMLTag  tag = SUMO_TAG_NOTHING)

get the attribute carriers based on Type

Parameters
[in]typeThe GUI-type of the AC. SUMO_TAG_NOTHING returns all elements (Warning: bottleneck)
Note
tag could not exist

Definition at line 298 of file GNENetHelper.cpp.

References DATA, DEMAND, NETWORK, SUMO_TAG_NOTHING, and SUMO_TAG_ROOTFILE.

Referenced by GNEMatchAttribute::getMatches().

Here is the caller graph for this function:

◆ retrieveAttributeCarriers() [2/2]

std::vector< GNEAttributeCarrier * > GNENetHelper::AttributeCarriers::retrieveAttributeCarriers ( Supermode  supermode,
const bool  onlySelected 
)

get the attribute carriers based on supermode and selected

Definition at line 322 of file GNENetHelper.cpp.

References DATA, DEMAND, and NETWORK.

◆ retrieveAttributeCarriersRecursively()

void GNENetHelper::AttributeCarriers::retrieveAttributeCarriersRecursively ( const GNETagProperties tag,
std::vector< GNEAttributeCarrier * > &  ACs 
)
protected

◆ retrieveConnection() [1/2]

GNEConnection * GNENetHelper::AttributeCarriers::retrieveConnection ( const GUIGlObject glObject,
bool  hardFail = true 
) const

get Connection by GUIGlObject

Parameters
[in]glObjectThe GUIGlObject associated with the element
[in]hardFailWhether attempts to retrieve a nonexisting Connection should result in an exception
Exceptions
UnknownElement

Definition at line 939 of file GNENetHelper.cpp.

References GUIGlObject::getMicrosimID().

◆ retrieveConnection() [2/2]

GNEConnection * GNENetHelper::AttributeCarriers::retrieveConnection ( const std::string &  id,
bool  hardFail = true 
) const

get Connection by id

Parameters
[in]idThe id of the desired Connection
[in]hardFailWhether attempts to retrieve a nonexisting Connection should result in an exception
Exceptions
UnknownElement

Definition at line 922 of file GNENetHelper.cpp.

Referenced by GNEViewNet::deleteNetworkAttributeCarrier(), GNENet::deleteNetworkElement(), GNEViewNet::getConnectionAtPopupPosition(), and GNEViewNet::getShapeEditedAtPopupPosition().

Here is the caller graph for this function:

◆ retrieveCrossing()

GNECrossing * GNENetHelper::AttributeCarriers::retrieveCrossing ( const GUIGlObject glObject,
bool  hardFail = true 
) const

get Crossing by AC

Parameters
[in]glObjectThe GUIGlObject associated with the element
[in]hardFailWhether attempts to retrieve a nonexisting Crossing should result in an exception
Exceptions
UnknownElement

Definition at line 537 of file GNENetHelper.cpp.

References GUIGlObject::getMicrosimID().

Referenced by GNEViewNet::deleteNetworkAttributeCarrier(), GNENet::deleteNetworkElement(), GNEViewNet::getCrossingAtPopupPosition(), and GNEViewNet::getShapeEditedAtPopupPosition().

Here is the caller graph for this function:

◆ retrieveDataInterval()

GNEDataInterval * GNENetHelper::AttributeCarriers::retrieveDataInterval ( const GNEAttributeCarrier AC,
bool  hardFail = true 
) const

Returns the data interval.

Parameters
[in]idThe attribute carrier related with the dataInterval element
[in]hardFailWhether attempts to retrieve a nonexisting data set should result in an exception

Definition at line 1941 of file GNENetHelper.cpp.

Referenced by GNEViewNet::deleteDataAttributeCarrier(), GNEChange_DataInterval::~GNEChange_DataInterval(), and GNEChange_GenericData::~GNEChange_GenericData().

Here is the caller graph for this function:

◆ retrieveDataSet()

GNEDataSet * GNENetHelper::AttributeCarriers::retrieveDataSet ( const std::string &  id,
bool  hardFail = true 
) const

Returns the named data set.

Parameters
[in]idThe id of the data set to return.
[in]hardFailWhether attempts to retrieve a nonexisting data set should result in an exception

Definition at line 1908 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().

Here is the caller graph for this function:

◆ retrieveDemandElement() [1/2]

GNEDemandElement * GNENetHelper::AttributeCarriers::retrieveDemandElement ( const GUIGlObject glObject,
bool  hardFail = true 
) const

Returns the named demand.

Parameters
[in]glObjectThe GUIGlObject associated with the element
[in]hardFailWhether attempts to retrieve a nonexisting demand should result in an exception

Definition at line 1413 of file GNENetHelper.cpp.

◆ retrieveDemandElement() [2/2]

GNEDemandElement * GNENetHelper::AttributeCarriers::retrieveDemandElement ( SumoXMLTag  type,
const std::string &  id,
bool  hardFail = true 
) const

Returns the named demand element.

Parameters
[in]typetag with the type of demand element
[in]idThe id of the demand element to return.
[in]hardFailWhether attempts to retrieve a nonexisting demand element should result in an exception

Definition at line 1383 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().

Here is the caller graph for this function:

◆ retrieveDemandElements()

GNEDemandElement * GNENetHelper::AttributeCarriers::retrieveDemandElements ( const std::vector< SumoXMLTag types,
const std::string &  id,
bool  hardFail = true 
) const

Returns the named demand element.

Parameters
[in]typestag with the type of demand element
[in]idThe id of the demand element to return.
[in]hardFailWhether attempts to retrieve a nonexisting demand element should result in an exception

Definition at line 1397 of file GNENetHelper.cpp.

Referenced by GNECalibratorFlow::isValid(), GNERouteProbReroute::isValid(), GNEContainer::isValid(), GNEPerson::isValid(), GNEVehicle::isValid(), and GNEDemandElement::isValidDemandElementID().

Here is the caller graph for this function:

◆ retrieveEdge()

GNEEdge * GNENetHelper::AttributeCarriers::retrieveEdge ( const std::string &  id,
bool  hardFail = true 
) const

get edge by id

Parameters
[in]idThe id of the desired edge
[in]hardFailWhether attempts to retrieve a nonexisting edge should result in an exception
Exceptions
UnknownElement

Definition at line 694 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(), GNEJunction::setMoveShape(), GNENet::splitEdgesBidi(), and GNENet::splitJunction().

◆ retrieveEdges()

std::vector< GNEEdge * > GNENetHelper::AttributeCarriers::retrieveEdges ( GNEJunction from,
GNEJunction to 
) const

get all edges by from and to GNEJunction

Parameters
[in]idThe id of the desired edge
[in]hardFailWhether attempts to retrieve a nonexisting edge should result in an exception
Exceptions
UnknownElement

Definition at line 709 of file GNENetHelper.cpp.

References GNEJunction::getGNEOutgoingEdges().

Referenced by GNENet::createEdge(), GNEEdge::getOppositeEdges(), and GNECreateEdgeFrame::processClick().

Here is the caller graph for this function:

◆ retrieveEdgeType()

GNEEdgeType * GNENetHelper::AttributeCarriers::retrieveEdgeType ( const std::string &  id,
bool  hardFail = true 
) const

get edge type by id

Parameters
[in]idThe id of the desired edge type
[in]hardFailWhether attempts to retrieve a nonexisting edge type should result in an exception
Exceptions
UnknownElement

Definition at line 629 of file GNENetHelper.cpp.

Referenced by GNEEdgeType::isValid(), GNECreateEdgeFrame::EdgeTypeSelector::onCmdDeleteEdgeType(), and GNEChange_EdgeType::~GNEChange_EdgeType().

Here is the caller graph for this function:

◆ retrieveGenericData()

GNEGenericData * GNENetHelper::AttributeCarriers::retrieveGenericData ( const GUIGlObject glObject,
bool  hardFail = true 
) const

Returns the generic data.

Parameters
[in]idThe attribute carrier related with the genericData element
[in]hardFailWhether attempts to retrieve a nonexisting data set should result in an exception

Definition at line 1988 of file GNENetHelper.cpp.

Referenced by GNEViewNet::deleteDataAttributeCarrier(), and GNEChange_GenericData::~GNEChange_GenericData().

Here is the caller graph for this function:

◆ retrieveGenericDataParameters() [1/2]

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 2151 of file GNENetHelper.cpp.

References SUMO_ATTR_BEGIN, and SUMO_ATTR_END.

◆ retrieveGenericDataParameters() [2/2]

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 2123 of file GNENetHelper.cpp.

References SUMO_ATTR_BEGIN, and SUMO_ATTR_END.

◆ retrieveGenericDatas()

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 2026 of file GNENetHelper.cpp.

References SUMO_ATTR_BEGIN, and SUMO_ATTR_END.

◆ retrieveInternalLane()

GNEInternalLane * GNENetHelper::AttributeCarriers::retrieveInternalLane ( const GUIGlObject glObject,
bool  hardFail = true 
) const

get InternalLane by GUIGlObject

Parameters
[in]glObjectThe GUIGlObject associated with the element
[in]hardFailWhether attempts to retrieve a nonexisting InternalLane should result in an exception
Exceptions
UnknownElement

Definition at line 985 of file GNENetHelper.cpp.

References GUIGlObject::getMicrosimID().

◆ retrieveJunction()

GNEJunction * GNENetHelper::AttributeCarriers::retrieveJunction ( const std::string &  id,
bool  hardFail = true 
) const

get junction by id

Parameters
[in]idThe id of the desired junction
[in]hardFailWhether attempts to retrieve a nonexisting junction should result in an exception
Exceptions
UnknownElement

Definition at line 427 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().

Here is the caller graph for this function:

◆ retrieveLane() [1/2]

GNELane * GNENetHelper::AttributeCarriers::retrieveLane ( const GUIGlObject glObject,
bool  hardFail = true 
) const

get Lane by GlObject

Parameters
[in]glObjectThe GUIGlObject associated with the element
[in]hardFailWhether attempts to retrieve a nonexisting Lane should result in an exception
Exceptions
UnknownElement

Definition at line 876 of file GNENetHelper.cpp.

References GUIGlObject::getMicrosimID().

◆ retrieveLane() [2/2]

GNELane * GNENetHelper::AttributeCarriers::retrieveLane ( const std::string &  id,
bool  hardFail = true,
bool  checkVolatileChange = false 
) const

get lane by id

Parameters
[in]idThe id of the desired lane
[in]hardFailWhether attempts to retrieve a nonexisting lane should result in an exception
[in]checkVolatileChangeUsed by additionals after recomputing with volatile options.
Exceptions
UnknownElement

Definition at line 842 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(), GNEDetector::isDetectorValid(), GNEStoppingPlace::isStoppingPlaceValid(), GNEAccess::isValid(), GNECalibrator::isValid(), GNECalibratorFlow::isValid(), GNEClosingLaneReroute::isValid(), GNEStop::isValid(), GNEPOI::isValid(), GNEAttributesEditorType::moveLaneDown(), GNEAttributesEditorType::moveLaneUp(), GNEAttributeCarrier::parse(), GNEAdditionalHandler::parseLanes(), GNEDemandElement::replaceFirstParentLane(), GNEClosingLaneReroute::setAttribute(), and GNEAttributesEditorRow::showMoveLaneButtons().

Here is the caller graph for this function:

◆ retrieveMeanData()

GNEMeanData * GNENetHelper::AttributeCarriers::retrieveMeanData ( SumoXMLTag  type,
const std::string &  id,
bool  hardFail = true 
) const

Returns the named meanData.

Parameters
[in]idThe attribute carrier related with the meanData element
[in]typetag with the type of meanData
[in]idThe id of the meanData to return.
[in]hardFailWhether attempts to retrieve a nonexisting meanData should result in an exception

Definition at line 2224 of file GNENetHelper.cpp.

Referenced by GNEMeanDataHandler::checkDuplicatedMeanDataElement(), GNEMeanData::isValid(), and GNEChange_MeanData::~GNEChange_MeanData().

Here is the caller graph for this function:

◆ retrieveRerouterInterval()

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.

Parameters
[in]rerouterID
[in]beginSUMOTime begin
[in]endSUMOTime begin

Definition at line 1047 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().

Here is the caller graph for this function:

◆ retrieveTAZSourceSink()

GNETAZSourceSink * GNENetHelper::AttributeCarriers::retrieveTAZSourceSink ( const GNEAttributeCarrier sourceSink,
bool  hardFail = true 
) const

Returns the named sourceSink.

Parameters
[in]sourceSinkThe GNETAZSourceSink to retrieve
[in]hardFailWhether attempts to retrieve a nonexisting sourceSink should result in an exception

Definition at line 1341 of file GNENetHelper.cpp.

Referenced by GNEViewNet::deleteNetworkAttributeCarrier(), and GNEChange_TAZSourceSink::~GNEChange_TAZSourceSink().

Here is the caller graph for this function:

◆ retrieveWalkingArea()

GNEWalkingArea * GNENetHelper::AttributeCarriers::retrieveWalkingArea ( const GUIGlObject glObject,
bool  hardFail = true 
) const

get WalkingArea by GlObject

Parameters
[in]glObjectThe GUIGlObject associated with the element
[in]hardFailWhether attempts to retrieve a nonexisting WalkingArea should result in an exception
Exceptions
UnknownElement

Definition at line 583 of file GNENetHelper.cpp.

References GUIGlObject::getMicrosimID().

Referenced by GNEViewNet::getWalkingAreaAtPopupPosition().

Here is the caller graph for this function:

◆ updateAdditionalID()

void GNENetHelper::AttributeCarriers::updateAdditionalID ( GNEAdditional additional,
const std::string &  newID 
)

update additional ID in container

Definition at line 1134 of file GNENetHelper.cpp.

References GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), and GUIGlObject::setMicrosimID().

Referenced by GNEAdditional::setAdditionalID().

Here is the caller graph for this function:

◆ updateDemandElementFrames()

void GNENetHelper::AttributeCarriers::updateDemandElementFrames ( const GNETagProperties tagProperty)
protected

◆ updateDemandElementID()

void GNENetHelper::AttributeCarriers::updateDemandElementID ( GNEDemandElement demandElement,
const std::string &  newID 
)

update demand element ID in container

Definition at line 1547 of file GNENetHelper.cpp.

References GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), and GUIGlObject::setMicrosimID().

Referenced by GNEDemandElement::setDemandElementID().

Here is the caller graph for this function:

◆ updateEdgeID()

void GNENetHelper::AttributeCarriers::updateEdgeID ( GNEEdge edge,
const std::string &  newID 
)

update edge ID in container

Definition at line 805 of file GNENetHelper.cpp.

References GNEHierarchicalElement::getChildLanes(), NBEdge::getID(), GNEAttributeCarrier::getID(), GNEEdge::getNBEdge(), GNEAttributeCarrier::getTagStr(), and GNEEdge::setEdgeID().

Referenced by GNEEdge::setAttribute().

Here is the caller graph for this function:

◆ updateEdgeTypeID()

void GNENetHelper::AttributeCarriers::updateEdgeTypeID ( GNEEdgeType edgeType,
const std::string &  newID 
)

update edgeType ID in container

Definition at line 663 of file GNENetHelper.cpp.

References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), and GNENetworkElement::setNetworkElementID().

Referenced by GNEEdgeType::setAttribute().

Here is the caller graph for this function:

◆ updateJunctionID()

void GNENetHelper::AttributeCarriers::updateJunctionID ( GNEJunction junction,
const std::string &  newID 
)

update junction ID in container

Definition at line 502 of file GNENetHelper.cpp.

References NBNode::buildCrossings(), GNEAttributeCarrier::getID(), Named::getID(), GNEJunction::getNBNode(), GNEAttributeCarrier::getTagStr(), and GNENetworkElement::setNetworkElementID().

Referenced by GNEJunction::setAttribute().

Here is the caller graph for this function:

◆ updateMeanDataID()

void GNENetHelper::AttributeCarriers::updateMeanDataID ( GNEMeanData meanData,
const std::string &  newID 
)

update meanData ID in container

Definition at line 2260 of file GNENetHelper.cpp.

References GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), and GNEAttributeCarrier::getTagStr().

Referenced by GNEMeanData::setAttribute().

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ GNEAdditionalHandler

friend class GNEAdditionalHandler
friend

declare friend class

Definition at line 79 of file GNENetHelper.h.

◆ GNEChange_Additional

friend class GNEChange_Additional
friend

Definition at line 91 of file GNENetHelper.h.

◆ GNEChange_DataInterval

Definition at line 96 of file GNENetHelper.h.

◆ GNEChange_DataSet

friend class GNEChange_DataSet
friend

Definition at line 95 of file GNENetHelper.h.

◆ GNEChange_DemandElement

Definition at line 94 of file GNENetHelper.h.

◆ GNEChange_Edge

friend class GNEChange_Edge
friend

Definition at line 89 of file GNENetHelper.h.

◆ GNEChange_EdgeType

friend class GNEChange_EdgeType
friend

Definition at line 88 of file GNENetHelper.h.

◆ GNEChange_GenericData

Definition at line 97 of file GNENetHelper.h.

◆ GNEChange_Junction

friend class GNEChange_Junction
friend

Definition at line 87 of file GNENetHelper.h.

◆ GNEChange_MeanData

friend class GNEChange_MeanData
friend

Definition at line 98 of file GNENetHelper.h.

◆ GNEChange_Shape

friend class GNEChange_Shape
friend

Definition at line 92 of file GNENetHelper.h.

◆ GNEChange_TAZElement

friend class GNEChange_TAZElement
friend

Definition at line 93 of file GNENetHelper.h.

◆ GNEChange_TAZSourceSink

Definition at line 90 of file GNENetHelper.h.

◆ GNEDataHandler

friend class GNEDataHandler
friend

Definition at line 81 of file GNENetHelper.h.

◆ GNEDataInterval

friend class GNEDataInterval
friend

Definition at line 86 of file GNENetHelper.h.

◆ GNEDataSet

friend class GNEDataSet
friend

Definition at line 85 of file GNENetHelper.h.

◆ GNEEdge

friend class GNEEdge
friend

Definition at line 84 of file GNENetHelper.h.

◆ GNEJunction

friend class GNEJunction
friend

Definition at line 83 of file GNENetHelper.h.

◆ GNEMeanDataHandler

friend class GNEMeanDataHandler
friend

Definition at line 82 of file GNENetHelper.h.

◆ GNERouteHandler

friend class GNERouteHandler
friend

Definition at line 80 of file GNENetHelper.h.

◆ GNETLSEditorFrame

friend class GNETLSEditorFrame
friend

Definition at line 99 of file GNENetHelper.h.

Field Documentation

◆ myAdditionalIDs

std::unordered_map<SumoXMLTag, std::map<const std::string, GNEAdditional*>, std::hash<int> > GNENetHelper::AttributeCarriers::myAdditionalIDs
private

map with the tag and pointer to additional elements of net, sorted by IDs

Definition at line 847 of file GNENetHelper.h.

Referenced by AttributeCarriers().

◆ myAdditionals

std::unordered_map<SumoXMLTag, std::unordered_map<const GUIGlObject*, GNEAdditional*>, std::hash<int> > GNENetHelper::AttributeCarriers::myAdditionals
private

map with the tag and pointer to additional elements of net

Definition at line 850 of file GNENetHelper.h.

Referenced by AttributeCarriers().

◆ myConnections

std::unordered_map<const GUIGlObject*, GNEConnection*> GNENetHelper::AttributeCarriers::myConnections
private

map with connetions

Definition at line 841 of file GNENetHelper.h.

◆ myCrossings

std::unordered_map<const GUIGlObject*, GNECrossing*> GNENetHelper::AttributeCarriers::myCrossings
private

set with crossings

Definition at line 826 of file GNENetHelper.h.

◆ myDataIntervals

std::unordered_map<const GNEAttributeCarrier*, GNEDataInterval*> GNENetHelper::AttributeCarriers::myDataIntervals
private

map with all data intervals of network

Definition at line 865 of file GNENetHelper.h.

◆ myDataSets

std::map<const std::string, GNEDataSet*> GNENetHelper::AttributeCarriers::myDataSets
private

map with the ID and pointer to all datasets of net

Definition at line 862 of file GNENetHelper.h.

◆ myDemandElementIDs

std::unordered_map<SumoXMLTag, std::map<const std::string, GNEDemandElement*>, std::hash<int> > GNENetHelper::AttributeCarriers::myDemandElementIDs
private

map with the tag and pointer to demand elements of net, sorted by IDs

Definition at line 856 of file GNENetHelper.h.

Referenced by AttributeCarriers().

◆ myDemandElements

std::unordered_map<SumoXMLTag, std::unordered_map<const GUIGlObject*, GNEDemandElement*>, std::hash<int> > GNENetHelper::AttributeCarriers::myDemandElements
private

map with the tag and pointer to demand elements elements of net

Definition at line 859 of file GNENetHelper.h.

Referenced by AttributeCarriers().

◆ myEdges

std::map<std::string, GNEEdge*> GNENetHelper::AttributeCarriers::myEdges
private

map with the ID and pointer to edges of net

Definition at line 835 of file GNENetHelper.h.

◆ myEdgeTypes

std::map<std::string, GNEEdgeType*> GNENetHelper::AttributeCarriers::myEdgeTypes
private

map with the ID and pointer to edgeTypes of net

Definition at line 832 of file GNENetHelper.h.

◆ myGenericDatas

std::unordered_map<SumoXMLTag, std::unordered_map<const GUIGlObject*, GNEGenericData*>, std::hash<int> > GNENetHelper::AttributeCarriers::myGenericDatas
private

map with the tag and pointer to all generic datas

Definition at line 868 of file GNENetHelper.h.

Referenced by AttributeCarriers().

◆ myInternalLanes

std::unordered_map<const GUIGlObject*, GNEInternalLane*> GNENetHelper::AttributeCarriers::myInternalLanes
private

map with internal lanes

Definition at line 844 of file GNENetHelper.h.

◆ myJunctions

std::map<std::string, GNEJunction*> GNENetHelper::AttributeCarriers::myJunctions
private

map with the ID and pointer to junctions of net

Definition at line 823 of file GNENetHelper.h.

◆ myLanes

std::unordered_map<const GUIGlObject*, GNELane*> GNENetHelper::AttributeCarriers::myLanes
private

map with lanes

Definition at line 838 of file GNENetHelper.h.

◆ myMeanDatas

std::unordered_map<SumoXMLTag, std::map<const std::string, GNEMeanData*>, std::hash<int> > GNENetHelper::AttributeCarriers::myMeanDatas
private

map with the tag and pointer to meanData elements of net

Definition at line 871 of file GNENetHelper.h.

Referenced by AttributeCarriers().

◆ myNet

GNENet* GNENetHelper::AttributeCarriers::myNet
private

pointer to net

Definition at line 805 of file GNENetHelper.h.

Referenced by AttributeCarriers().

◆ myNumberOfDataElements

int GNENetHelper::AttributeCarriers::myNumberOfDataElements = 0
private

number of data elemements inserted in AttributeCarriers

Definition at line 817 of file GNENetHelper.h.

◆ myNumberOfDemandElements

int GNENetHelper::AttributeCarriers::myNumberOfDemandElements = 0
private

number of demand elemements inserted in AttributeCarriers (excluding default vTypes)

Definition at line 814 of file GNENetHelper.h.

◆ myNumberOfMeanDataElements

int GNENetHelper::AttributeCarriers::myNumberOfMeanDataElements = 0
private

number of mean data elemements inserted in AttributeCarriers

Definition at line 820 of file GNENetHelper.h.

◆ myNumberOfNetworkElements

int GNENetHelper::AttributeCarriers::myNumberOfNetworkElements = 0
private

number of network elemements inserted in AttributeCarriers

Definition at line 811 of file GNENetHelper.h.

◆ myStopIndex

int GNENetHelper::AttributeCarriers::myStopIndex
private

stop index

Definition at line 808 of file GNENetHelper.h.

◆ myTAZSourceSinks

std::unordered_map<SumoXMLTag, std::unordered_map<const GNEAttributeCarrier*, GNETAZSourceSink*>, std::hash<int> > GNENetHelper::AttributeCarriers::myTAZSourceSinks
private

map with the tag and pointer to TAZSourceSinks elements of net

Definition at line 853 of file GNENetHelper.h.

Referenced by AttributeCarriers().

◆ myWalkingAreas

std::unordered_map<const GUIGlObject*, GNEWalkingArea*> GNENetHelper::AttributeCarriers::myWalkingAreas
private

set with walkingAreas

Definition at line 829 of file GNENetHelper.h.


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