Eclipse SUMO - Simulation of Urban MObility
GNETagProperties Class Reference

#include <GNETagProperties.h>

Public Types

enum  Conflicts {
  NO_CONFLICTS = 1 << 0 , POS_LANE = 1 << 1 , POS_LANE_START = 1 << 2 , POS_LANE_END = 1 << 3 ,
  NO_ADDITIONAL_CHILDREN = 1 << 4
}
 
enum  TagParents {
  NO_PARENTS = 1 << 0 , VEHICLE_ROUTE = 1 << 1 , VEHICLE_ROUTE_EMBEDDED = 1 << 2 , VEHICLE_EDGES = 1 << 3 ,
  VEHICLE_JUNCTIONS = 1 << 4 , VEHICLE_TAZS = 1 << 5 , PLAN_CONSECUTIVE_EDGES = 1 << 6 , PLAN_ROUTE = 1 << 7 ,
  PLAN_EDGE = 1 << 8 , PLAN_BUSSTOP = 1 << 9 , PLAN_TRAINSTOP = 1 << 10 , PLAN_CONTAINERSTOP = 1 << 11 ,
  PLAN_FROM_EDGE = 1 << 12 , PLAN_FROM_TAZ = 1 << 13 , PLAN_FROM_JUNCTION = 1 << 14 , PLAN_FROM_BUSSTOP = 1 << 15 ,
  PLAN_FROM_TRAINSTOP = 1 << 16 , PLAN_FROM_CONTAINERSTOP = 1 << 17 , PLAN_TO_EDGE = 1 << 18 , PLAN_TO_TAZ = 1 << 19 ,
  PLAN_TO_JUNCTION = 1 << 20 , PLAN_TO_BUSSTOP = 1 << 21 , PLAN_TO_TRAINSTOP = 1 << 22 , PLAN_TO_CONTAINERSTOP = 1 << 23
}
 tag parents More...
 
enum  TagProperty {
  NO_PROPERTY = 1 << 0 , NOTDRAWABLE = 1 << 1 , CLOSESHAPE = 1 << 2 , GEOSHAPE = 1 << 3 ,
  DIALOG = 1 << 4 , CHILD = 1 << 5 , REPARENT = 1 << 6 , NOTSELECTABLE = 1 << 7 ,
  MASKSTARTENDPOS = 1 << 8 , NOPARAMETERS = 1 << 9 , RTREE = 1 << 10 , CENTERAFTERCREATION = 1 << 11 ,
  REQUIRE_PROJ = 1 << 12 , VCLASS_ICON = 1 << 13 , SYMBOL = 1 << 14
}
 general tag properties More...
 
enum  TagType {
  NETWORKELEMENT = 1 << 0 , ADDITIONALELEMENT = 1 << 1 , DEMANDELEMENT = 1 << 2 , DATAELEMENT = 1 << 3 ,
  STOPPINGPLACE = 1 << 4 , DETECTOR = 1 << 5 , CALIBRATOR = 1 << 6 , SHAPE = 1 << 7 ,
  TAZELEMENT = 1 << 8 , WIRE = 1 << 9 , JUPEDSIM = 1 << 10 , VTYPE = 1 << 11 ,
  VEHICLE = 1 << 12 , ROUTE = 1 << 13 , VEHICLESTOP = 1 << 14 , VEHICLEWAYPOINT = 1 << 15 ,
  FLOW = 1 << 16 , PERSON = 1 << 17 , PERSONPLAN = 1 << 18 , PERSONTRIP = 1 << 19 ,
  WALK = 1 << 20 , RIDE = 1 << 21 , STOPPERSON = 1 << 22 , CONTAINER = 1 << 23 ,
  CONTAINERPLAN = 1 << 24 , TRANSPORT = 1 << 25 , TRANSHIP = 1 << 26 , STOPCONTAINER = 1 << 27 ,
  GENERICDATA = 1 << 28 , MEANDATA = 1 << 29 , INTERNALLANE = 1 << 30
}
 tag types More...
 

Public Member Functions

