![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNETagProperties.h>
Public Types | |
| enum class | Conflicts : int { POS_LANE = 1 << 0 , POS_LANE_START = 1 << 1 , POS_LANE_END = 1 << 2 , NO_ADDITIONAL_CHILDREN = 1 << 3 , NO_CONFLICTS = 1 << 4 } |
| enum class | Over : int { VIEW = 1 << 0 , JUNCTION = 1 << 1 , EDGE = 1 << 2 , EDGES = 1 << 3 , CONSECUTIVE_EDGES = 1 << 4 , LANE = 1 << 5 , LANES = 1 << 6 , CONSECUTIVE_LANES = 1 << 4 , ROUTE = 1 << 7 , ROUTE_EMBEDDED = 1 << 8 , BUSSTOP = 1 << 9 , TRAINSTOP = 1 << 10 , CONTAINERSTOP = 1 << 11 , CHARGINGSTATION = 1 << 12 , PARKINGAREA = 1 << 13 , FROM_EDGE = 1 << 14 , FROM_TAZ = 1 << 15 , FROM_JUNCTION = 1 << 16 , FROM_BUSSTOP = 1 << 17 , FROM_TRAINSTOP = 1 << 18 , FROM_CONTAINERSTOP = 1 << 19 , FROM_CHARGINGSTATION = 1 << 20 , FROM_PARKINGAREA = 1 << 21 , TO_EDGE = 1 << 22 , TO_TAZ = 1 << 23 , TO_JUNCTION = 1 << 24 , TO_BUSSTOP = 1 << 25 , TO_TRAINSTOP = 1 << 26 , TO_CONTAINERSTOP = 1 << 27 , TO_CHARGINGSTATION = 1 << 28 , TO_PARKINGAREA = 1 << 29 } |
| element in which this element is placed More... | |
| enum class | Property : int { NOTDRAWABLE = 1 << 0 , GEOSHAPE = 1 << 1 , DIALOG = 1 << 2 , XMLCHILD = 1 << 3 , REPARENT = 1 << 4 , NOTSELECTABLE = 1 << 5 , NOPARAMETERS = 1 << 6 , RTREE = 1 << 7 , CENTERAFTERCREATION = 1 << 8 , REQUIRE_PROJ = 1 << 9 , VCLASS_ICON = 1 << 10 , SYMBOL = 1 << 11 , EXTENDED = 1 << 12 , HIERARCHICAL = 1 << 13 , NO_PROPERTY = 1 << 14 } |
| tag property More... | |
| enum class | Type : int { 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 , STOP_VEHICLE = 1 << 14 , WAYPOINT_VEHICLE = 1 << 15 , FLOW = 1 << 16 , PERSON = 1 << 17 , PERSONPLAN = 1 << 18 , PERSONTRIP = 1 << 19 , WALK = 1 << 20 , RIDE = 1 << 21 , STOP_PERSON = 1 << 22 , CONTAINER = 1 << 23 , CONTAINERPLAN = 1 << 24 , TRANSPORT = 1 << 25 , TRANSHIP = 1 << 26 , STOP_CONTAINER = 1 << 27 , GENERICDATA = 1 << 28 , MEANDATA = 1 << 29 , INTERNALLANE = 1 << 30 , OTHER = 1 << 31 } |
| tag types More... | |
Public Member Functions | |
| const GNEAttributeProperties * | at (int index) const |
| get attribute value | |
| bool | canCenterCameraAfterCreation () const |
| return true if tag correspond to an element that center camera after creation | |
| void | checkTagIntegrity () const |
| check Tag integrity (this include all their attributes) | |
| const std::vector< const GNEAttributeProperties * > & | getAttributeProperties () const |
| get all attribute properties | |
| const GNEAttributeProperties * | getAttributeProperties (const int index) const |
| get attribute propety by index (throw error if doesn't exist) | |
| const GNEAttributeProperties * | getAttributeProperties (SumoXMLAttr attr) const |
| get attribute propety associated with the given Sumo XML Attribute (throw error if doesn't exist) | |
| unsigned int | getBackGroundColor () const |
| get background color | |
| GUIGlObjectType | getGLType () const |
| get GUIGlObjectType associated with this tag property | |
| GUIIcon | getGUIIcon () const |
| get GUI icon associated to this tag property | |
| int | getNumberOfAttributes () const |
| get number of attributes | |
| const std::string & | getSelectorText () const |
| get field string (by default tag in string format) | |
| Supermode | getSupermode () const |
| get supermode associated with this tag | |
| SumoXMLTag | getTag () const |
| get Tag vinculated with this attribute Property | |
| const std::string & | getTagStr () const |
| get Tag vinculated with this attribute Property in String Format (used to avoid multiple calls to toString(...) | |
| const std::string & | getTooltipText () const |
| get tooltip text | |
| GNETagProperties (const SumoXMLTag tag, GNETagProperties *parent, const GUIIcon icon, const std::string tooltip, const unsigned int backgroundColor=FXRGBA(255, 255, 255, 255), const std::string selectorText="") | |
| parameter constructor for hierarchical elements | |
| GNETagProperties (const SumoXMLTag tag, GNETagProperties *parent, const Type tagType, const Property tagProperty, const Over tagOver, const Conflicts conflicts, const GUIIcon icon, const GUIGlObjectType GLType, const SumoXMLTag XMLTag, const std::string tooltip, std::vector< SumoXMLTag > XMLParentTags={}, const unsigned int backgroundColor=FXRGBA(255, 255, 255, 255), const std::string selectorText="") | |
| parameter constructor | |
| bool | hasAttribute (SumoXMLAttr attr) const |
| check if current TagProperties owns the attribute "attr" | |
| bool | hasDialog () const |
| return true if tag correspond to an element that can be edited using a dialog | |
| bool | hasExtendedAttributes () const |
| return true if tag correspond to an element that contains extended attributes | |
| bool | hasGEOShape () const |
| return true if tag correspond to an element that can use a geo shape | |
| bool | hasParameters () const |
| return true if Tag correspond to an element that supports parameters "key1=value1|key2=value2|...|keyN=valueN" | |
| bool | isChild () const |
| return true if tag correspond to an element child of another element (Example: E3->Entry/Exit) | |
| bool | isDrawable () const |
| return true if tag correspond to a drawable element | |
| bool | isHierarchicalTag () const |
| check if this is a hirearchical tag | |
| bool | isInternalLane () const |
| return true if tag correspond to an internal lane | |
| bool | isPlacedInRTree () const |
| return true if Tag correspond to an element that has to be placed in RTREE | |
| bool | isSelectable () const |
| return true if tag correspond to a selectable element | |
| bool | isSymbol () const |
| return true if tag correspond to a symbol element | |
| bool | requireProj () const |
| return true if tag correspond to an element that requires a geo projection | |
| bool | vClassIcon () const |
| return true if tag correspond to an element that has vClass icons | |
| ~GNETagProperties () | |
| destructor | |
| SumoXMLTag | getXMLTag () const |
| default values | |
| const std::vector< SumoXMLTag > & | getXMLParentTags () const |
| get XML parent tags | |
| bool | canBeReparent () const |
| return true if tag correspond to an element that can be reparent | |
| const std::string & | getDefaultStringValue (SumoXMLAttr attr) const |
| default values | |
| int | getDefaultIntValue (SumoXMLAttr attr) const |
| get default int value | |
| double | getDefaultDoubleValue (SumoXMLAttr attr) const |
| get default double value | |
| SUMOTime | getDefaultTimeValue (SumoXMLAttr attr) const |
| get default time value | |
| bool | getDefaultBoolValue (SumoXMLAttr attr) const |
| get default bool value | |
| const RGBColor & | getDefaultColorValue (SumoXMLAttr attr) const |
| get default bool value | |
| const GNETagProperties * | getHierarchicalParent () const |
| hierarchy functions | |
| const std::vector< const GNETagProperties * > | getHierarchicalParentsRecuersively () const |
| get all parents, beginning from current element (root not included) untils this element | |
| const std::vector< const GNETagProperties * > & | getHierarchicalChildren () const |
| get children of this tag property | |
| std::vector< const GNETagProperties * > | getHierarchicalChildrenRecursively () const |
| get all children tags (Including children of their children) | |
| std::map< std::string, const GNEAttributeProperties * > | getHierarchicalChildrenAttributesRecursively (const bool onlyCommon, const bool onlyDrawables) const |
| get all children attributes sorted by name (Including this) | |
| bool | isNetworkElement () const |
| network elements | |
| bool | isAdditionalElement () const |
| return true if tag correspond to an additional element (note: this include TAZ, shapes and wires) | |
| bool | isAdditionalPureElement () const |
| return true if tag correspond to a pure additional element | |
| bool | isDemandElement () const |
| return true if tag correspond to a demand element | |
| bool | isDataElement () const |
| return true if tag correspond to a data element | |
| bool | isOtherElement () const |
| return true if tag correspond to a other element (sourceSinks, vTypes, etc.) | |
| bool | isStoppingPlace () const |
| additional elements | |
| bool | isDetector () const |
| return true if tag correspond to a shape (Only used to group all detectors in the XML) | |
| bool | isCalibrator () const |
| return true if tag correspond to a calibrator (Only used to group all detectors in the XML) | |
| bool | isShapeElement () const |
| return true if tag correspond to a shape | |
| bool | isTAZElement () const |
| return true if tag correspond to a TAZ element | |
| bool | isWireElement () const |
| return true if tag correspond to a Wire element | |
| bool | isJuPedSimElement () const |
| return true if tag correspond to a JuPedSim element | |
| bool | isType () const |
| demand elements | |
| bool | isTypeDist () const |
| return true if tag correspond to a type distribution element | |
| bool | isVehicle () const |
| return true if tag correspond to a vehicle element | |
| bool | isRoute () const |
| return true if tag correspond to a route element | |
| bool | isVehicleStop () const |
| return true if tag correspond to a vehicle stop element | |
| bool | isVehicleWaypoint () const |
| return true if tag correspond to a vehicle waypoint element | |
| bool | isFlow () const |
| return true if tag correspond to a flow element | |
| bool | isPerson () const |
| return true if tag correspond to a person element | |
| bool | isContainer () const |
| return true if tag correspond to a container element | |
| bool | hasTypeParent () const |
| return true if tag correspond to an element with a type as a first parent | |
| bool | isPlan () const |
| plans | |
| bool | isPlanPerson () const |
| return true if tag correspond to a person plan | |
| bool | isPlanContainer () const |
| return true if tag correspond to a container plan | |
| bool | isPlanPersonTrip () const |
| return true if tag correspond to a person trip plan | |
| bool | isPlanWalk () const |
| return true if tag correspond to a walk plan | |
| bool | isPlanRide () const |
| return true if tag correspond to a ride plan | |
| bool | isPlanTransport () const |
| return true if tag correspond to a transport | |
| bool | isPlanTranship () const |
| return true if tag correspond to a tranship | |
| bool | isPlanStop () const |
| return true if tag correspond to a stop plan | |
| bool | isPlanStopPerson () const |
| return true if tag correspond to a person stop plan | |
| bool | isPlanStopContainer () const |
| return true if tag correspond to a container stop plan | |
| bool | isGenericData () const |
| data elements | |
| bool | isMeanData () const |
| return true if tag correspond to a mean data element | |
| bool | vehicleRoute () const |
| plan parents | |
| bool | vehicleRouteEmbedded () const |
| return true if tag correspond to a vehicle placed over an embedded route | |
| bool | vehicleEdges () const |
| return true if tag correspond to a vehicle placed over from-to edges | |
| bool | vehicleJunctions () const |
| return true if tag correspond to a vehicle placed over from-to junctions | |
| bool | vehicleTAZs () const |
| return true if tag correspond to a vehicle placed over from-to TAZs | |
| bool | planConsecutiveEdges () const |
| plan parents | |
| bool | planRoute () const |
| return true if tag correspond to a plan placed over route | |
| bool | planEdge () const |
| return true if tag correspond to a plan placed over edge | |
| bool | planBusStop () const |
| return true if tag correspond to a plan placed over busStop | |
| bool | planTrainStop () const |
| return true if tag correspond to a plan placed over trainStop | |
| bool | planContainerStop () const |
| return true if tag correspond to a plan placed over containerStop | |
| bool | planChargingStation () const |
| return true if tag correspond to a plan placed over chargingStation | |
| bool | planParkingArea () const |
| return true if tag correspond to a plan placed over parkingArea | |
| bool | planStoppingPlace () const |
| return true if tag correspond to a plan placed in stoppingPlace | |
| bool | planFromTo () const |
| return true if tag correspond to a plan with from-to parents | |
| bool | planFromEdge () const |
| return true if tag correspond to a plan that starts in edge | |
| bool | planFromTAZ () const |
| return true if tag correspond to a plan that starts in TAZ | |
| bool | planFromJunction () const |
| return true if tag correspond to a plan that starts in junction | |
| bool | planFromBusStop () const |
| return true if tag correspond to a plan that starts in busStop | |
| bool | planFromTrainStop () const |
| return true if tag correspond to a plan that starts in trainStop | |
| bool | planFromContainerStop () const |
| return true if tag correspond to a plan that starts in containerStop | |
| bool | planFromChargingStation () const |
| return true if tag correspond to a plan that starts in chargingStation | |
| bool | planFromParkingArea () const |
| return true if tag correspond to a plan that starts in parkingAera | |
| bool | planFromStoppingPlace () const |
| return true if tag correspond to a plan that starts in stoppingPlace | |
| bool | planToEdge () const |
| return true if tag correspond to a plan that starts in edge | |
| bool | planToTAZ () const |
| return true if tag correspond to a plan that starts in TAZ | |
| bool | planToJunction () const |
| return true if tag correspond to a plan that starts in junction | |
| bool | planToBusStop () const |
| return true if tag correspond to a plan that starts in busStop | |
| bool | planToTrainStop () const |
| return true if tag correspond to a plan that starts in trainStop | |
| bool | planToContainerStop () const |
| return true if tag correspond to a plan that starts in containerStop | |
| bool | planToChargingStation () const |
| return true if tag correspond to a plan that starts in chargingStation | |
| bool | planToParkingArea () const |
| return true if tag correspond to a plan that starts in parkingArea | |
| bool | planToStoppingPlace () const |
| return true if tag correspond to a plan that ends in stoppingPlace | |
Protected Member Functions | |
| void | addChild (const GNETagProperties *child) |
| add child | |
Private Member Functions | |
| void | getChildrenAttributes (const GNETagProperties *tagProperties, std::map< std::string, const GNEAttributeProperties * > &result, const bool onlyDrawables) const |
| recursive function for get all children attributes (Including this) | |
| void | getChildrenTagProperties (const GNETagProperties *tagProperties, std::vector< const GNETagProperties * > &result) const |
| recursive function for get all children tag properites (Including this) | |
| GNETagProperties ()=delete | |
| default constructor | |
| GNETagProperties (const GNETagProperties &)=delete | |
| Invalidated copy constructor. | |
| GNETagProperties & | operator= (const GNETagProperties &src)=delete |
| Invalidated assignment operator. | |
Private Attributes | |
| std::vector< const GNEAttributeProperties * > | myAttributeProperties |
| vector with the attribute values vinculated with this Tag | |
| const unsigned int | myBackgroundColor = 0 |
| background color (used in labels and textFields, by default white) | |
| std::vector< const GNETagProperties * > | myChildren |
| tag property children | |
| const Conflicts | myConflicts = Conflicts::NO_CONFLICTS |
| conflicts | |
| const GUIGlObjectType | myGLType = GUIGlObjectType::GLO_MAX |
| GUIGlObjectType associated with this tag property. | |
| const GUIIcon | myIcon = GUIIcon::EMPTY |
| icon associated to this tag property | |
| const GNETagProperties * | myParent = nullptr |
| tag property parent | |
| const std::string | mySelectorText |
| text show in selector text | |
| const SumoXMLTag | myTag = SUMO_TAG_NOTHING |
| Sumo XML Tag vinculated wit this tag Property. | |
| const Over | myTagOver = Over::VIEW |
| tag over | |
| const Property | myTagProperty = Property::NO_PROPERTY |
| tag properties | |
| const std::string | myTagStr |
| Sumo XML Tag vinculated wit this tag Property in String format. | |
| const Type | myTagType = Type::OTHER |
| tag Types | |
| const std::string | myTooltipText |
| tooltip text | |
| const std::vector< SumoXMLTag > | myXMLParentTags |
| vector with XML parent tags (used by child elements like access or spaces) | |
| const SumoXMLTag | myXMLTag = SUMO_TAG_NOTHING |
| Tag written in XML and used in GNENetHelper::AttributeCarriers. | |
Friends | |
| class | GNEAttributeProperties |
| declare friend class | |
Definition at line 32 of file GNETagProperties.h.
|
strong |
| Enumerator | |
|---|---|
| POS_LANE | |
| POS_LANE_START | |
| POS_LANE_END | |
| NO_ADDITIONAL_CHILDREN | |
| NO_CONFLICTS | |
Definition at line 134 of file GNETagProperties.h.
|
strong |
element in which this element is placed
Definition at line 99 of file GNETagProperties.h.
|
strong |
tag property
| Enumerator | |
|---|---|
| NOTDRAWABLE | |
| GEOSHAPE | |
| DIALOG | |
| XMLCHILD | |
| REPARENT | |
| NOTSELECTABLE | |
| NOPARAMETERS | |
| RTREE | |
| CENTERAFTERCREATION | |
| REQUIRE_PROJ | |
| VCLASS_ICON | |
| SYMBOL | |
| EXTENDED | |
| HIERARCHICAL | |
| NO_PROPERTY | |
Definition at line 80 of file GNETagProperties.h.
|
strong |
tag types
Definition at line 37 of file GNETagProperties.h.
| GNETagProperties::GNETagProperties | ( | const SumoXMLTag | tag, |
| GNETagProperties * | parent, | ||
| const Type | tagType, | ||
| const Property | tagProperty, | ||
| const Over | tagOver, | ||
| const Conflicts | conflicts, | ||
| const GUIIcon | icon, | ||
| const GUIGlObjectType | GLType, | ||
| const SumoXMLTag | XMLTag, | ||
| const std::string | tooltip, | ||
| std::vector< SumoXMLTag > | XMLParentTags = {}, |
||
| const unsigned int | backgroundColor = FXRGBA(255, 255, 255, 255), |
||
| const std::string | selectorText = "" |
||
| ) |
| GNETagProperties::GNETagProperties | ( | const SumoXMLTag | tag, |
| GNETagProperties * | parent, | ||
| const GUIIcon | icon, | ||
| const std::string | tooltip, | ||
| const unsigned int | backgroundColor = FXRGBA(255, 255, 255, 255), |
||
| const std::string | selectorText = "" |
||
| ) |
parameter constructor for hierarchical elements
Definition at line 52 of file GNETagProperties.cpp.
References addChild().
| GNETagProperties::~GNETagProperties | ( | ) |
|
privatedelete |
default constructor
|
privatedelete |
Invalidated copy constructor.
|
protected |
add child
Definition at line 1008 of file GNETagProperties.cpp.
References myChildren.
Referenced by GNETagProperties(), and GNETagProperties().
| const GNEAttributeProperties * GNETagProperties::at | ( | int | index | ) | const |
get attribute value
Definition at line 366 of file GNETagProperties.cpp.
References myAttributeProperties.
Referenced by MFXComboBoxTagProperty::getTagProperties(), and GNETagPropertiesDatabase::getTagProperty().
| bool GNETagProperties::canBeReparent | ( | ) | const |
return true if tag correspond to an element that can be reparent
Definition at line 984 of file GNETagProperties.cpp.
References myTagProperty, and REPARENT.
Referenced by checkTagIntegrity(), and GNETagPropertiesDatabase::fillCommonAttributes().
| bool GNETagProperties::canCenterCameraAfterCreation | ( | ) | const |
return true if tag correspond to an element that center camera after creation
Definition at line 990 of file GNETagProperties.cpp.
References CENTERAFTERCREATION, and myTagProperty.
Referenced by GNETagPropertiesDatabase::fillCommonAttributes().
| void GNETagProperties::checkTagIntegrity | ( | ) | const |
check Tag integrity (this include all their attributes)
Definition at line 89 of file GNETagProperties.cpp.
References canBeReparent(), getTag(), GLO_MAX, GNE_ATTR_STOPOEXCEPTION, GNE_TAG_CONTAINERPLANS, GNE_TAG_CONTAINERSTOPS, GNE_TAG_DATAS, GNE_TAG_DETECTORS, GNE_TAG_JUPEDSIM, GNE_TAG_PERSONPLANS, GNE_TAG_PERSONSTOPS, GNE_TAG_PERSONTRIPS, GNE_TAG_RIDES, GNE_TAG_SHAPES, GNE_TAG_STOPPINGPLACES, GNE_TAG_STOPS, GNE_TAG_SUPERMODE_DATA, GNE_TAG_SUPERMODE_DEMAND, GNE_TAG_TAZS, GNE_TAG_TRANSHIPS, GNE_TAG_TRANSPORTS, GNE_TAG_WALKS, GNE_TAG_WIRES, hasAttribute(), isAdditionalElement(), isChild(), isDataElement(), isDemandElement(), isDetector(), isGenericData(), isHierarchicalTag(), isInternalLane(), isJuPedSimElement(), isMeanData(), isNetworkElement(), isOtherElement(), isPlanContainer(), isPlanPerson(), isPlanPersonTrip(), isPlanRide(), isPlanStopContainer(), isPlanStopPerson(), isPlanTranship(), isPlanTransport(), isPlanWalk(), isShapeElement(), isStoppingPlace(), isTAZElement(), isVehicle(), isVehicleStop(), isWireElement(), myAttributeProperties, myGLType, myParent, myTag, myXMLParentTags, SUMO_ATTR_ALLOW, SUMO_ATTR_CHANGE_LEFT, SUMO_ATTR_CHANGE_RIGHT, SUMO_ATTR_DISALLOW, SUMO_ATTR_VCLASS, SUMO_TAG_NET, SUMO_TAG_ROOTFILE, SUMO_TAG_VIEWSETTINGS_ADDITIONALS, SUMO_TAG_VIEWSETTINGS_VEHICLES, and vClassIcon().
| const std::vector< const GNEAttributeProperties * > & GNETagProperties::getAttributeProperties | ( | ) | const |
get all attribute properties
Definition at line 337 of file GNETagProperties.cpp.
References myAttributeProperties.
Referenced by GNEEdge::copyTemplate(), GNEAdditional::getParameterWindow(), GNEGenericData::getParameterWindow(), GNEDemandElement::getParameterWindow(), GNENetworkElement::getParameterWindow(), GNEAttributeProperties::getPositionListed(), GNEStop::isValid(), GNEDemandElementFlow::isValidFlowAttribute(), GNEFrame::openHelpAttributesDialog(), GNEChange_Attribute::redo(), GNENet::replaceInListAttribute(), GNEAttributeCarrier::resetDefaultValues(), GNEVType::setAttribute(), and GNEChange_Attribute::undo().
| const GNEAttributeProperties * GNETagProperties::getAttributeProperties | ( | const int | index | ) | const |
get attribute propety by index (throw error if doesn't exist)
Definition at line 356 of file GNETagProperties.cpp.
References myAttributeProperties, TLF, and toString().
| const GNEAttributeProperties * GNETagProperties::getAttributeProperties | ( | SumoXMLAttr | attr | ) | const |
get attribute propety associated with the given Sumo XML Attribute (throw error if doesn't exist)
Definition at line 343 of file GNETagProperties.cpp.
References myAttributeProperties, TLF, and toString().
| unsigned int GNETagProperties::getBackGroundColor | ( | ) | const |
get background color
Definition at line 331 of file GNETagProperties.cpp.
References myBackgroundColor.
|
private |
recursive function for get all children attributes (Including this)
Definition at line 1024 of file GNETagProperties.cpp.
References getChildrenAttributes(), isDrawable(), myAttributeProperties, and myChildren.
Referenced by getChildrenAttributes(), and getHierarchicalChildrenAttributesRecursively().
|
private |
recursive function for get all children tag properites (Including this)
Definition at line 1014 of file GNETagProperties.cpp.
References getChildrenTagProperties(), and myChildren.
Referenced by getChildrenTagProperties(), and getHierarchicalChildrenRecursively().
| bool GNETagProperties::getDefaultBoolValue | ( | SumoXMLAttr | attr | ) | const |
get default bool value
Definition at line 295 of file GNETagProperties.cpp.
References myAttributeProperties, TLF, and toString().
Referenced by GNEChargingStation::writeAdditional(), GNELaneAreaDetector::writeAdditional(), GNEMultiEntryExitDetector::writeAdditional(), and GNEParkingArea::writeAdditional().
| const RGBColor & GNETagProperties::getDefaultColorValue | ( | SumoXMLAttr | attr | ) | const |
get default bool value
Definition at line 307 of file GNETagProperties.cpp.
References myAttributeProperties, TLF, and toString().
Referenced by GNECalibratorFlow::setAttribute(), GNEVehicle::setAttribute(), and GNERoute::writeDemandElement().
| double GNETagProperties::getDefaultDoubleValue | ( | SumoXMLAttr | attr | ) | const |
get default double value
Definition at line 271 of file GNETagProperties.cpp.
References myAttributeProperties, TLF, and toString().
Referenced by GNETranship::getAttribute(), GNEWalk::getAttribute(), GNEAccess::setAttribute(), GNEContainerStop::setAttribute(), GNEMeanData::setAttribute(), GNERouteRef::setAttribute(), GNETranship::setAttribute(), GNEVType::setAttribute(), GNEVTypeRef::setAttribute(), GNEWalk::setAttribute(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNEBusStop::writeAdditional(), GNEChargingStation::writeAdditional(), GNEContainerStop::writeAdditional(), GNELaneAreaDetector::writeAdditional(), GNEMultiEntryExitDetector::writeAdditional(), GNEParkingArea::writeAdditional(), GNEParkingSpace::writeAdditional(), GNETractionSubstation::writeAdditional(), GNERoute::writeDemandElement(), GNETranship::writeDemandElement(), GNEWalk::writeDemandElement(), GNEMeanData::writeMeanData(), and GNEStoppingPlace::writeStoppingPlaceAttributes().
| int GNETagProperties::getDefaultIntValue | ( | SumoXMLAttr | attr | ) | const |
get default int value
Definition at line 259 of file GNETagProperties.cpp.
References myAttributeProperties, TLF, and toString().
Referenced by GNECalibratorFlow::setAttribute(), GNERoute::setAttribute(), GNEVehicle::setAttribute(), GNEBusStop::writeAdditional(), GNEContainerStop::writeAdditional(), GNEParkingArea::writeAdditional(), and GNEVTypeDistribution::writeDemandElement().
| const std::string & GNETagProperties::getDefaultStringValue | ( | SumoXMLAttr | attr | ) | const |
default values
return the default value of the attribute of an element
Definition at line 247 of file GNETagProperties.cpp.
References myAttributeProperties, TLF, and toString().
Referenced by GNECalibratorFlow::getAttribute(), GNEContainer::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNEVType::getAttribute(), GNEVType::getAttributeDouble(), GNECalibratorFlow::setAttribute(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEVType::setAttribute(), GNEDemandElementFlow::setDefaultFlowAttributes(), GNEBusStop::writeAdditional(), GNEChargingStation::writeAdditional(), GNEContainerStop::writeAdditional(), GNEParkingArea::writeAdditional(), and GNEMeanData::writeMeanData().
| SUMOTime GNETagProperties::getDefaultTimeValue | ( | SumoXMLAttr | attr | ) | const |
get default time value
Definition at line 283 of file GNETagProperties.cpp.
References myAttributeProperties, TLF, and toString().
Referenced by GNEMeanData::getAttribute(), GNETranship::getAttribute(), GNEWalk::getAttribute(), GNEMeanData::setAttribute(), GNERoute::setAttribute(), GNETranship::setAttribute(), GNEVType::setAttribute(), GNEWalk::setAttribute(), GNEChargingStation::writeAdditional(), GNELaneAreaDetector::writeAdditional(), GNEMultiEntryExitDetector::writeAdditional(), GNERoute::writeDemandElement(), GNETranship::writeDemandElement(), GNEWalk::writeDemandElement(), and GNEMeanData::writeMeanData().
| GUIGlObjectType GNETagProperties::getGLType | ( | ) | const |
get GUIGlObjectType associated with this tag property
Definition at line 396 of file GNETagProperties.cpp.
References myGLType.
| GUIIcon GNETagProperties::getGUIIcon | ( | ) | const |
get GUI icon associated to this tag property
Definition at line 390 of file GNETagProperties.cpp.
References myIcon.
Referenced by MFXComboBoxTagProperty::appendTagItem(), GNEUndoList::begin(), GNEAttributeCarrier::getACIcon(), GNEDistributionFrame::DistributionEditor::onCmdCreateDistribution(), GNEAttributesEditorRow::onCmdOpenFileDialog(), GNEAttributeCarrier::resetDefaultValues(), and GNEAttributesEditorRow::showAttributeInspectParent().
| const std::vector< const GNETagProperties * > & GNETagProperties::getHierarchicalChildren | ( | ) | const |
get children of this tag property
Definition at line 433 of file GNETagProperties.cpp.
References myChildren.
Referenced by GNENetHelper::AttributeCarriers::retrieveAttributeCarriersRecursively().
| std::map< std::string, const GNEAttributeProperties * > GNETagProperties::getHierarchicalChildrenAttributesRecursively | ( | const bool | onlyCommon, |
| const bool | onlyDrawables | ||
| ) | const |
get all children attributes sorted by name (Including this)
Definition at line 448 of file GNETagProperties.cpp.
References getChildrenAttributes(), and getHierarchicalChildrenRecursively().
Referenced by GNEMatchAttribute::refreshMatchAttribute().
| std::vector< const GNETagProperties * > GNETagProperties::getHierarchicalChildrenRecursively | ( | ) | const |
get all children tags (Including children of their children)
Definition at line 439 of file GNETagProperties.cpp.
References getChildrenTagProperties().
Referenced by getHierarchicalChildrenAttributesRecursively().
| const GNETagProperties * GNETagProperties::getHierarchicalParent | ( | ) | const |
hierarchy functions
get hierarchical parent of this element
Definition at line 414 of file GNETagProperties.cpp.
References myParent.
| const std::vector< const GNETagProperties * > GNETagProperties::getHierarchicalParentsRecuersively | ( | ) | const |
get all parents, beginning from current element (root not included) untils this element
Definition at line 420 of file GNETagProperties.cpp.
Referenced by getSupermode(), GNEMatchAttribute::refreshMatchAttribute(), and GNEMatchAttribute::CurrentEditedProperties::setTagProperties().
| int GNETagProperties::getNumberOfAttributes | ( | ) | const |
get number of attributes
Definition at line 384 of file GNETagProperties.cpp.
References myAttributeProperties.
Referenced by GNEFrame::openHelpAttributesDialog().
| const std::string & GNETagProperties::getSelectorText | ( | ) | const |
get field string (by default tag in string format)
Definition at line 319 of file GNETagProperties.cpp.
References mySelectorText.
Referenced by MFXComboBoxTagProperty::appendTagItem().
| Supermode GNETagProperties::getSupermode | ( | ) | const |
get supermode associated with this tag
Definition at line 479 of file GNETagProperties.cpp.
References DATA, DEMAND, getHierarchicalParentsRecuersively(), GNE_TAG_SUPERMODE_DATA, GNE_TAG_SUPERMODE_DEMAND, GNE_TAG_SUPERMODE_NETWORK, myParent, and NETWORK.
Referenced by GNEMatchAttribute::CurrentEditedProperties::setAttributeProperties(), and GNEMatchAttribute::CurrentEditedProperties::setTagProperties().
| SumoXMLTag GNETagProperties::getTag | ( | ) | const |
get Tag vinculated with this attribute Property
Definition at line 77 of file GNETagProperties.cpp.
References myTag.
Referenced by GNEContainerFrame::addContainer(), GNEContainerPlanFrame::addContainerPlanElement(), GNENetHelper::AttributeCarriers::addDefaultVTypes(), GNEPlanCreator::addFromToStoppingPlace(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), GNERouteHandler::addReverse(), GNEPlanCreator::addSingleStoppingPlace(), GNETAZFrame::CurrentTAZ::addSourceSink(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNENet::adjustPersonPlans(), GNEContainerFrame::buildContainer(), GNERouteHandler::buildContainerPlan(), GNEPersonFrame::buildPerson(), GNERouteHandler::buildPersonPlan(), GNERouteHandler::buildStop(), GNEVehicleFrame::buildVehicleOverRoute(), GNEWireFrame::buildWireOverView(), GNEPathManager::PathCalculator::busStopConnected(), GNERouteHandler::canReverse(), GNEConnection::checkDrawConnection(), GNEDemandElement::checkDrawDeleteContourSmall(), GNEDetector::checkDrawMoveContour(), GNEDemandElement::checkDrawOverContour(), GNEEdge::checkDrawOverContour(), GNELane::checkDrawOverContour(), GNEDemandElement::checkDrawRelatedContour(), GNEAdditional::checkDrawToContour(), GNEAdditionalHandler::checkElement(), GNERouteHandler::checkElement(), GNEAttributesEditorType::checkNewParent(), checkTagIntegrity(), GNERoute::computePathElement(), GNEVehicle::copyVehicle(), GNEWireFrame::createBaseWireObject(), GNEVehicleFrame::createPath(), GNEElementTree::createPopUpMenu(), GNENetHelper::AttributeCarriers::deleteAdditional(), GNEViewNet::deleteDataAttributeCarrier(), GNENetHelper::AttributeCarriers::deleteDemandElement(), GNENet::deleteDemandElement(), GNENetHelper::AttributeCarriers::deleteGenericData(), GNEDemandElement::deleteGLObject(), GNENetHelper::AttributeCarriers::deleteMeanData(), GNEViewNet::deleteNetworkAttributeCarrier(), GNENet::deleteNetworkElement(), GNENetHelper::AttributeCarriers::deleteTAZSourceSink(), 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(), GNEAdditional::drawParentChildLines(), GNERoute::drawRoutePartialJunction(), GNERoute::drawRoutePartialLane(), GNERouteHandler::duplicatePlan(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNETLSEditorFrame::editTLS(), GNEAttributesEditorRow::getAttributeValue(), GNERoute::getFirstPathLane(), GNEPlanParents::getFromBusStop(), GNEPlanParents::getFromChargingStation(), GNEPlanParents::getFromContainerStop(), GNEPlanParents::getFromParkingArea(), GNEPlanParents::getFromTrainStop(), GNENetworkElement::getGeometryPointUnderCursorShapeEdited(), GNEContainer::getHierarchyName(), GNENetworkElement::getHierarchyName(), GNERoute::getLastPathLane(), GNEMatchAttribute::getMatches(), GNEDetector::getMoveOperation(), GNEStop::getMoveOperation(), GNEHierarchicalElement::getNewListOfParents(), GNEDemandElementPlan::getPlanPopUpMenu(), GNENetworkElement::getPopUpID(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), GNERouteRef::getPopUpMenu(), GNEVTypeRef::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEEdge::getRouteProbeRelativePosition(), GNENetworkElement::getShapeEditedPopUpMenu(), GNEStopFrame::getStopParameter(), GNEPoly::getSumoBaseObject(), GNEPlanParents::getToBusStop(), GNEPlanParents::getToChargingStation(), GNEPlanParents::getToContainerStop(), GNEPlanParents::getToParkingArea(), GNEPlanParents::getToTrainStop(), GNERoute::getVClass(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu(), GNEAdditionalFrame::initBaseAdditionalObject(), GNENetHelper::AttributeCarriers::insertAdditional(), GNENetHelper::AttributeCarriers::insertDemandElement(), GNENetHelper::AttributeCarriers::insertGenericData(), GNENetHelper::AttributeCarriers::insertMeanData(), GNENetHelper::AttributeCarriers::insertTAZSourceSink(), GNEInspectorFrame::inspectElement(), GNEStop::isAttributeEnabled(), GNEPOI::isAttributeEnabled(), GNENetHelper::AttributeCarriers::isNetworkElementAroundTriangle(), GNEStoppingPlace::isStoppingPlaceValid(), GNEMeanData::isValid(), GNEAdditional::isValidAdditionalID(), GNEDemandElement::isValidDemandElementID(), GNEAdditional::isValidDetectorID(), GNEGenericData::isVisibleInspectDeleteSelect(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEViewNet::onCmdClearConnections(), GNEMeanDataFrame::MeanDataEditor::onCmdCopyMeanData(), GNEElementTree::onCmdDeleteItem(), GNEViewNet::onCmdResetConnections(), GNEViewNet::onCmdTriangulatePolygon(), GNEShapeFrame::processClick(), GNEChange_Attribute::redo(), GNEChange_DemandElement::redo(), GNENetHelper::AttributeCarriers::retrieveAttributeCarriersRecursively(), GNEAdditional::setAdditionalID(), GNEPOI::setAttribute(), GNERoute::setAttribute(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), GNEDemandElementSelector::setDemandElement(), GNEShapeFrame::shapeDrawed(), GNEElementTree::showAttributeCarrierParents(), GNEElementTree::showHierarchicalElementChildren(), GNEPathCreator::showPathCreatorModule(), GNEAttributesEditorRow::showValueComboBox(), GNECalibrator::splitEdgeGeometry(), GNEDetector::splitEdgeGeometry(), GNEStoppingPlace::splitEdgeGeometry(), GNETranship::splitEdgeGeometry(), GNEWalk::splitEdgeGeometry(), GNEShapeFrame::tagSelected(), GNEChange_Attribute::undo(), GNEChange_DemandElement::undo(), GNENetHelper::AttributeCarriers::updateAdditionalID(), GNENetHelper::AttributeCarriers::updateDemandElementID(), GNELaneAreaDetector::updateGeometry(), GNENetHelper::AttributeCarriers::updateMeanDataID(), GNELaneAreaDetector::writeAdditional(), GNEMultiEntryExitDetector::writeAdditional(), GNERoute::writeDemandElement(), GNETAZSourceSink::writeTAZSourceSink(), and GNEChange_MeanData::~GNEChange_MeanData().
| const std::string & GNETagProperties::getTagStr | ( | ) | const |
get Tag vinculated with this attribute Property in String Format (used to avoid multiple calls to toString(...)
Definition at line 83 of file GNETagProperties.cpp.
References myTagStr.
Referenced by GNEStoppingPlace::adjustLenght(), GNEDemandElement::buildMenuAddReverse(), GNEContainerFrame::createPath(), GNEPersonFrame::createPath(), GNETagPropertiesDatabase::fillColorAttribute(), GNETagPropertiesDatabase::fillCommonAttributes(), GNETagPropertiesDatabase::fillCommonStoppingPlaceAttributes(), GNETagPropertiesDatabase::fillDepartAttribute(), GNETagPropertiesDatabase::fillDetectorPeriodAttribute(), GNETagPropertiesDatabase::fillIDAttribute(), GNETagPropertiesDatabase::fillImgFileAttribute(), GNETagPropertiesDatabase::fillLaneAttribute(), GNETagPropertiesDatabase::fillNameAttribute(), GNETagPropertiesDatabase::fillPosOverLaneAttribute(), GNETagPropertiesDatabase::fillWalkCommonAttributes(), GNERouteRef::getHierarchyName(), GNEVTypeRef::getHierarchyName(), GNEStopFrame::getStopParameter(), GNEAttributeCarrier::getTagStr(), GNEAdditionalFrame::initBaseAdditionalObject(), GNEContainer::isValid(), GNEPersonTrip::isValid(), GNEVehicle::isValid(), GNEDemandElementFlow::isValidFlowAttribute(), GNEAttributeCarrier::resetDefaultValues(), GNECalibratorFlow::setAttribute(), GNEContainer::setAttribute(), GNEVehicle::setAttribute(), GNETagSelector::setCurrentTag(), GNEDemandElementFlow::setFlowAttribute(), and GNEChange_ToggleAttribute::~GNEChange_ToggleAttribute().
| const std::string & GNETagProperties::getTooltipText | ( | ) | const |
| const std::vector< SumoXMLTag > & GNETagProperties::getXMLParentTags | ( | ) | const |
get XML parent tags
Definition at line 408 of file GNETagProperties.cpp.
References myXMLParentTags.
Referenced by GNEAdditional::checkDrawToContour(), and GNEAdditionalFrame::initBaseAdditionalObject().
| SumoXMLTag GNETagProperties::getXMLTag | ( | ) | const |
default values
get XML tag
Definition at line 402 of file GNETagProperties.cpp.
References myXMLTag.
Referenced by GNEContainer::writeDemandElement(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().
| bool GNETagProperties::hasAttribute | ( | SumoXMLAttr | attr | ) | const |
check if current TagProperties owns the attribute "attr"
Definition at line 372 of file GNETagProperties.cpp.
References myAttributeProperties.
Referenced by GNENet::adjustPersonPlans(), checkTagIntegrity(), GNENetHelper::AttributeCarriers::deleteAdditional(), GNENetHelper::AttributeCarriers::deleteDemandElement(), GNEAdditional::drawAdditionalID(), GNEAdditional::drawAdditionalName(), GNETagPropertiesDatabase::fillPlanStopCommonAttributes(), GNEDemandElementFlow::getFlowAttribute(), GNEAdditional::getPopUpMenu(), GNEStopFrame::getStopParameter(), GNEAttributeCarrier::hasAttribute(), GNEAdditionalFrame::initBaseAdditionalObject(), GNENetHelper::AttributeCarriers::insertAdditional(), GNENetHelper::AttributeCarriers::insertDemandElement(), GNEStop::isDemandElementValid(), GNEChange_Attribute::redo(), GNEAdditional::setAdditionalID(), GNEVType::setAttribute(), GNEDemandElement::setDemandElementID(), and GNEChange_Attribute::undo().
| bool GNETagProperties::hasDialog | ( | ) | const |
return true if tag correspond to an element that can be edited using a dialog
Definition at line 959 of file GNETagProperties.cpp.
References DIALOG, and myTagProperty.
Referenced by GNEAdditional::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), and GNEViewNet::onCmdOpenAdditionalDialog().
| bool GNETagProperties::hasExtendedAttributes | ( | ) | const |
return true if tag correspond to an element that contains extended attributes
Definition at line 965 of file GNETagProperties.cpp.
References EXTENDED, and myTagProperty.
| bool GNETagProperties::hasGEOShape | ( | ) | const |
return true if tag correspond to an element that can use a geo shape
Definition at line 953 of file GNETagProperties.cpp.
References GEOSHAPE, and myTagProperty.
| bool GNETagProperties::hasParameters | ( | ) | const |
return true if Tag correspond to an element that supports parameters "key1=value1|key2=value2|...|keyN=valueN"
Definition at line 971 of file GNETagProperties.cpp.
References myTagProperty, and NOPARAMETERS.
Referenced by GNETagPropertiesDatabase::fillCommonAttributes().
| bool GNETagProperties::hasTypeParent | ( | ) | const |
return true if tag correspond to an element with a type as a first parent
Definition at line 635 of file GNETagProperties.cpp.
References isContainer(), isPerson(), and isVehicle().
| bool GNETagProperties::isAdditionalElement | ( | ) | const |
return true if tag correspond to an additional element (note: this include TAZ, shapes and wires)
Definition at line 511 of file GNETagProperties.cpp.
References ADDITIONALELEMENT, and myTagType.
Referenced by GNEViewNetHelper::LockIcon::checkDrawing(), checkTagIntegrity(), GNEViewNet::deleteNetworkAttributeCarrier(), GNEAttributeCarrier::drawUsingSelectColor(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNETagPropertiesDatabase::fillCommonAttributes(), GNEAttributesEditorRow::getAttributeValue(), GNENetHelper::AttributeCarriers::getSelectedAttributeCarriers(), GNEAttributeCarrier::GNEAttributeCarrier(), isAdditionalPureElement(), GNENetHelper::AttributeCarriers::isNetworkElementAroundTriangle(), GNEChange_Attribute::redo(), GNEChange_ToggleAttribute::redo(), GNENetHelper::AttributeCarriers::retrieveAttributeCarriersRecursively(), GNEElementTree::showAttributeCarrierParents(), GNEChange_Attribute::undo(), and GNEChange_ToggleAttribute::undo().
| bool GNETagProperties::isAdditionalPureElement | ( | ) | const |
return true if tag correspond to a pure additional element
Definition at line 517 of file GNETagProperties.cpp.
References isAdditionalElement(), isShapeElement(), isTAZElement(), and isWireElement().
| bool GNETagProperties::isCalibrator | ( | ) | const |
return true if tag correspond to a calibrator (Only used to group all detectors in the XML)
Definition at line 553 of file GNETagProperties.cpp.
References CALIBRATOR, and myTagType.
Referenced by GNEVehicle::writeDemandElement().
| bool GNETagProperties::isChild | ( | ) | const |
return true if tag correspond to an element child of another element (Example: E3->Entry/Exit)
Definition at line 922 of file GNETagProperties.cpp.
References myTagProperty, and XMLCHILD.
Referenced by checkTagIntegrity(), GNETagPropertiesDatabase::fillCommonAttributes(), and GNEAdditionalFrame::initBaseAdditionalObject().
| bool GNETagProperties::isContainer | ( | ) | const |
return true if tag correspond to a container element
Definition at line 629 of file GNETagProperties.cpp.
References CONTAINER, and myTagType.
Referenced by GNEContainerPlanFrame::addContainerPlanElement(), GNERouteHandler::buildStop(), GNEDemandElement::checkDrawMoveContour(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNEDemandElementSelector::getPreviousPlanElement(), hasTypeParent(), GNEViewNet::onCmdToggleLockContainer(), GNEDemandElement::setDemandElementID(), GNENetHelper::AttributeCarriers::updateDemandElementFrames(), and GNEDemandElementFlow::writeFlowAttributes().
| bool GNETagProperties::isDataElement | ( | ) | const |
return true if tag correspond to a data element
Definition at line 529 of file GNETagProperties.cpp.
References DATAELEMENT, and myTagType.
Referenced by GNEViewNetHelper::LockIcon::checkDrawing(), checkTagIntegrity(), GNETagPropertiesDatabase::fillCommonAttributes(), GNENetHelper::AttributeCarriers::getSelectedAttributeCarriers(), GNEAttributeCarrier::GNEAttributeCarrier(), GNESelectorFrame::SelectionOperation::loadFromFile(), GNEChange_Attribute::redo(), GNEChange_ToggleAttribute::redo(), GNENetHelper::AttributeCarriers::retrieveAttributeCarriersRecursively(), GNEElementTree::showAttributeCarrierParents(), GNEChange_Attribute::undo(), and GNEChange_ToggleAttribute::undo().
| bool GNETagProperties::isDemandElement | ( | ) | const |
return true if tag correspond to a demand element
Definition at line 523 of file GNETagProperties.cpp.
References DEMANDELEMENT, and myTagType.
Referenced by GNEViewNetHelper::LockIcon::checkDrawing(), checkTagIntegrity(), GNEAttributeCarrier::drawUsingSelectColor(), GNETagPropertiesDatabase::fillCommonAttributes(), GNEAttributesEditorRow::getAttributeValue(), GNENetHelper::AttributeCarriers::getSelectedAttributeCarriers(), GNEAttributeCarrier::GNEAttributeCarrier(), GNESelectorFrame::SelectionOperation::loadFromFile(), GNEChange_Attribute::redo(), GNEChange_ToggleAttribute::redo(), GNENetHelper::AttributeCarriers::retrieveAttributeCarriersRecursively(), GNEElementTree::showAttributeCarrierParents(), GNEChange_Attribute::undo(), and GNEChange_ToggleAttribute::undo().
| bool GNETagProperties::isDetector | ( | ) | const |
return true if tag correspond to a shape (Only used to group all detectors in the XML)
Definition at line 547 of file GNETagProperties.cpp.
References DETECTOR, and myTagType.
Referenced by checkTagIntegrity().
| bool GNETagProperties::isDrawable | ( | ) | const |
return true if tag correspond to a drawable element
Definition at line 940 of file GNETagProperties.cpp.
References myTagProperty, and NOTDRAWABLE.
Referenced by GNETagPropertiesDatabase::fillCommonAttributes(), and getChildrenAttributes().
| bool GNETagProperties::isFlow | ( | ) | const |
return true if tag correspond to a flow element
Definition at line 617 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().
| bool GNETagProperties::isGenericData | ( | ) | const |
data elements
return true if tag correspond to a generic data element
Definition at line 707 of file GNETagProperties.cpp.
References GENERICDATA, and myTagType.
Referenced by checkTagIntegrity(), GNEAttributeCarrier::drawUsingSelectColor(), GNEChange_Attribute::redo(), and GNEChange_Attribute::undo().
| bool GNETagProperties::isHierarchicalTag | ( | ) | const |
check if this is a hirearchical tag
Definition at line 499 of file GNETagProperties.cpp.
References HIERARCHICAL, and myTagProperty.
Referenced by checkTagIntegrity().
| bool GNETagProperties::isInternalLane | ( | ) | const |
return true if tag correspond to an internal lane
Definition at line 934 of file GNETagProperties.cpp.
References INTERNALLANE, and myTagType.
Referenced by checkTagIntegrity().
| bool GNETagProperties::isJuPedSimElement | ( | ) | const |
return true if tag correspond to a JuPedSim element
Definition at line 577 of file GNETagProperties.cpp.
References JUPEDSIM, and myTagType.
Referenced by checkTagIntegrity(), GNEPoly::drawPolygon(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), and GNEApplicationWindow::onCmdSaveJuPedSimElementsAs().
| bool GNETagProperties::isMeanData | ( | ) | const |
return true if tag correspond to a mean data element
Definition at line 713 of file GNETagProperties.cpp.
References MEANDATA, and myTagType.
Referenced by checkTagIntegrity(), GNETagPropertiesDatabase::fillCommonAttributes(), GNEAttributesEditorRow::getAttributeValue(), GNEAttributeCarrier::GNEAttributeCarrier(), GNEChange_Attribute::redo(), GNEChange_ToggleAttribute::redo(), GNEChange_Attribute::undo(), and GNEChange_ToggleAttribute::undo().
| bool GNETagProperties::isNetworkElement | ( | ) | const |
network elements
return true if tag correspond to a network element
Definition at line 505 of file GNETagProperties.cpp.
References myTagType, and NETWORKELEMENT.
Referenced by GNEViewNetHelper::LockIcon::checkDrawing(), checkTagIntegrity(), GNEAttributeCarrier::drawUsingSelectColor(), GNENetHelper::AttributeCarriers::getSelectedAttributeCarriers(), GNEChange_Attribute::redo(), GNEChange_ToggleAttribute::redo(), GNEElementTree::showAttributeCarrierParents(), GNEChange_Attribute::undo(), and GNEChange_ToggleAttribute::undo().
| bool GNETagProperties::isOtherElement | ( | ) | const |
return true if tag correspond to a other element (sourceSinks, vTypes, etc.)
Definition at line 535 of file GNETagProperties.cpp.
References myTagType, and OTHER.
Referenced by checkTagIntegrity().
| bool GNETagProperties::isPerson | ( | ) | const |
return true if tag correspond to a person element
Definition at line 623 of file GNETagProperties.cpp.
References myTagType, and PERSON.
Referenced by GNEPersonPlanFrame::addPersonPlanElement(), GNERouteHandler::buildStop(), GNEDemandElement::checkDrawMoveContour(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNEDemandElementSelector::getPreviousPlanElement(), hasTypeParent(), GNEViewNet::onCmdToggleLockPerson(), GNEDemandElement::setDemandElementID(), GNENetHelper::AttributeCarriers::updateDemandElementFrames(), and GNEDemandElementFlow::writeFlowAttributes().
| bool GNETagProperties::isPlacedInRTree | ( | ) | const |
return true if Tag correspond to an element that has to be placed in RTREE
Definition at line 978 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().
| bool GNETagProperties::isPlan | ( | ) | const |
plans
return true if tag correspond to a plan
Definition at line 641 of file GNETagProperties.cpp.
References isPlanContainer(), and isPlanPerson().
Referenced by GNEDemandElement::deleteGLObject(), GNEElementTree::onCmdDeleteItem(), planBusStop(), planChargingStation(), planConsecutiveEdges(), planContainerStop(), planEdge(), planFromBusStop(), planFromChargingStation(), planFromContainerStop(), planFromJunction(), planFromParkingArea(), planFromTAZ(), planFromTrainStop(), planParkingArea(), planRoute(), planToBusStop(), planToChargingStation(), planToContainerStop(), planToEdge(), planToJunction(), planToParkingArea(), planToTAZ(), planToTrainStop(), and planTrainStop().
| bool GNETagProperties::isPlanContainer | ( | ) | const |
return true if tag correspond to a container plan
Definition at line 653 of file GNETagProperties.cpp.
References CONTAINERPLAN, and myTagType.
Referenced by checkTagIntegrity(), and isPlan().
| bool GNETagProperties::isPlanPerson | ( | ) | const |
return true if tag correspond to a person plan
Definition at line 647 of file GNETagProperties.cpp.
References myTagType, and PERSONPLAN.
Referenced by checkTagIntegrity(), isPlan(), and GNEDemandElementPlan::replacePlanParent().
| bool GNETagProperties::isPlanPersonTrip | ( | ) | const |
return true if tag correspond to a person trip plan
Definition at line 659 of file GNETagProperties.cpp.
References myTagType, and PERSONTRIP.
Referenced by GNERouteHandler::buildPersonPlan(), checkTagIntegrity(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), and GNEPlanCreator::planCanBeCreated().
| bool GNETagProperties::isPlanRide | ( | ) | const |
return true if tag correspond to a ride plan
Definition at line 671 of file GNETagProperties.cpp.
References myTagType, and RIDE.
Referenced by GNERouteHandler::buildPersonPlan(), checkTagIntegrity(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), and GNEPlanCreator::planCanBeCreated().
| bool GNETagProperties::isPlanStop | ( | ) | const |
return true if tag correspond to a stop plan
Definition at line 689 of file GNETagProperties.cpp.
References isPlanStopContainer(), and isPlanStopPerson().
| bool GNETagProperties::isPlanStopContainer | ( | ) | const |
return true if tag correspond to a container stop plan
Definition at line 701 of file GNETagProperties.cpp.
References myTagType, and STOP_CONTAINER.
Referenced by GNERouteHandler::buildContainerPlan(), checkTagIntegrity(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNEContainer::getAttributePosition(), isPlanStop(), and GNEPlanCreator::planCanBeCreated().
| bool GNETagProperties::isPlanStopPerson | ( | ) | const |
return true if tag correspond to a person stop plan
Definition at line 695 of file GNETagProperties.cpp.
References myTagType, and STOP_PERSON.
Referenced by GNERouteHandler::buildPersonPlan(), checkTagIntegrity(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNEPerson::getAttributePosition(), isPlanStop(), and GNEPlanCreator::planCanBeCreated().
| bool GNETagProperties::isPlanTranship | ( | ) | const |
return true if tag correspond to a tranship
Definition at line 683 of file GNETagProperties.cpp.
References myTagType, and TRANSHIP.
Referenced by GNERouteHandler::buildContainerPlan(), checkTagIntegrity(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNETagPropertiesDatabase::fillPlanParentAttributes(), and GNEPlanCreator::planCanBeCreated().
| bool GNETagProperties::isPlanTransport | ( | ) | const |
return true if tag correspond to a transport
Definition at line 677 of file GNETagProperties.cpp.
References myTagType, and TRANSPORT.
Referenced by GNERouteHandler::buildContainerPlan(), checkTagIntegrity(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), and GNEPlanCreator::planCanBeCreated().
| bool GNETagProperties::isPlanWalk | ( | ) | const |
return true if tag correspond to a walk plan
Definition at line 665 of file GNETagProperties.cpp.
References myTagType, and WALK.
Referenced by GNERouteHandler::buildPersonPlan(), checkTagIntegrity(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), and GNEPlanCreator::planCanBeCreated().
| bool GNETagProperties::isRoute | ( | ) | const |
return true if tag correspond to a route element
Definition at line 599 of file GNETagProperties.cpp.
References myTagType, and ROUTE.
Referenced by GNEDemandElement::buildMenuCommandRouteLength(), GNEVehicleFrame::buildVehicleOverRoute(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNEPathCreator::showPathCreatorModule(), and GNENetHelper::AttributeCarriers::updateDemandElementFrames().
| bool GNETagProperties::isSelectable | ( | ) | const |
return true if tag correspond to a selectable element
Definition at line 946 of file GNETagProperties.cpp.
References myTagProperty, and NOTSELECTABLE.
Referenced by GNESelectorFrame::SelectionOperation::loadFromFile(), GNEAttributeCarrier::selectAttributeCarrier(), and GNEAttributeCarrier::unselectAttributeCarrier().
| bool GNETagProperties::isShapeElement | ( | ) | const |
return true if tag correspond to a shape
Definition at line 559 of file GNETagProperties.cpp.
References myTagType, and SHAPE.
Referenced by checkTagIntegrity(), and isAdditionalPureElement().
| 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 541 of file GNETagProperties.cpp.
References myTagType, and STOPPINGPLACE.
Referenced by GNEContainerPlanFrame::addContainerPlanElement(), GNEPersonPlanFrame::addPersonPlanElement(), GNEAdditional::checkDrawOverContour(), and checkTagIntegrity().
| bool GNETagProperties::isSymbol | ( | ) | const |
return true if tag correspond to a symbol element
Definition at line 928 of file GNETagProperties.cpp.
References myTagProperty, and SYMBOL.
Referenced by GNETagPropertiesDatabase::fillCommonAttributes().
| bool GNETagProperties::isTAZElement | ( | ) | const |
return true if tag correspond to a TAZ element
Definition at line 565 of file GNETagProperties.cpp.
References myTagType, and TAZELEMENT.
Referenced by GNEAdditional::checkDrawOverContour(), checkTagIntegrity(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), isAdditionalPureElement(), and GNEElementTree::showAttributeCarrierParents().
| bool GNETagProperties::isType | ( | ) | const |
demand elements
return true if tag correspond to a vehicle/person/container type element
Definition at line 583 of file GNETagProperties.cpp.
References myTagType, and VTYPE.
Referenced by GNEElementTree::createPopUpMenu(), and GNENetHelper::AttributeCarriers::updateDemandElementFrames().
| bool GNETagProperties::isTypeDist | ( | ) | const |
return true if tag correspond to a type distribution element
Definition at line 588 of file GNETagProperties.cpp.
References myTag, and SUMO_TAG_VTYPE_DISTRIBUTION.
| bool GNETagProperties::isVehicle | ( | ) | const |
return true if tag correspond to a vehicle element
Definition at line 593 of file GNETagProperties.cpp.
References myTagType, and VEHICLE.
Referenced by GNERouteHandler::addReverse(), GNEStopFrame::addStop(), GNERouteHandler::buildStop(), GNEDemandElement::checkDrawMoveContour(), checkTagIntegrity(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), hasTypeParent(), vehicleEdges(), vehicleJunctions(), vehicleRoute(), vehicleRouteEmbedded(), and vehicleTAZs().
| bool GNETagProperties::isVehicleStop | ( | ) | const |
return true if tag correspond to a vehicle stop element
Definition at line 605 of file GNETagProperties.cpp.
References myTagType, and STOP_VEHICLE.
Referenced by GNEStopFrame::addStop(), checkTagIntegrity(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), and GNEDemandElement::getInvalidStops().
| bool GNETagProperties::isVehicleWaypoint | ( | ) | const |
return true if tag correspond to a vehicle waypoint element
Definition at line 611 of file GNETagProperties.cpp.
References myTagType, and WAYPOINT_VEHICLE.
Referenced by GNEStop::drawStopOverLane(), GNEStop::getColor(), GNEStop::GNEStop(), GNEStop::GNEStop(), and GNEStop::GNEStop().
| bool GNETagProperties::isWireElement | ( | ) | const |
return true if tag correspond to a Wire element
Definition at line 571 of file GNETagProperties.cpp.
References myTagType, and WIRE.
Referenced by checkTagIntegrity(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), and isAdditionalPureElement().
|
privatedelete |
Invalidated assignment operator.
| bool GNETagProperties::planBusStop | ( | ) | const |
return true if tag correspond to a plan placed over busStop
Definition at line 767 of file GNETagProperties.cpp.
References BUSSTOP, isPlan(), and myTagOver.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and planStoppingPlace().
| bool GNETagProperties::planChargingStation | ( | ) | const |
return true if tag correspond to a plan placed over chargingStation
Definition at line 785 of file GNETagProperties.cpp.
References CHARGINGSTATION, isPlan(), and myTagOver.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and planStoppingPlace().
| bool GNETagProperties::planConsecutiveEdges | ( | ) | const |
plan parents
return true if tag correspond to a plan placed over edges
Definition at line 749 of file GNETagProperties.cpp.
References CONSECUTIVE_EDGES, isPlan(), and myTagOver.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes().
| bool GNETagProperties::planContainerStop | ( | ) | const |
return true if tag correspond to a plan placed over containerStop
Definition at line 779 of file GNETagProperties.cpp.
References CONTAINERSTOP, isPlan(), and myTagOver.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and planStoppingPlace().
| bool GNETagProperties::planEdge | ( | ) | const |
return true if tag correspond to a plan placed over edge
Definition at line 761 of file GNETagProperties.cpp.
References EDGE, isPlan(), and myTagOver.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes().
| bool GNETagProperties::planFromBusStop | ( | ) | const |
return true if tag correspond to a plan that starts in busStop
Definition at line 831 of file GNETagProperties.cpp.
References FROM_BUSSTOP, isPlan(), and myTagOver.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and planFromStoppingPlace().
| bool GNETagProperties::planFromChargingStation | ( | ) | const |
return true if tag correspond to a plan that starts in chargingStation
Definition at line 849 of file GNETagProperties.cpp.
References FROM_CHARGINGSTATION, isPlan(), and myTagOver.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and planFromStoppingPlace().
| bool GNETagProperties::planFromContainerStop | ( | ) | const |
return true if tag correspond to a plan that starts in containerStop
Definition at line 843 of file GNETagProperties.cpp.
References FROM_CONTAINERSTOP, isPlan(), and myTagOver.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and planFromStoppingPlace().
| bool GNETagProperties::planFromEdge | ( | ) | const |
return true if tag correspond to a plan that starts in edge
Definition at line 813 of file GNETagProperties.cpp.
References FROM_EDGE, and myTagOver.
Referenced by GNEDemandElementPlan::computePlanPathElement(), GNETagPropertiesDatabase::fillPlanParentAttributes(), and planFromTo().
| bool GNETagProperties::planFromJunction | ( | ) | const |
return true if tag correspond to a plan that starts in junction
Definition at line 825 of file GNETagProperties.cpp.
References FROM_JUNCTION, isPlan(), and myTagOver.
Referenced by GNEDemandElementPlan::computePlanPathElement(), GNETagPropertiesDatabase::fillPlanParentAttributes(), GNEContainer::getAttributePosition(), GNEPerson::getAttributePosition(), and planFromTo().
| bool GNETagProperties::planFromParkingArea | ( | ) | const |
return true if tag correspond to a plan that starts in parkingAera
Definition at line 855 of file GNETagProperties.cpp.
References FROM_PARKINGAREA, isPlan(), and myTagOver.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and planFromStoppingPlace().
| bool GNETagProperties::planFromStoppingPlace | ( | ) | const |
return true if tag correspond to a plan that starts in stoppingPlace
Definition at line 861 of file GNETagProperties.cpp.
References planFromBusStop(), planFromChargingStation(), planFromContainerStop(), planFromParkingArea(), and planFromTrainStop().
Referenced by GNEDemandElementPlan::computePlanPathElement(), and planFromTo().
| bool GNETagProperties::planFromTAZ | ( | ) | const |
return true if tag correspond to a plan that starts in TAZ
Definition at line 819 of file GNETagProperties.cpp.
References FROM_TAZ, isPlan(), and myTagOver.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), GNEContainer::getAttributePosition(), GNEPerson::getAttributePosition(), and planFromTo().
| bool GNETagProperties::planFromTo | ( | ) | const |
return true if tag correspond to a plan with from-to parents
Definition at line 804 of file GNETagProperties.cpp.
References planFromEdge(), planFromJunction(), planFromStoppingPlace(), planFromTAZ(), planToEdge(), planToJunction(), planToStoppingPlace(), and planToTAZ().
| bool GNETagProperties::planFromTrainStop | ( | ) | const |
return true if tag correspond to a plan that starts in trainStop
Definition at line 837 of file GNETagProperties.cpp.
References FROM_TRAINSTOP, isPlan(), and myTagOver.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and planFromStoppingPlace().
| bool GNETagProperties::planParkingArea | ( | ) | const |
return true if tag correspond to a plan placed over parkingArea
Definition at line 791 of file GNETagProperties.cpp.
References isPlan(), myTagOver, and PARKINGAREA.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and planStoppingPlace().
| bool GNETagProperties::planRoute | ( | ) | const |
return true if tag correspond to a plan placed over route
Definition at line 755 of file GNETagProperties.cpp.
References isPlan(), myTagOver, and ROUTE.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and GNEViewNet::processLeftButtonPressDemand().
| bool GNETagProperties::planStoppingPlace | ( | ) | const |
return true if tag correspond to a plan placed in stoppingPlace
Definition at line 797 of file GNETagProperties.cpp.
References planBusStop(), planChargingStation(), planContainerStop(), planParkingArea(), and planTrainStop().
Referenced by GNEDemandElementPlan::computePlanPathElement().
| bool GNETagProperties::planToBusStop | ( | ) | const |
return true if tag correspond to a plan that starts in busStop
Definition at line 885 of file GNETagProperties.cpp.
References isPlan(), myTagOver, and TO_BUSSTOP.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and planToStoppingPlace().
| bool GNETagProperties::planToChargingStation | ( | ) | const |
return true if tag correspond to a plan that starts in chargingStation
Definition at line 903 of file GNETagProperties.cpp.
References isPlan(), myTagOver, and TO_CHARGINGSTATION.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and planToStoppingPlace().
| bool GNETagProperties::planToContainerStop | ( | ) | const |
return true if tag correspond to a plan that starts in containerStop
Definition at line 897 of file GNETagProperties.cpp.
References isPlan(), myTagOver, and TO_CONTAINERSTOP.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and planToStoppingPlace().
| bool GNETagProperties::planToEdge | ( | ) | const |
return true if tag correspond to a plan that starts in edge
Definition at line 868 of file GNETagProperties.cpp.
References isPlan(), myTagOver, and TO_EDGE.
Referenced by GNEDemandElementPlan::computePlanPathElement(), GNETagPropertiesDatabase::fillPlanParentAttributes(), and planFromTo().
| bool GNETagProperties::planToJunction | ( | ) | const |
return true if tag correspond to a plan that starts in junction
Definition at line 880 of file GNETagProperties.cpp.
References isPlan(), myTagOver, and TO_JUNCTION.
Referenced by GNEDemandElementPlan::computePlanPathElement(), GNETagPropertiesDatabase::fillPlanParentAttributes(), and planFromTo().
| bool GNETagProperties::planToParkingArea | ( | ) | const |
return true if tag correspond to a plan that starts in parkingArea
Definition at line 909 of file GNETagProperties.cpp.
References isPlan(), myTagOver, and TO_PARKINGAREA.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and planToStoppingPlace().
| bool GNETagProperties::planToStoppingPlace | ( | ) | const |
return true if tag correspond to a plan that ends in stoppingPlace
Definition at line 915 of file GNETagProperties.cpp.
References planToBusStop(), planToChargingStation(), planToContainerStop(), planToParkingArea(), and planToTrainStop().
Referenced by GNEDemandElementPlan::computePlanPathElement(), and planFromTo().
| bool GNETagProperties::planToTAZ | ( | ) | const |
return true if tag correspond to a plan that starts in TAZ
Definition at line 874 of file GNETagProperties.cpp.
References isPlan(), myTagOver, and TO_TAZ.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and planFromTo().
| bool GNETagProperties::planToTrainStop | ( | ) | const |
return true if tag correspond to a plan that starts in trainStop
Definition at line 891 of file GNETagProperties.cpp.
References isPlan(), myTagOver, and TO_TRAINSTOP.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and planToStoppingPlace().
| bool GNETagProperties::planTrainStop | ( | ) | const |
return true if tag correspond to a plan placed over trainStop
Definition at line 773 of file GNETagProperties.cpp.
References isPlan(), myTagOver, and TRAINSTOP.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and planStoppingPlace().
| bool GNETagProperties::requireProj | ( | ) | const |
return true if tag correspond to an element that requires a geo projection
Definition at line 996 of file GNETagProperties.cpp.
References myTagProperty, and REQUIRE_PROJ.
| bool GNETagProperties::vClassIcon | ( | ) | const |
return true if tag correspond to an element that has vClass icons
Definition at line 1002 of file GNETagProperties.cpp.
References myTagProperty, and VCLASS_ICON.
Referenced by checkTagIntegrity(), and GNEAttributeCarrier::getACIcon().
| bool GNETagProperties::vehicleEdges | ( | ) | const |
return true if tag correspond to a vehicle placed over from-to edges
Definition at line 731 of file GNETagProperties.cpp.
References FROM_EDGE, isVehicle(), myTagOver, and TO_EDGE.
Referenced by GNEDemandElement::buildMenuCommandRouteLength(), GNERouteHandler::canReverse(), GNEDemandElement::checkDrawMoveContour(), GNEVehicle::computePathElement(), GNEVehicle::copyVehicle(), GNEVehicle::getDemandElementProblem(), GNEVehicle::getHierarchyName(), GNEVehicle::getParentName(), GNEVehicle::isDemandElementValid(), GNEVehicle::setAttribute(), GNEPathCreator::showPathCreatorModule(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), and GNEVehicle::writeDemandElement().
| bool GNETagProperties::vehicleJunctions | ( | ) | const |
return true if tag correspond to a vehicle placed over from-to junctions
Definition at line 737 of file GNETagProperties.cpp.
References FROM_JUNCTION, isVehicle(), myTagOver, and TO_JUNCTION.
Referenced by GNERouteHandler::canReverse(), GNEVehicle::computePathElement(), GNEVehicle::copyVehicle(), GNEVehicle::drawJunctionPartialGL(), GNEVehicle::getDemandElementProblem(), GNEVehicle::getParentName(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu(), GNEVehicle::isDemandElementValid(), GNERouteHandler::reverse(), GNEPathCreator::showPathCreatorModule(), and GNEVehicle::writeDemandElement().
| bool GNETagProperties::vehicleRoute | ( | ) | const |
plan parents
return true if tag correspond to a vehicle placed over a route
Definition at line 719 of file GNETagProperties.cpp.
References isVehicle(), myTagOver, and ROUTE.
Referenced by GNEVehicleFrame::addVehicle(), GNEDemandElement::buildMenuCommandRouteLength(), GNERouteHandler::canReverse(), GNEDemandElement::checkDrawDeleteContourSmall(), GNEDemandElement::checkDrawMoveContour(), GNEVehicle::copyVehicle(), GNEVehicle::getDemandElementProblem(), GNEVehicle::getFirstPathLane(), GNEVehicle::getLastPathLane(), GNEVehicle::getParentName(), GNEVehicle::isDemandElementValid(), GNEVehicle::isValid(), GNERouteHandler::reverse(), GNEVehicle::setAttribute(), GNEPathCreator::showPathCreatorModule(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), and GNEVehicle::writeDemandElement().
| bool GNETagProperties::vehicleRouteEmbedded | ( | ) | const |
return true if tag correspond to a vehicle placed over an embedded route
Definition at line 725 of file GNETagProperties.cpp.
References isVehicle(), myTagOver, and ROUTE_EMBEDDED.
Referenced by GNEDemandElement::buildMenuCommandRouteLength(), GNERouteHandler::canReverse(), GNEDemandElement::checkDrawMoveContour(), GNEVehicle::copyVehicle(), GNEVehicle::getDemandElementProblem(), GNEVehicle::getFirstPathLane(), GNEVehicle::getLastPathLane(), GNEVehicle::isDemandElementValid(), GNERouteHandler::reverse(), GNEVehicle::setAttribute(), GNEPathCreator::showPathCreatorModule(), GNEVehicleFrame::tagSelected(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), and GNERouteHandler::transformToVehicle().
| bool GNETagProperties::vehicleTAZs | ( | ) | const |
return true if tag correspond to a vehicle placed over from-to TAZs
Definition at line 743 of file GNETagProperties.cpp.
References FROM_TAZ, isVehicle(), myTagOver, and TO_TAZ.
Referenced by GNERouteHandler::canReverse(), GNEVehicle::copyVehicle(), GNEVehicle::getParentName(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu(), GNEVehicle::isDemandElementValid(), GNERouteHandler::reverse(), and GNEPathCreator::showPathCreatorModule().
|
friend |
declare friend class
Definition at line 143 of file GNETagProperties.h.
|
private |
vector with the attribute values vinculated with this Tag
Definition at line 567 of file GNETagProperties.h.
Referenced by at(), GNEAttributeProperties::checkBuildConstraints(), checkTagIntegrity(), getAttributeProperties(), getAttributeProperties(), getAttributeProperties(), getChildrenAttributes(), getDefaultBoolValue(), getDefaultColorValue(), getDefaultDoubleValue(), getDefaultIntValue(), getDefaultStringValue(), getDefaultTimeValue(), getNumberOfAttributes(), GNEAttributeProperties::GNEAttributeProperties(), GNEAttributeProperties::GNEAttributeProperties(), GNEAttributeProperties::GNEAttributeProperties(), GNEAttributeProperties::GNEAttributeProperties(), hasAttribute(), and ~GNETagProperties().
|
private |
background color (used in labels and textFields, by default white)
Definition at line 588 of file GNETagProperties.h.
Referenced by getBackGroundColor().
|
private |
tag property children
Definition at line 552 of file GNETagProperties.h.
Referenced by addChild(), getChildrenAttributes(), getChildrenTagProperties(), and getHierarchicalChildren().
|
private |
conflicts
Definition at line 564 of file GNETagProperties.h.
|
private |
GUIGlObjectType associated with this tag property.
Definition at line 573 of file GNETagProperties.h.
Referenced by checkTagIntegrity(), and getGLType().
|
private |
icon associated to this tag property
Definition at line 570 of file GNETagProperties.h.
Referenced by getGUIIcon().
|
private |
tag property parent
Definition at line 549 of file GNETagProperties.h.
Referenced by checkTagIntegrity(), getHierarchicalParent(), and getSupermode().
|
private |
text show in selector text
Definition at line 585 of file GNETagProperties.h.
Referenced by getSelectorText().
|
private |
Sumo XML Tag vinculated wit this tag Property.
Definition at line 543 of file GNETagProperties.h.
Referenced by checkTagIntegrity(), getTag(), and isTypeDist().
|
private |
tag over
Definition at line 561 of file GNETagProperties.h.
Referenced by planBusStop(), planChargingStation(), planConsecutiveEdges(), planContainerStop(), planEdge(), planFromBusStop(), planFromChargingStation(), planFromContainerStop(), planFromEdge(), planFromJunction(), planFromParkingArea(), planFromTAZ(), planFromTrainStop(), planParkingArea(), planRoute(), planToBusStop(), planToChargingStation(), planToContainerStop(), planToEdge(), planToJunction(), planToParkingArea(), planToTAZ(), planToTrainStop(), planTrainStop(), vehicleEdges(), vehicleJunctions(), vehicleRoute(), vehicleRouteEmbedded(), and vehicleTAZs().
|
private |
tag properties
Definition at line 558 of file GNETagProperties.h.
Referenced by canBeReparent(), canCenterCameraAfterCreation(), hasDialog(), hasExtendedAttributes(), hasGEOShape(), hasParameters(), isChild(), isDrawable(), isHierarchicalTag(), isPlacedInRTree(), isSelectable(), isSymbol(), requireProj(), and vClassIcon().
|
private |
Sumo XML Tag vinculated wit this tag Property in String format.
Definition at line 546 of file GNETagProperties.h.
Referenced by getTagStr().
|
private |
tag Types
Definition at line 555 of file GNETagProperties.h.
Referenced by isAdditionalElement(), isCalibrator(), isContainer(), isDataElement(), isDemandElement(), isDetector(), isFlow(), isGenericData(), isInternalLane(), isJuPedSimElement(), isMeanData(), isNetworkElement(), isOtherElement(), isPerson(), isPlanContainer(), isPlanPerson(), isPlanPersonTrip(), isPlanRide(), isPlanStopContainer(), isPlanStopPerson(), isPlanTranship(), isPlanTransport(), isPlanWalk(), isRoute(), isShapeElement(), isStoppingPlace(), isTAZElement(), isType(), isVehicle(), isVehicleStop(), isVehicleWaypoint(), and isWireElement().
|
private |
|
private |
vector with XML parent tags (used by child elements like access or spaces)
Definition at line 582 of file GNETagProperties.h.
Referenced by checkTagIntegrity(), and getXMLParentTags().
|
private |
Tag written in XML and used in GNENetHelper::AttributeCarriers.
Definition at line 576 of file GNETagProperties.h.
Referenced by getXMLTag().