void addAttribute (const GNEAttributeProperties &attributeProperty)
 add attribute (duplicated attributed aren't allowed) More...
 
const GNEAttributePropertiesat (int index) const
 get attribute value More...
 
std::vector< GNEAttributeProperties >::const_iterator begin () const
 get begin of attribute values (used for iterate) More...
 
bool canBeReparent () const
 return true if tag correspond to an element that can be reparent More...
 
bool canCenterCameraAfterCreation () const
 return true if tag correspond to an element that center camera after creation More...
 
bool canCloseShape () const
 return true if tag correspond to an element that can close their shape More...
 
bool canMaskStartEndPos () const
 return true if tag correspond to an element that can mask the attributes "start" and "end" position as attribute "length" More...
 
void checkTagIntegrity () const
 check Tag integrity (this include all their attributes) More...
 
std::vector< GNEAttributeProperties >::const_iterator end () const
 get end of attribute values (used for iterate) More...
 
const GNEAttributePropertiesgetAttributeProperties (SumoXMLAttr attr) const
 get attribute (throw error if doesn't exist) More...
 
unsigned int getBackGroundColor () const
 get background color More...
 
const std::string & getDefaultValue (SumoXMLAttr attr) const
 return the default value of the attribute of an element More...
 
const std::string & getFieldString () const
 get field string (by default tag in string format) More...
 
GUIIcon getGUIIcon () const
 get GUI icon associated to this Tag More...
 
int getNumberOfAttributes () const
 get number of attributes More...
 
const std::vector< SumoXMLTag > & getParentTags () const
 get parent tags More...
 
Supermode getSupermode () const
 get supermode associated with this tag More...
 
SumoXMLTag getTag () const
 get Tag vinculated with this attribute Property More...
 
const std::string & getTagStr () const
 get Tag vinculated with this attribute Property in String Format (used to avoid multiple calls to toString(...) More...
 
const std::string & getTooltipText () const
 get tooltip text More...
 
SumoXMLTag getXMLTag () const
 get XML tag More...
 
 GNETagProperties ()
 default constructor More...
 
 GNETagProperties (const SumoXMLTag tag, const int tagType, const int tagProperty, const int tagParents, const int conflicts, const GUIIcon icon, const SumoXMLTag XMLTag, const std::string tooltip, std::vector< SumoXMLTag > parentTags={}, const unsigned int backgroundColor=FXRGBA(255, 255, 255, 255), const std::string fieldString="")
 parameter constructor More...
 
bool hasAttribute (SumoXMLAttr attr) const
 check if current TagProperties owns the attribute "attr" More...
 
bool hasDialog () const
 return true if tag correspond to an element that can be edited using a dialog More...
 
bool hasGEOShape () const
 return true if tag correspond to an element that can use a geo shape More...
 
bool hasParameters () const
 return true if Tag correspond to an element that supports parameters "key1=value1|key2=value2|...|keyN=valueN" More...
 
bool isChild () const
 return true if tag correspond to an element child of another element (Example: E3->Entry/Exit) More...
 
bool isDrawable () const
 return true if tag correspond to a drawable element More...
 
bool isInternalLane () const
 return true if tag correspond to an internal lane More...
 
bool isPlacedInRTree () const
 return true if Tag correspond to an element that has to be placed in RTREE More...
 
bool isSelectable () const
 return true if tag correspond to a selectable element More...
 
bool isSymbol () const
 return true if tag correspond to a symbol element More...
 
bool requireProj () const
 return true if tag correspond to an element that requires a geo projection More...
 
bool vClassIcon () const
 return true if tag correspond to an element that has vClass icons More...
 
 ~GNETagProperties ()
 destructor More...
 
bool isNetworkElement () const
 element sets More...
 
bool isAdditionalElement () const
 return true if tag correspond to an additional element (note: this include TAZ, shapes and wires) More...
 
bool isAdditionalPureElement () const
 return true if tag correspond to a pure additional element More...
 
bool isDemandElement () const
 return true if tag correspond to a demand element More...
 
bool isDataElement () const
 return true if tag correspond to a data element More...
 
bool isStoppingPlace () const
 additional elements More...
 
bool isDetector () const
 return true if tag correspond to a shape (Only used to group all detectors in the XML) More...
 
bool isCalibrator () const
 return true if tag correspond to a calibrator (Only used to group all detectors in the XML) More...
 
bool isShapeElement () const
 return true if tag correspond to a shape More...
 
bool isTAZElement () const
 return true if tag correspond to a TAZ element More...
 
bool isWireElement () const
 return true if tag correspond to a Wire element More...
 
bool isJuPedSimElement () const
 return true if tag correspond to a JuPedSim element More...
 
bool isType () const
 demand elements More...
 
bool isTypeDist () const
 return true if tag correspond to a type distribution element More...
 
bool isVehicle () const
 return true if tag correspond to a vehicle element More...
 
bool isRoute () const
 return true if tag correspond to a route element More...
 
bool isVehicleStop () const
 return true if tag correspond to a vehicle stop element More...
 
bool isVehicleWaypoint () const
 return true if tag correspond to a vehicle waypoint element More...
 
bool isFlow () const
 return true if tag correspond to a flow element More...
 
bool isPerson () const
 return true if tag correspond to a person element More...
 
bool isContainer () const
 return true if tag correspond to a container element More...
 
bool isPlan () const
 plans More...
 
bool isPlanPerson () const
 return true if tag correspond to a person plan More...
 
bool isPlanContainer () const
 return true if tag correspond to a container plan More...
 
bool isPersonTrip () const
 return true if tag correspond to a person trip More...
 
bool isPlanWalk () const
 return true if tag correspond to a walk plan More...
 
bool isPlanRide () const
 return true if tag correspond to a ride plan More...
 
bool isPlanTransport () const
 return true if tag correspond to a transport More...
 
bool isPlanTranship () const
 return true if tag correspond to a tranship More...
 
bool isPlanStop () const
 return true if tag correspond to a stop plan More...
 
bool isPlanStopPerson () const
 return true if tag correspond to a person stop plan More...
 
bool isPlanStopContainer () const
 return true if tag correspond to a container stop plan More...
 
bool isGenericData () const
 data elements More...
 
bool isMeanData () const
 return true if tag correspond to a mean data element More...
 
bool vehicleRoute () const
 plan parents More...
 
bool vehicleRouteEmbedded () const
 return true if tag correspond to a vehicle placed over an embedded route More...
 
bool vehicleEdges () const
 return true if tag correspond to a vehicle placed over from-to edges More...
 
bool vehicleJunctions () const
 return true if tag correspond to a vehicle placed over from-to junctions More...
 
bool vehicleTAZs () const
 return true if tag correspond to a vehicle placed over from-to TAZs More...
 
bool planConsecutiveEdges () const
 plan parents More...
 
bool planRoute () const
 return true if tag correspond to a plan placed over route More...
 
bool planEdge () const
 return true if tag correspond to a plan placed over edge More...
 
bool planBusStop () const
 return true if tag correspond to a plan placed over busStop More...
 
bool planTrainStop () const
 return true if tag correspond to a plan placed over trainStop More...
 
bool planContainerStop () const
 return true if tag correspond to a plan placed over containerStop More...
 
bool planStoppingPlace () const
 return true if tag correspond to a plan placed in stoppingPlace More...
 
bool planFromTo () const
 return true if tag correspond to a plan with from-to parents More...
 
bool planFromEdge () const
 return true if tag correspond to a plan that starts in edge More...
 
bool planFromTAZ () const
 return true if tag correspond to a plan that starts in TAZ More...
 
bool planFromJunction () const
 return true if tag correspond to a plan that starts in junction More...
 
bool planFromStoppingPlace () const
 return true if tag correspond to a plan that starts in stoppingPlace More...
 
bool planFromBusStop () const
 return true if tag correspond to a plan that starts in busStop More...
 
bool planFromTrainStop () const
 return true if tag correspond to a plan that starts in trainStop More...
 
bool planFromContainerStop () const
 return true if tag correspond to a plan that starts in containerStop More...
 
bool planToEdge () const
 return true if tag correspond to a plan that starts in edge More...
 
bool planToTAZ () const
 return true if tag correspond to a plan that starts in TAZ More...
 
bool planToJunction () const
 return true if tag correspond to a plan that starts in junction More...
 
bool planToStoppingPlace () const
 return true if tag correspond to a plan that ends in stoppingPlace More...
 
bool planToBusStop () const
 return true if tag correspond to a plan that starts in busStop More...
 
bool planToTrainStop () const
 return true if tag correspond to a plan that starts in trainStop More...
 
bool planToContainerStop () const
 return true if tag correspond to a plan that starts in containerStop More...
 

Private Attributes

std::vector< GNEAttributePropertiesmyAttributeProperties
 vector with the attribute values vinculated with this Tag More...
 
unsigned int myBackgroundColor = 0
 background color (used in labels and textFields, by default white) More...
 
int myConflicts = -1
 conflicts More...
 
std::string myFieldString
 field string More...
 
GUIIcon myIcon = GUIIcon::EMPTY
 icon associated to this Tag More...
 
std::vector< SumoXMLTagmyParentTags
 vector with master tags (used by child elements) More...
 
SumoXMLTag myTag = SUMO_TAG_NOTHING
 Sumo XML Tag vinculated wit this tag Property. More...
 
int myTagParents = -1
 tag parents More...
 
int myTagProperty = -1
 tag properties More...
 
std::string myTagStr
 Sumo XML Tag vinculated wit this tag Property in String format. More...
 
int myTagType = -1
 tag Types More...
 
std::string myTooltipText
 tooltip text More...
 
SumoXMLTag myXMLTag = SUMO_TAG_NOTHING
 Tag written in XML and used in GNENetHelper::AttributeCarriers. More...
 

Detailed Description

Definition at line 38 of file GNETagProperties.h.

Member Enumeration Documentation

◆ Conflicts

Enumerator
NO_CONFLICTS 
POS_LANE 
POS_LANE_START 
POS_LANE_END 
NO_ADDITIONAL_CHILDREN 

Definition at line 134 of file GNETagProperties.h.

◆ TagParents

tag parents

Enumerator
NO_PARENTS 
VEHICLE_ROUTE 
VEHICLE_ROUTE_EMBEDDED 
VEHICLE_EDGES 
VEHICLE_JUNCTIONS 
VEHICLE_TAZS 
PLAN_CONSECUTIVE_EDGES 
PLAN_ROUTE 
PLAN_EDGE 
PLAN_BUSSTOP 
PLAN_TRAINSTOP 
PLAN_CONTAINERSTOP 
PLAN_FROM_EDGE 
PLAN_FROM_TAZ 
PLAN_FROM_JUNCTION 
PLAN_FROM_BUSSTOP 
PLAN_FROM_TRAINSTOP 
PLAN_FROM_CONTAINERSTOP 
PLAN_TO_EDGE 
PLAN_TO_TAZ 
PLAN_TO_JUNCTION 
PLAN_TO_BUSSTOP 
PLAN_TO_TRAINSTOP 
PLAN_TO_CONTAINERSTOP 

Definition at line 104 of file GNETagProperties.h.

◆ TagProperty

general tag properties

Enumerator
NO_PROPERTY 
NOTDRAWABLE 
CLOSESHAPE 
GEOSHAPE 
DIALOG 
CHILD 
REPARENT 
NOTSELECTABLE 
MASKSTARTENDPOS 
NOPARAMETERS 
RTREE 
CENTERAFTERCREATION 
REQUIRE_PROJ 
VCLASS_ICON 
SYMBOL 

Definition at line 85 of file GNETagProperties.h.

◆ TagType

tag types

Enumerator
NETWORKELEMENT 
ADDITIONALELEMENT 
DEMANDELEMENT 
DATAELEMENT 
STOPPINGPLACE 
DETECTOR 
CALIBRATOR 
SHAPE 
TAZELEMENT 
WIRE 
JUPEDSIM 
VTYPE 
VEHICLE 
ROUTE 
VEHICLESTOP 
VEHICLEWAYPOINT 
FLOW 
PERSON 
PERSONPLAN 
PERSONTRIP 
WALK 
RIDE 
STOPPERSON 
CONTAINER 
CONTAINERPLAN 
TRANSPORT 
TRANSHIP 
STOPCONTAINER 
GENERICDATA 
MEANDATA 
INTERNALLANE 

Definition at line 43 of file GNETagProperties.h.

Constructor & Destructor Documentation

◆ GNETagProperties() [1/2]

GNETagProperties::GNETagProperties ( )

default constructor

Definition at line 38 of file GNETagProperties.cpp.

◆ GNETagProperties() [2/2]

GNETagProperties::GNETagProperties ( const SumoXMLTag  tag,
const int  tagType,
const int  tagProperty,
const int  tagParents,
const int  conflicts,
const GUIIcon  icon,
const SumoXMLTag  XMLTag,
const std::string  tooltip,
std::vector< SumoXMLTag parentTags = {},
const unsigned int  backgroundColor = FXRGBA(255, 255, 255, 255),
const std::string  fieldString = "" 
)

parameter constructor

Definition at line 42 of file GNETagProperties.cpp.

◆ ~GNETagProperties()

GNETagProperties::~GNETagProperties ( )

destructor

Definition at line 61 of file GNETagProperties.cpp.

Member Function Documentation

◆ addAttribute()

void GNETagProperties::addAttribute ( const GNEAttributeProperties attributeProperty)

add attribute (duplicated attributed aren't allowed)

Definition at line 173 of file GNETagProperties.cpp.

References GNEAttributeProperties::getAttr(), GNEAttributeProperties::getAttrStr(), MAXNUMBEROFATTRIBUTES, myAttributeProperties, and TLF.

◆ at()

const GNEAttributeProperties & GNETagProperties::at ( int  index) const

get attribute value

Definition at line 234 of file GNETagProperties.cpp.

References myAttributeProperties.

◆ begin()

std::vector< GNEAttributeProperties >::const_iterator GNETagProperties::begin ( ) const

get begin of attribute values (used for iterate)

Definition at line 222 of file GNETagProperties.cpp.

References myAttributeProperties.

Referenced by GNEAttributeProperties::getPositionListed().

Here is the caller graph for this function:

◆ canBeReparent()

bool GNETagProperties::canBeReparent ( ) const

return true if tag correspond to an element that can be reparent

Definition at line 705 of file GNETagProperties.cpp.

References myTagProperty, and REPARENT.

Referenced by checkTagIntegrity().

Here is the caller graph for this function:

◆ canCenterCameraAfterCreation()

bool GNETagProperties::canCenterCameraAfterCreation ( ) const

return true if tag correspond to an element that center camera after creation

Definition at line 717 of file GNETagProperties.cpp.

References CENTERAFTERCREATION, and myTagProperty.

Referenced by GNENeteditAttributes::showNeteditAttributesModule().

Here is the caller graph for this function:

◆ canCloseShape()

bool GNETagProperties::canCloseShape ( ) const

return true if tag correspond to an element that can close their shape

Definition at line 674 of file GNETagProperties.cpp.

References CLOSESHAPE, and myTagProperty.

Referenced by GNENeteditAttributes::showNeteditAttributesModule().

Here is the caller graph for this function:

◆ canMaskStartEndPos()

bool GNETagProperties::canMaskStartEndPos ( ) const

return true if tag correspond to an element that can mask the attributes "start" and "end" position as attribute "length"

Definition at line 711 of file GNETagProperties.cpp.

References MASKSTARTENDPOS, and myTagProperty.

Referenced by checkTagIntegrity(), and GNENeteditAttributes::showNeteditAttributesModule().

Here is the caller graph for this function:

◆ checkTagIntegrity()

◆ end()

std::vector< GNEAttributeProperties >::const_iterator GNETagProperties::end ( ) const

get end of attribute values (used for iterate)

Definition at line 228 of file GNETagProperties.cpp.

References myAttributeProperties.

Referenced by GNEAttributeProperties::getPositionListed().

Here is the caller graph for this function:

◆ getAttributeProperties()

const GNEAttributeProperties & GNETagProperties::getAttributeProperties ( SumoXMLAttr  attr) const

get attribute (throw error if doesn't exist)

Definition at line 209 of file GNETagProperties.cpp.

References myAttributeProperties, TLF, and toString().

Referenced by GNEChargingStation::isValid(), GNEStop::isValid(), GNEChange_Attribute::redo(), GNENet::replaceInListAttribute(), GNEVType::setAttribute(), and GNEChange_Attribute::undo().

Here is the caller graph for this function:

◆ getBackGroundColor()

unsigned int GNETagProperties::getBackGroundColor ( ) const

get background color

Definition at line 203 of file GNETagProperties.cpp.

References myBackgroundColor.

◆ getDefaultValue()

◆ getFieldString()

const std::string & GNETagProperties::getFieldString ( ) const

get field string (by default tag in string format)

Definition at line 191 of file GNETagProperties.cpp.

References myFieldString.

◆ getGUIIcon()

GUIIcon GNETagProperties::getGUIIcon ( ) const

get GUI icon associated to this Tag

Definition at line 246 of file GNETagProperties.cpp.

References myIcon.

Referenced by GNEUndoList::begin(), GNEAttributeCarrier::getACIcon(), and GNEDistributionFrame::DistributionEditor::onCmdCreateDistribution().

Here is the caller graph for this function:

◆ getNumberOfAttributes()

int GNETagProperties::getNumberOfAttributes ( ) const

get number of attributes

Definition at line 240 of file GNETagProperties.cpp.

References myAttributeProperties.

Referenced by GNEFrame::openHelpAttributesDialog().

Here is the caller graph for this function:

◆ getParentTags()

const std::vector< SumoXMLTag > & GNETagProperties::getParentTags ( ) const

get parent tags

Definition at line 258 of file GNETagProperties.cpp.

References myParentTags.

Referenced by GNEAdditionalFrame::createBaseAdditionalObject().

Here is the caller graph for this function:

◆ getSupermode()

Supermode GNETagProperties::getSupermode ( ) const

get supermode associated with this tag

Definition at line 71 of file GNETagProperties.cpp.

References DATA, DEMAND, isDataElement(), isDemandElement(), isMeanData(), and NETWORK.

◆ getTag()

SumoXMLTag GNETagProperties::getTag ( ) const

get Tag vinculated with this attribute Property

Definition at line 65 of file GNETagProperties.cpp.

References myTag.

Referenced by GNETagSelector::ACTemplate::ACTemplate(), GNEContainerFrame::addContainer(), GNEContainerPlanFrame::addContainerPlanElement(), GNENetHelper::AttributeCarriers::addDefaultVTypes(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), GNERouteHandler::addReverse(), GNEStopFrame::addStop(), GNEPlanCreator::addStoppingPlace(), GNETAZFrame::CurrentTAZ::addTAZChild(), GNEVehicleFrame::addVehicle(), GNENet::adjustPersonPlans(), GNEAdditionalFrame::buildAdditionalCommonAttributes(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEContainerFrame::buildContainer(), GNERouteHandler::buildContainerPlan(), GNEPersonFrame::buildPerson(), GNERouteHandler::buildPersonPlan(), GNERouteHandler::buildStop(), GNEVehicleFrame::buildVehicleOverRoute(), GNEWireFrame::buildWireOverView(), GNEPathManager::PathCalculator::busStopConnected(), GNERouteHandler::canReverse(), GNEConnection::checkDrawConnection(), GNEAdditional::checkDrawFromContour(), GNEAdditional::checkDrawOverContour(), GNEDemandElement::checkDrawOverContour(), GNEAdditional::checkDrawToContour(), GNERoute::computePathElement(), GNEVehicle::copyVehicle(), GNEAdditionalFrame::createBaseAdditionalObject(), GNEWireFrame::createBaseWireObject(), GNEVehicleFrame::createPath(), GNEElementTree::createPopUpMenu(), GNENetHelper::AttributeCarriers::deleteAdditional(), GNENetHelper::AttributeCarriers::deleteDemandElement(), GNENet::deleteDemandElement(), GNENetHelper::AttributeCarriers::deleteGenericData(), GNENetHelper::AttributeCarriers::deleteMeanData(), GNENet::deleteNetworkElement(), GNEContainerFrame::demandElementSelected(), GNEPersonFrame::demandElementSelected(), GNEGenericData::drawAttribute(), GNEEntryExitDetector::drawEntryLogo(), GNEBusStop::drawGL(), GNEEntryExitDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNELaneAreaDetector::drawJunctionPartialGL(), GNERoute::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNELaneAreaDetector::drawLanePartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GNEDemandElementPlan::drawPlanJunctionPartial(), GNEDemandElementPlan::drawPlanLanePartial(), GNERoute::drawRoutePartialJunction(), GNERoute::drawRoutePartialLane(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNETLSEditorFrame::editTLS(), GNEAttributesCreatorRow::generateID(), GNEPlanCreator::getBusStop(), GNEPlanCreator::getContainerStop(), GNEDemandElement::getDistributionParents(), GNERoute::getFirstPathLane(), GNEPlanCreator::getFromBusStop(), GNEPlanCreator::getFromContainerStop(), GNEPlanCreator::getFromTrainStop(), GNEContainer::getHierarchyName(), GNENetworkElement::getHierarchyName(), GNERoute::getLastPathLane(), GNEDetector::getMoveOperation(), GNEStop::getMoveOperation(), GNEHierarchicalElement::getNewListOfParents(), GNENetworkElement::getPopUpID(), GNEEdge::getRouteProbeRelativePosition(), GNEStopFrame::getStopParameter(), GNETagSelector::getTemplateAC(), GNEPlanCreator::getToBusStop(), GNEPlanCreator::getToContainerStop(), GNEPlanCreator::getToTrainStop(), GNEPlanCreator::getTrainStop(), GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu(), GNENetHelper::AttributeCarriers::insertAdditional(), GNENetHelper::AttributeCarriers::insertDemandElement(), GNENetHelper::AttributeCarriers::insertGenericData(), GNENetHelper::AttributeCarriers::insertMeanData(), GNEInspectorFrame::inspectSingleElement(), GNEStop::isAttributeEnabled(), GNENetHelper::AttributeCarriers::isNetworkElementAroundShape(), GNEMeanData::isValid(), GNEAdditional::isValidAdditionalID(), GNEDemandElement::isValidDemandElementID(), GNEAdditional::isValidDetectorID(), GNEAttributesCreatorRow::isValidID(), GNEGenericData::isVisibleInspectDeleteSelect(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEViewNet::onCmdClearConnections(), GNEElementTree::onCmdDeleteItem(), GNEInspectorFrame::AdditionalDialog::onCmdOpenAdditionalDialog(), GNEViewNet::onCmdResetConnections(), GNEShapeFrame::processClick(), GNEChange_Attribute::redo(), GNEChange_DemandElement::redo(), GNERoute::setAttribute(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), GNEDemandElementSelector::setDemandElement(), GNELane::setLaneColor(), GNEInspectorFrame::NeteditAttributesEditor::setNewParent(), GNEShapeFrame::shapeDrawed(), GNEInspectorFrame::AdditionalDialog::showAdditionalDialog(), GNEElementTree::showAttributeCarrierParents(), GNEElementTree::showHierarchicalElementChildren(), GNEPathCreator::showPathCreatorModule(), GNECalibrator::splitEdgeGeometry(), GNEDetector::splitEdgeGeometry(), GNEStoppingPlace::splitEdgeGeometry(), GNETranship::splitEdgeGeometry(), GNEWalk::splitEdgeGeometry(), GNEShapeFrame::tagSelected(), GNEChange_Attribute::undo(), GNEChange_DemandElement::undo(), GNELaneAreaDetector::updateGeometry(), GNELaneAreaDetector::writeAdditional(), GNETAZSourceSink::writeAdditional(), GNERoute::writeDemandElement(), and GNEChange_MeanData::~GNEChange_MeanData().

◆ getTagStr()

◆ getTooltipText()

const std::string & GNETagProperties::getTooltipText ( ) const

get tooltip text

Definition at line 197 of file GNETagProperties.cpp.

References myTooltipText.

◆ getXMLTag()

SumoXMLTag GNETagProperties::getXMLTag ( ) const

get XML tag

Definition at line 252 of file GNETagProperties.cpp.

References myXMLTag.

Referenced by GNEContainer::writeDemandElement(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().

Here is the caller graph for this function:

◆ hasAttribute()

bool GNETagProperties::hasAttribute ( SumoXMLAttr  attr) const

◆ hasDialog()

bool GNETagProperties::hasDialog ( ) const

return true if tag correspond to an element that can be edited using a dialog

Definition at line 686 of file GNETagProperties.cpp.

References DIALOG, and myTagProperty.

Referenced by GNEAdditional::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), and GNEViewNet::onCmdOpenAdditionalDialog().

Here is the caller graph for this function:

◆ hasGEOShape()

bool GNETagProperties::hasGEOShape ( ) const

return true if tag correspond to an element that can use a geo shape

Definition at line 680 of file GNETagProperties.cpp.

References GEOSHAPE, and myTagProperty.

◆ hasParameters()

bool GNETagProperties::hasParameters ( ) const

return true if Tag correspond to an element that supports parameters "key1=value1|key2=value2|...|keyN=valueN"

Definition at line 692 of file GNETagProperties.cpp.

References myTagProperty, and NOPARAMETERS.

Referenced by GNEFrameAttributeModules::ParametersEditor::onCmdEditParameters(), GNEFrameAttributeModules::ParametersEditor::onCmdSetParameters(), and GNEFrameAttributeModules::ParametersEditor::refreshParametersEditor().

Here is the caller graph for this function:

◆ isAdditionalElement()

◆ isAdditionalPureElement()

bool GNETagProperties::isAdditionalPureElement ( ) const

return true if tag correspond to a pure additional element

Definition at line 288 of file GNETagProperties.cpp.

References isAdditionalElement(), isShapeElement(), isTAZElement(), and isWireElement().

Referenced by GNESelectorFrame::SelectionOperation::processNetworkElementSelection(), and GNENet::writeOtherAdditionalsComment().

Here is the caller graph for this function:

◆ isCalibrator()

bool GNETagProperties::isCalibrator ( ) const

return true if tag correspond to a calibrator (Only used to group all detectors in the XML)

Definition at line 318 of file GNETagProperties.cpp.

References CALIBRATOR, and myTagType.

Referenced by GNENet::writeCalibratorComment(), GNEVehicle::writeDemandElement(), and GNENet::writeOtherAdditionalsComment().

Here is the caller graph for this function:

◆ isChild()

bool GNETagProperties::isChild ( ) const

return true if tag correspond to an element child of another element (Example: E3->Entry/Exit)

Definition at line 643 of file GNETagProperties.cpp.

References CHILD, and myTagProperty.

Referenced by checkTagIntegrity(), and GNEAdditionalFrame::createBaseAdditionalObject().

Here is the caller graph for this function:

◆ isContainer()

bool GNETagProperties::isContainer ( ) const

return true if tag correspond to a container element

Definition at line 394 of file GNETagProperties.cpp.

References CONTAINER, and myTagType.

Referenced by GNEContainerPlanFrame::addContainerPlanElement(), GNERouteHandler::buildStop(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNEDemandElementSelector::getPreviousPlanElement(), GNEViewNet::onCmdToggleLockContainer(), GNEDemandElement::setDemandElementID(), GNENetHelper::AttributeCarriers::updateDemandElementFrames(), and GNEDemandElementFlow::writeFlowAttributes().

Here is the caller graph for this function:

◆ isDataElement()

bool GNETagProperties::isDataElement ( ) const

◆ isDemandElement()

◆ isDetector()

bool GNETagProperties::isDetector ( ) const

return true if tag correspond to a shape (Only used to group all detectors in the XML)

Definition at line 312 of file GNETagProperties.cpp.

References DETECTOR, and myTagType.

Referenced by GNENet::writeDetectorComment(), and GNENet::writeOtherAdditionalsComment().

Here is the caller graph for this function:

◆ isDrawable()

bool GNETagProperties::isDrawable ( ) const

return true if tag correspond to a drawable element

Definition at line 661 of file GNETagProperties.cpp.

References myTagProperty, and NOTDRAWABLE.

◆ isFlow()

bool GNETagProperties::isFlow ( ) const

return true if tag correspond to a flow element

Definition at line 382 of file GNETagProperties.cpp.

References FLOW, and myTagType.

Referenced by GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEDemandElementFlow::setDefaultFlowAttributes(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), and GNEDemandElementFlow::writeFlowAttributes().

Here is the caller graph for this function:

◆ isGenericData()

bool GNETagProperties::isGenericData ( ) const

data elements

return true if tag correspond to a generic data element

Definition at line 466 of file GNETagProperties.cpp.

References GENERICDATA, and myTagType.

Referenced by GNEAttributeCarrier::drawUsingSelectColor(), GNEChange_Attribute::redo(), and GNEChange_Attribute::undo().

Here is the caller graph for this function:

◆ isInternalLane()

bool GNETagProperties::isInternalLane ( ) const

return true if tag correspond to an internal lane

Definition at line 655 of file GNETagProperties.cpp.

References INTERNALLANE, and myTagType.

Referenced by checkTagIntegrity().

Here is the caller graph for this function:

◆ isJuPedSimElement()

bool GNETagProperties::isJuPedSimElement ( ) const

return true if tag correspond to a JuPedSim element

Definition at line 342 of file GNETagProperties.cpp.

References JUPEDSIM, and myTagType.

Referenced by GNEPoly::drawPolygon(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNENet::writeJuPedSimComment(), and GNENet::writeShapesComment().

Here is the caller graph for this function:

◆ isMeanData()

bool GNETagProperties::isMeanData ( ) const

return true if tag correspond to a mean data element

Definition at line 472 of file GNETagProperties.cpp.

References MEANDATA, and myTagType.

Referenced by checkTagIntegrity(), getSupermode(), GNEFrameAttributeModules::isSupermodeValid(), GNEChange_Attribute::redo(), GNEChange_ToggleAttribute::redo(), GNEChange_Attribute::undo(), and GNEChange_ToggleAttribute::undo().

Here is the caller graph for this function:

◆ isNetworkElement()

bool GNETagProperties::isNetworkElement ( ) const

◆ isPerson()

bool GNETagProperties::isPerson ( ) const

return true if tag correspond to a person element

Definition at line 388 of file GNETagProperties.cpp.

References myTagType, and PERSON.

Referenced by GNEPersonPlanFrame::addPersonPlanElement(), GNERouteHandler::buildStop(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNEDemandElementSelector::getPreviousPlanElement(), GNEViewNet::onCmdToggleLockPerson(), GNEDemandElement::setDemandElementID(), GNENetHelper::AttributeCarriers::updateDemandElementFrames(), and GNEDemandElementFlow::writeFlowAttributes().

Here is the caller graph for this function:

◆ isPersonTrip()

bool GNETagProperties::isPersonTrip ( ) const

return true if tag correspond to a person trip

Definition at line 418 of file GNETagProperties.cpp.

References myTagType, and PERSONTRIP.

Referenced by GNERouteHandler::buildPersonPlan(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), and GNEPlanCreator::planCanBeCreated().

Here is the caller graph for this function:

◆ isPlacedInRTree()

bool GNETagProperties::isPlacedInRTree ( ) const

return true if Tag correspond to an element that has to be placed in RTREE

Definition at line 699 of file GNETagProperties.cpp.

References myTagProperty, and RTREE.

Referenced by GNEDataInterval::addGenericDataChild(), GNENet::addGLObjectIntoGrid(), GNENetHelper::AttributeCarriers::deleteAdditional(), GNENetHelper::AttributeCarriers::deleteMeanData(), GNENetHelper::AttributeCarriers::insertAdditional(), GNEViewNet::recalculateBoundaries(), GNEDataInterval::removeGenericDataChild(), and GNENet::removeGLObjectFromGrid().

Here is the caller graph for this function:

◆ isPlan()

bool GNETagProperties::isPlan ( ) const

plans

return true if tag correspond to a plan

Definition at line 400 of file GNETagProperties.cpp.

References isPlanContainer(), and isPlanPerson().

Referenced by GNEDemandElement::deleteGLObject(), and GNEElementTree::onCmdDeleteItem().

Here is the caller graph for this function:

◆ isPlanContainer()

bool GNETagProperties::isPlanContainer ( ) const

return true if tag correspond to a container plan

Definition at line 412 of file GNETagProperties.cpp.

References CONTAINERPLAN, and myTagType.

Referenced by GNEDemandElementPlan::checkDrawContainerPlan(), and isPlan().

Here is the caller graph for this function:

◆ isPlanPerson()

bool GNETagProperties::isPlanPerson ( ) const

return true if tag correspond to a person plan

Definition at line 406 of file GNETagProperties.cpp.

References myTagType, and PERSONPLAN.

Referenced by GNEDemandElementPlan::checkDrawPersonPlan(), and isPlan().

Here is the caller graph for this function:

◆ isPlanRide()

bool GNETagProperties::isPlanRide ( ) const

return true if tag correspond to a ride plan

Definition at line 430 of file GNETagProperties.cpp.

References myTagType, and RIDE.

Referenced by GNERouteHandler::buildPersonPlan(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), and GNEPlanCreator::planCanBeCreated().

Here is the caller graph for this function:

◆ isPlanStop()

bool GNETagProperties::isPlanStop ( ) const

return true if tag correspond to a stop plan

Definition at line 448 of file GNETagProperties.cpp.

References isPlanStopContainer(), and isPlanStopPerson().

◆ isPlanStopContainer()

bool GNETagProperties::isPlanStopContainer ( ) const

return true if tag correspond to a container stop plan

Definition at line 460 of file GNETagProperties.cpp.

References myTagType, and STOPCONTAINER.

Referenced by GNERouteHandler::buildContainerPlan(), GNEContainerFrame::demandElementSelected(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNEContainer::getAttributePosition(), isPlanStop(), GNEPlanCreator::planCanBeCreated(), and GNEContainerFrame::tagSelected().

Here is the caller graph for this function:

◆ isPlanStopPerson()

bool GNETagProperties::isPlanStopPerson ( ) const

return true if tag correspond to a person stop plan

Definition at line 454 of file GNETagProperties.cpp.

References myTagType, and STOPPERSON.

Referenced by GNERouteHandler::buildPersonPlan(), GNEPersonFrame::demandElementSelected(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNEPerson::getAttributePosition(), isPlanStop(), GNEPlanCreator::planCanBeCreated(), and GNEPersonFrame::tagSelected().

Here is the caller graph for this function:

◆ isPlanTranship()

bool GNETagProperties::isPlanTranship ( ) const

return true if tag correspond to a tranship

Definition at line 442 of file GNETagProperties.cpp.

References myTagType, and TRANSHIP.

Referenced by GNERouteHandler::buildContainerPlan(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), and GNEPlanCreator::planCanBeCreated().

Here is the caller graph for this function:

◆ isPlanTransport()

bool GNETagProperties::isPlanTransport ( ) const

return true if tag correspond to a transport

Definition at line 436 of file GNETagProperties.cpp.

References myTagType, and TRANSPORT.

Referenced by GNERouteHandler::buildContainerPlan(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), and GNEPlanCreator::planCanBeCreated().

Here is the caller graph for this function:

◆ isPlanWalk()

bool GNETagProperties::isPlanWalk ( ) const

return true if tag correspond to a walk plan

Definition at line 424 of file GNETagProperties.cpp.

References myTagType, and WALK.

Referenced by GNERouteHandler::buildPersonPlan(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), and GNEPlanCreator::planCanBeCreated().

Here is the caller graph for this function:

◆ isRoute()

bool GNETagProperties::isRoute ( ) const

return true if tag correspond to a route element

Definition at line 364 of file GNETagProperties.cpp.

References myTagType, and ROUTE.

Referenced by GNEDemandElement::buildMenuCommandRouteLength(), GNEVehicleFrame::buildVehicleOverRoute(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNEPathCreator::showPathCreatorModule(), and GNENetHelper::AttributeCarriers::updateDemandElementFrames().

Here is the caller graph for this function:

◆ isSelectable()

bool GNETagProperties::isSelectable ( ) const

return true if tag correspond to a selectable element

Definition at line 667 of file GNETagProperties.cpp.

References myTagProperty, and NOTSELECTABLE.

Referenced by GNESelectorFrame::SelectionOperation::loadFromFile(), GNESelectorFrame::SelectionOperation::processNetworkElementSelection(), GNEAttributeCarrier::selectAttributeCarrier(), and GNEAttributeCarrier::unselectAttributeCarrier().

Here is the caller graph for this function:

◆ isShapeElement()

bool GNETagProperties::isShapeElement ( ) const

return true if tag correspond to a shape

Definition at line 324 of file GNETagProperties.cpp.

References myTagType, and SHAPE.

Referenced by checkTagIntegrity(), isAdditionalPureElement(), GNEViewParent::onCmdLocate(), and GNENet::writeShapesComment().

Here is the caller graph for this function:

◆ isStoppingPlace()

bool GNETagProperties::isStoppingPlace ( ) const

additional elements

return true if tag correspond to a detector (Only used to group all stoppingPlaces in the output XML)

Definition at line 306 of file GNETagProperties.cpp.

References myTagType, and STOPPINGPLACE.

Referenced by GNEContainerFrame::addContainer(), GNEContainerPlanFrame::addContainerPlanElement(), GNEPersonPlanFrame::addPersonPlanElement(), GNENet::writeOtherAdditionalsComment(), and GNENet::writeStoppingPlaceComment().

Here is the caller graph for this function:

◆ isSymbol()

bool GNETagProperties::isSymbol ( ) const

return true if tag correspond to a symbol element

Definition at line 649 of file GNETagProperties.cpp.

References myTagProperty, and SYMBOL.

◆ isTAZElement()

bool GNETagProperties::isTAZElement ( ) const

return true if tag correspond to a TAZ element

Definition at line 330 of file GNETagProperties.cpp.

References myTagType, and TAZELEMENT.

Referenced by checkTagIntegrity(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), isAdditionalPureElement(), GNEViewParent::onCmdLocate(), and GNEElementTree::showAttributeCarrierParents().

Here is the caller graph for this function:

◆ isType()

bool GNETagProperties::isType ( ) const

demand elements

return true if tag correspond to a vehicle/person/container type element

Definition at line 348 of file GNETagProperties.cpp.

References myTagType, and VTYPE.

Referenced by GNEElementTree::createPopUpMenu(), and GNENetHelper::AttributeCarriers::updateDemandElementFrames().

Here is the caller graph for this function:

◆ isTypeDist()

bool GNETagProperties::isTypeDist ( ) const

return true if tag correspond to a type distribution element

Definition at line 353 of file GNETagProperties.cpp.

References myTag, and SUMO_TAG_VTYPE_DISTRIBUTION.

◆ isVehicle()

bool GNETagProperties::isVehicle ( ) const

return true if tag correspond to a vehicle element

Definition at line 358 of file GNETagProperties.cpp.

References myTagType, and VEHICLE.

Referenced by GNERouteHandler::addReverse(), GNEStopFrame::addStop(), GNERouteHandler::buildStop(), and GNEApplicationWindowHelper::LockMenuCommands::editLocking().

Here is the caller graph for this function:

◆ isVehicleStop()

bool GNETagProperties::isVehicleStop ( ) const

return true if tag correspond to a vehicle stop element

Definition at line 370 of file GNETagProperties.cpp.

References myTagType, and VEHICLESTOP.

Referenced by GNEStopFrame::addStop(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNEDemandElement::getInvalidStops(), and GNEAttributesCreatorRow::onCmdSetAttribute().

Here is the caller graph for this function:

◆ isVehicleWaypoint()

bool GNETagProperties::isVehicleWaypoint ( ) const

return true if tag correspond to a vehicle waypoint element

Definition at line 376 of file GNETagProperties.cpp.

References myTagType, and VEHICLEWAYPOINT.

Referenced by GNEStop::drawStopOverLane(), and GNEStop::getColor().

Here is the caller graph for this function:

◆ isWireElement()

bool GNETagProperties::isWireElement ( ) const

return true if tag correspond to a Wire element

Definition at line 336 of file GNETagProperties.cpp.

References myTagType, and WIRE.

Referenced by checkTagIntegrity(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), isAdditionalPureElement(), and GNESelectorFrame::SelectionOperation::processNetworkElementSelection().

Here is the caller graph for this function:

◆ planBusStop()

bool GNETagProperties::planBusStop ( ) const

return true if tag correspond to a plan placed over busStop

Definition at line 526 of file GNETagProperties.cpp.

References myTagParents, and PLAN_BUSSTOP.

Referenced by planStoppingPlace().

Here is the caller graph for this function:

◆ planConsecutiveEdges()

bool GNETagProperties::planConsecutiveEdges ( ) const

plan parents

return true if tag correspond to a plan placed over edges

Definition at line 508 of file GNETagProperties.cpp.

References myTagParents, and PLAN_CONSECUTIVE_EDGES.

◆ planContainerStop()

bool GNETagProperties::planContainerStop ( ) const

return true if tag correspond to a plan placed over containerStop

Definition at line 538 of file GNETagProperties.cpp.

References myTagParents, and PLAN_CONTAINERSTOP.

Referenced by planStoppingPlace().

Here is the caller graph for this function:

◆ planEdge()

bool GNETagProperties::planEdge ( ) const

return true if tag correspond to a plan placed over edge

Definition at line 520 of file GNETagProperties.cpp.

References myTagParents, and PLAN_EDGE.

◆ planFromBusStop()

bool GNETagProperties::planFromBusStop ( ) const

return true if tag correspond to a plan that starts in busStop

Definition at line 583 of file GNETagProperties.cpp.

References myTagParents, and PLAN_FROM_BUSSTOP.

Referenced by planFromStoppingPlace().

Here is the caller graph for this function:

◆ planFromContainerStop()

bool GNETagProperties::planFromContainerStop ( ) const

return true if tag correspond to a plan that starts in containerStop

Definition at line 595 of file GNETagProperties.cpp.

References myTagParents, and PLAN_FROM_CONTAINERSTOP.

Referenced by planFromStoppingPlace().

Here is the caller graph for this function:

◆ planFromEdge()

bool GNETagProperties::planFromEdge ( ) const

return true if tag correspond to a plan that starts in edge

Definition at line 559 of file GNETagProperties.cpp.

References myTagParents, and PLAN_FROM_EDGE.

Referenced by GNEDemandElementPlan::computePlanPathElement(), and planFromTo().

Here is the caller graph for this function:

◆ planFromJunction()

bool GNETagProperties::planFromJunction ( ) const

return true if tag correspond to a plan that starts in junction

Definition at line 571 of file GNETagProperties.cpp.

References myTagParents, and PLAN_FROM_JUNCTION.

Referenced by GNEDemandElementPlan::computePlanPathElement(), GNEContainer::getAttributePosition(), GNEPerson::getAttributePosition(), and planFromTo().

Here is the caller graph for this function:

◆ planFromStoppingPlace()

bool GNETagProperties::planFromStoppingPlace ( ) const

return true if tag correspond to a plan that starts in stoppingPlace

Definition at line 577 of file GNETagProperties.cpp.

References planFromBusStop(), planFromContainerStop(), and planFromTrainStop().

Referenced by GNEDemandElementPlan::computePlanPathElement(), and planFromTo().

Here is the caller graph for this function:

◆ planFromTAZ()

bool GNETagProperties::planFromTAZ ( ) const

return true if tag correspond to a plan that starts in TAZ

Definition at line 565 of file GNETagProperties.cpp.

References myTagParents, and PLAN_FROM_TAZ.

Referenced by GNEContainer::getAttributePosition(), GNEPerson::getAttributePosition(), and planFromTo().

Here is the caller graph for this function:

◆ planFromTo()

bool GNETagProperties::planFromTo ( ) const

return true if tag correspond to a plan with from-to parents

Definition at line 550 of file GNETagProperties.cpp.

References planFromEdge(), planFromJunction(), planFromStoppingPlace(), planFromTAZ(), planToEdge(), planToJunction(), planToStoppingPlace(), and planToTAZ().

◆ planFromTrainStop()

bool GNETagProperties::planFromTrainStop ( ) const

return true if tag correspond to a plan that starts in trainStop

Definition at line 589 of file GNETagProperties.cpp.

References myTagParents, and PLAN_FROM_TRAINSTOP.

Referenced by planFromStoppingPlace().

Here is the caller graph for this function:

◆ planRoute()

bool GNETagProperties::planRoute ( ) const

return true if tag correspond to a plan placed over route

Definition at line 514 of file GNETagProperties.cpp.

References myTagParents, and PLAN_ROUTE.

◆ planStoppingPlace()

bool GNETagProperties::planStoppingPlace ( ) const

return true if tag correspond to a plan placed in stoppingPlace

Definition at line 544 of file GNETagProperties.cpp.

References planBusStop(), planContainerStop(), and planTrainStop().

Referenced by GNEDemandElementPlan::computePlanPathElement().

Here is the caller graph for this function:

◆ planToBusStop()

bool GNETagProperties::planToBusStop ( ) const

return true if tag correspond to a plan that starts in busStop

Definition at line 625 of file GNETagProperties.cpp.

References myTagParents, and PLAN_TO_BUSSTOP.

Referenced by planToStoppingPlace().

Here is the caller graph for this function:

◆ planToContainerStop()

bool GNETagProperties::planToContainerStop ( ) const

return true if tag correspond to a plan that starts in containerStop

Definition at line 637 of file GNETagProperties.cpp.

References myTagParents, and PLAN_TO_CONTAINERSTOP.

Referenced by planToStoppingPlace().

Here is the caller graph for this function:

◆ planToEdge()

bool GNETagProperties::planToEdge ( ) const

return true if tag correspond to a plan that starts in edge

Definition at line 601 of file GNETagProperties.cpp.

References myTagParents, and PLAN_TO_EDGE.

Referenced by GNEDemandElementPlan::computePlanPathElement(), and planFromTo().

Here is the caller graph for this function:

◆ planToJunction()

bool GNETagProperties::planToJunction ( ) const

return true if tag correspond to a plan that starts in junction

Definition at line 613 of file GNETagProperties.cpp.

References myTagParents, and PLAN_TO_JUNCTION.

Referenced by GNEDemandElementPlan::computePlanPathElement(), and planFromTo().

Here is the caller graph for this function:

◆ planToStoppingPlace()

bool GNETagProperties::planToStoppingPlace ( ) const

return true if tag correspond to a plan that ends in stoppingPlace

Definition at line 619 of file GNETagProperties.cpp.

References planToBusStop(), planToContainerStop(), and planToTrainStop().

Referenced by GNEDemandElementPlan::computePlanPathElement(), and planFromTo().

Here is the caller graph for this function:

◆ planToTAZ()

bool GNETagProperties::planToTAZ ( ) const

return true if tag correspond to a plan that starts in TAZ

Definition at line 607 of file GNETagProperties.cpp.

References myTagParents, and PLAN_TO_TAZ.

Referenced by planFromTo().

Here is the caller graph for this function:

◆ planToTrainStop()

bool GNETagProperties::planToTrainStop ( ) const

return true if tag correspond to a plan that starts in trainStop

Definition at line 631 of file GNETagProperties.cpp.

References myTagParents, and PLAN_TO_TRAINSTOP.

Referenced by planToStoppingPlace().

Here is the caller graph for this function:

◆ planTrainStop()

bool GNETagProperties::planTrainStop ( ) const

return true if tag correspond to a plan placed over trainStop

Definition at line 532 of file GNETagProperties.cpp.

References myTagParents, and PLAN_TRAINSTOP.

Referenced by planStoppingPlace().

Here is the caller graph for this function:

◆ requireProj()

bool GNETagProperties::requireProj ( ) const

return true if tag correspond to an element that requires a geo projection

Definition at line 723 of file GNETagProperties.cpp.

References myTagProperty, and REQUIRE_PROJ.

◆ vClassIcon()

bool GNETagProperties::vClassIcon ( ) const

return true if tag correspond to an element that has vClass icons

Definition at line 729 of file GNETagProperties.cpp.

References myTagProperty, and VCLASS_ICON.

Referenced by checkTagIntegrity(), and GNEAttributeCarrier::getACIcon().

Here is the caller graph for this function:

◆ vehicleEdges()

◆ vehicleJunctions()

bool GNETagProperties::vehicleJunctions ( ) const

◆ vehicleRoute()

◆ vehicleRouteEmbedded()

◆ vehicleTAZs()

bool GNETagProperties::vehicleTAZs ( ) const

return true if tag correspond to a vehicle placed over from-to TAZs

Definition at line 502 of file GNETagProperties.cpp.

References myTagParents, and VEHICLE_TAZS.

Referenced by GNERouteHandler::canReverse(), GNEVehicle::copyVehicle(), GNEVehicle::getParentName(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu(), GNEVehicle::isDemandElementValid(), GNERouteHandler::reverse(), and GNEPathCreator::showPathCreatorModule().

Here is the caller graph for this function:

Field Documentation

◆ myAttributeProperties

std::vector<GNEAttributeProperties> GNETagProperties::myAttributeProperties
private

vector with the attribute values vinculated with this Tag

Definition at line 485 of file GNETagProperties.h.

Referenced by addAttribute(), at(), begin(), checkTagIntegrity(), end(), getAttributeProperties(), getDefaultValue(), getNumberOfAttributes(), and hasAttribute().

◆ myBackgroundColor

unsigned int GNETagProperties::myBackgroundColor = 0
private

background color (used in labels and textFields, by default white)

Definition at line 503 of file GNETagProperties.h.

Referenced by getBackGroundColor().

◆ myConflicts

int GNETagProperties::myConflicts = -1
private

conflicts

Definition at line 482 of file GNETagProperties.h.

Referenced by checkTagIntegrity().

◆ myFieldString

std::string GNETagProperties::myFieldString
private

field string

Definition at line 500 of file GNETagProperties.h.

Referenced by getFieldString().

◆ myIcon

GUIIcon GNETagProperties::myIcon = GUIIcon::EMPTY
private

icon associated to this Tag

Definition at line 488 of file GNETagProperties.h.

Referenced by getGUIIcon().

◆ myParentTags

std::vector<SumoXMLTag> GNETagProperties::myParentTags
private

vector with master tags (used by child elements)

Definition at line 497 of file GNETagProperties.h.

Referenced by checkTagIntegrity(), and getParentTags().

◆ myTag

SumoXMLTag GNETagProperties::myTag = SUMO_TAG_NOTHING
private

Sumo XML Tag vinculated wit this tag Property.

Definition at line 467 of file GNETagProperties.h.

Referenced by getTag(), and isTypeDist().

◆ myTagParents

◆ myTagProperty

◆ myTagStr

std::string GNETagProperties::myTagStr
private

Sumo XML Tag vinculated wit this tag Property in String format.

Definition at line 470 of file GNETagProperties.h.

Referenced by getTagStr().

◆ myTagType

◆ myTooltipText

std::string GNETagProperties::myTooltipText
private

tooltip text

Definition at line 494 of file GNETagProperties.h.

Referenced by getTooltipText().

◆ myXMLTag

SumoXMLTag GNETagProperties::myXMLTag = SUMO_TAG_NOTHING
private

Tag written in XML and used in GNENetHelper::AttributeCarriers.

Definition at line 491 of file GNETagProperties.h.

Referenced by getXMLTag().


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