![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNETagProperties.h>
Public Types | |
| enum class | Conflicts : std::uint64_t { POS_LANE = 1ULL << 0 , POS_LANE_START = 1ULL << 1 , POS_LANE_END = 1ULL << 2 , NO_ADDITIONAL_CHILDREN = 1ULL << 3 , NO_CONFLICTS = 1ULL << 4 } |
| enum class | Over : std::uint64_t { VIEW = 1ULL << 0 , JUNCTION = 1ULL << 1 , EDGE = 1ULL << 2 , EDGES = 1ULL << 3 , CONSECUTIVE_EDGES = 1ULL << 4 , LANE = 1ULL << 5 , LANES = 1ULL << 6 , CONSECUTIVE_LANES = 1ULL << 4 , ROUTE = 1ULL << 7 , ROUTE_EMBEDDED = 1ULL << 8 , BUSSTOP = 1ULL << 9 , TRAINSTOP = 1ULL << 10 , CONTAINERSTOP = 1ULL << 11 , CHARGINGSTATION = 1ULL << 12 , PARKINGAREA = 1ULL << 13 , FROM_EDGE = 1ULL << 14 , FROM_TAZ = 1ULL << 15 , FROM_JUNCTION = 1ULL << 16 , FROM_BUSSTOP = 1ULL << 17 , FROM_TRAINSTOP = 1ULL << 18 , FROM_CONTAINERSTOP = 1ULL << 19 , FROM_CHARGINGSTATION = 1ULL << 20 , FROM_PARKINGAREA = 1ULL << 21 , TO_EDGE = 1ULL << 22 , TO_TAZ = 1ULL << 23 , TO_JUNCTION = 1ULL << 24 , TO_BUSSTOP = 1ULL << 25 , TO_TRAINSTOP = 1ULL << 26 , TO_CONTAINERSTOP = 1ULL << 27 , TO_CHARGINGSTATION = 1ULL << 28 , TO_PARKINGAREA = 1ULL << 29 } |
| element in which this element is placed More... | |
| enum class | Property : std::uint64_t { NOTDRAWABLE = 1ULL << 0 , GEOSHAPE = 1ULL << 1 , DIALOG = 1ULL << 2 , XMLCHILD = 1ULL << 3 , REPARENT = 1ULL << 4 , NOTSELECTABLE = 1ULL << 5 , NOPARAMETERS = 1ULL << 6 , RTREE = 1ULL << 7 , CENTERAFTERCREATION = 1ULL << 8 , REQUIRE_PROJ = 1ULL << 9 , VCLASS_ICON = 1ULL << 10 , SYMBOL = 1ULL << 11 , EXTENDED = 1ULL << 12 , HIERARCHICAL = 1ULL << 13 , LISTED = 1ULL << 14 , NO_PROPERTY = 1ULL << 15 } |
| tag property More... | |
| enum class | Type : std::uint64_t { NETWORKELEMENT = 1ULL << 0 , ADDITIONALELEMENT = 1ULL << 1 , DEMANDELEMENT = 1ULL << 2 , DATAELEMENT = 1ULL << 3 , STOPPINGPLACE = 1ULL << 4 , DETECTOR = 1ULL << 5 , CALIBRATOR = 1ULL << 6 , SHAPE = 1ULL << 7 , TAZELEMENT = 1ULL << 8 , WIRE = 1ULL << 9 , JUPEDSIM = 1ULL << 10 , VTYPE = 1ULL << 11 , VEHICLE = 1ULL << 12 , ROUTE = 1ULL << 13 , STOP_VEHICLE = 1ULL << 14 , WAYPOINT_VEHICLE = 1ULL << 15 , FLOW = 1ULL << 16 , PERSON = 1ULL << 17 , PERSONPLAN = 1ULL << 18 , PERSONTRIP = 1ULL << 19 , WALK = 1ULL << 20 , RIDE = 1ULL << 21 , STOP_PERSON = 1ULL << 22 , CONTAINER = 1ULL << 23 , CONTAINERPLAN = 1ULL << 24 , TRANSPORT = 1ULL << 25 , TRANSHIP = 1ULL << 26 , STOP_CONTAINER = 1ULL << 27 , GENERICDATA = 1ULL << 28 , MEANDATA = 1ULL << 29 , DISTRIBUTION = 1ULL << 30 , DISTRIBUTIONREF = 1ULL << 31 , INTERNALLANE = 1ULL << 32 , OTHER = 1ULL << 33 } |
| tag types More... | |
Public Member Functions | |
| const GNEAttributeProperties * | at (int index) const |
| get attribute value | |
| 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 GNETagProperties::Type type, const GNETagProperties::Property property, const GNETagProperties::Over over, const FileBucket::Type bucketType, const GNETagProperties::Conflicts conflicts, const GUIIcon icon, const GUIGlObjectType GLType, const SumoXMLTag XMLTag, const std::string tooltipText, std::vector< SumoXMLTag > XMLParentTags={}, const unsigned int backgroundColor=FXRGBA(255, 255, 255, 255), const std::string selectorText="") | |
| parameter constructor | |
| 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 | |
| bool | hasAttribute (SumoXMLAttr attr) const |
| check if current TagProperties owns the attribute "attr" | |
| bool | isHierarchicalTag () const |
| check if this is a hierarchical tag | |
| ~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) until 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 | 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 | isDistribution () const |
| return true if tag correspond to a distribution element | |
| bool | isDistributionReference () const |
| return true if tag correspond to a dstribution reference element | |
| bool | isTypeDistribution () const |
| return true if tag correspond to a type distribution element | |
| bool | isRouteDistribution () const |
| return true if tag correspond to a route distribution element | |
| 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 | |
| bool | isChild () const |
| properties | |
| bool | isSymbol () const |
| return true if tag correspond to a symbol element | |
| bool | isInternalLane () const |
| return true if tag correspond to an internal lane | |
| bool | isDrawable () const |
| return true if tag correspond to a drawable element | |
| bool | isSelectable () const |
| return true if tag correspond to a selectable element | |
| bool | hasGEOShape () const |
| return true if tag correspond to an element that can use a geo shape | |
| 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 | hasParameters () const |
| return true if Tag correspond to an element that supports parameters "key1=value1|key2=value2|...|keyN=valueN" | |
| bool | isPlacedInRTree () const |
| return true if Tag correspond to an element that has to be placed in RTREE | |
| bool | isListedElement () const |
| return true if Tag correspond to a listed element | |
| bool | canCenterCameraAfterCreation () const |
| return true if tag correspond to an element that center camera after creation | |
| 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 | |
| bool | isFileCompatible (FileBucket::Type file) const |
| file | |
| bool | saveInNetworkFile () const |
| element is saved in a network file | |
| bool | saveInAdditionalFile () const |
| element is saved in an additional file | |
| bool | saveInDemandFile () const |
| element is saved in a demand file | |
| bool | saveInDataFile () const |
| element is saved in a data file | |
| bool | saveInMeanDataFile () const |
| element is saved in a meanData file | |
| bool | saveInParentFile () const |
| element is saved in the parent file | |
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) | |
| const FileBucket::Type | myBucketType = FileBucket::Type::NOTHING |
| tag file | |
| 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 Over | myOver = Over::VIEW |
| tag over | |
| const GNETagProperties * | myParent = nullptr |
| tag property parent | |
| const Property | myProperty = Property::NO_PROPERTY |
| tag properties | |
| const std::string | mySelectorText |
| text show in selector text | |
| const SumoXMLTag | myTag = SUMO_TAG_NOTHING |
| Sumo XML Tag vinculated wit this tag Property. | |
| const std::string | myTagStr |
| Sumo XML Tag vinculated wit this tag Property in String format. | |
| const std::string | myTooltipText |
| tooltip text | |
| const Type | myType = Type::OTHER |
| tag Types | |
| 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 34 of file GNETagProperties.h.
|
strong |
| Enumerator | |
|---|---|
| POS_LANE | |
| POS_LANE_START | |
| POS_LANE_END | |
| NO_ADDITIONAL_CHILDREN | |
| NO_CONFLICTS | |
Definition at line 140 of file GNETagProperties.h.
|
strong |
element in which this element is placed
Definition at line 105 of file GNETagProperties.h.
|
strong |
tag property
| Enumerator | |
|---|---|
| NOTDRAWABLE | |
| GEOSHAPE | |
| DIALOG | |
| XMLCHILD | |
| REPARENT | |
| NOTSELECTABLE | |
| NOPARAMETERS | |
| RTREE | |
| CENTERAFTERCREATION | |
| REQUIRE_PROJ | |
| VCLASS_ICON | |
| SYMBOL | |
| EXTENDED | |
| HIERARCHICAL | |
| LISTED | |
| NO_PROPERTY | |
Definition at line 85 of file GNETagProperties.h.
|
strong |
tag types
Definition at line 39 of file GNETagProperties.h.
| GNETagProperties::GNETagProperties | ( | const SumoXMLTag | tag, |
| GNETagProperties * | parent, | ||
| const GNETagProperties::Type | type, | ||
| const GNETagProperties::Property | property, | ||
| const GNETagProperties::Over | over, | ||
| const FileBucket::Type | bucketType, | ||
| const GNETagProperties::Conflicts | conflicts, | ||
| const GUIIcon | icon, | ||
| const GUIGlObjectType | GLType, | ||
| const SumoXMLTag | XMLTag, | ||
| const std::string | tooltipText, | ||
| std::vector< SumoXMLTag > | XMLParentTags = {}, | ||
| const unsigned int | backgroundColor = FXRGBA(255, 255, 255, 255), | ||
| const std::string | selectorText = "" ) |
parameter constructor
Definition at line 27 of file GNETagProperties.cpp.
References GNETagProperties(), myBackgroundColor, myBucketType, myConflicts, myGLType, myIcon, myOver, myParent, myProperty, mySelectorText, myTag, myTagStr, myTooltipText, myType, myXMLParentTags, myXMLTag, and toString().
Referenced by addChild(), getChildrenAttributes(), getChildrenTagProperties(), GNEAttributeProperties, GNETagProperties(), GNETagProperties(), GNETagProperties(), and operator=().
| 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 54 of file GNETagProperties.cpp.
References GNETagProperties(), myBackgroundColor, myIcon, myParent, myProperty, mySelectorText, myTag, myTagStr, myTooltipText, myXMLTag, and toString().
| GNETagProperties::~GNETagProperties | ( | ) |
|
privatedelete |
default constructor
|
privatedelete |
Invalidated copy constructor.
References GNETagProperties().
|
protected |
add child
Definition at line 1081 of file GNETagProperties.cpp.
References GNETagProperties(), and myChildren.
| const GNEAttributeProperties * GNETagProperties::at | ( | int | index | ) | const |
get attribute value
Definition at line 372 of file GNETagProperties.cpp.
References myAttributeProperties.
| bool GNETagProperties::canBeReparent | ( | ) | const |
return true if tag correspond to an element that can be reparent
Definition at line 1016 of file GNETagProperties.cpp.
References myProperty, 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 1022 of file GNETagProperties.cpp.
References CENTERAFTERCREATION, and myProperty.
Referenced by GNETagPropertiesDatabase::fillCommonAttributes().
| void GNETagProperties::checkTagIntegrity | ( | ) | const |
check Tag integrity (this include all their attributes)
Definition at line 91 of file GNETagProperties.cpp.
References canBeReparent(), 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(), isDrawable(), isGenericData(), isHierarchicalTag(), isInternalLane(), isJuPedSimElement(), isMeanData(), isNetworkElement(), isOtherElement(), isPlacedInRTree(), 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 343 of file GNETagProperties.cpp.
References myAttributeProperties.
Referenced by GNEHelpAttributesDialog::addAttributes(), GNEDemandElementFlow::isValidFlowAttribute(), GNENet::replaceInListAttribute(), and GNEElementTable::Row::Row().
| const GNEAttributeProperties * GNETagProperties::getAttributeProperties | ( | const int | index | ) | const |
get attribute propety by index (throw error if doesn't exist)
Definition at line 362 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 349 of file GNETagProperties.cpp.
References myAttributeProperties, TLF, and toString().
| unsigned int GNETagProperties::getBackGroundColor | ( | ) | const |
get background color
Definition at line 337 of file GNETagProperties.cpp.
References myBackgroundColor.
|
private |
recursive function for get all children attributes (Including this)
Definition at line 1097 of file GNETagProperties.cpp.
References getChildrenAttributes(), GNETagProperties(), isDrawable(), myAttributeProperties, and myChildren.
Referenced by getChildrenAttributes(), and getHierarchicalChildrenAttributesRecursively().
|
private |
recursive function for get all children tag properites (Including this)
Definition at line 1087 of file GNETagProperties.cpp.
References getChildrenTagProperties(), GNETagProperties(), and myChildren.
Referenced by getChildrenTagProperties(), and getHierarchicalChildrenRecursively().
| bool GNETagProperties::getDefaultBoolValue | ( | SumoXMLAttr | attr | ) | const |
get default bool value
Definition at line 301 of file GNETagProperties.cpp.
References myAttributeProperties, TLF, and toString().
| const RGBColor & GNETagProperties::getDefaultColorValue | ( | SumoXMLAttr | attr | ) | const |
get default bool value
Definition at line 313 of file GNETagProperties.cpp.
References myAttributeProperties, TLF, and toString().
| double GNETagProperties::getDefaultDoubleValue | ( | SumoXMLAttr | attr | ) | const |
get default double value
Definition at line 277 of file GNETagProperties.cpp.
References myAttributeProperties, TLF, and toString().
| int GNETagProperties::getDefaultIntValue | ( | SumoXMLAttr | attr | ) | const |
get default int value
Definition at line 265 of file GNETagProperties.cpp.
References myAttributeProperties, TLF, and toString().
| const std::string & GNETagProperties::getDefaultStringValue | ( | SumoXMLAttr | attr | ) | const |
default values
return the default value of the attribute of an element
Definition at line 253 of file GNETagProperties.cpp.
References myAttributeProperties, TLF, and toString().
Referenced by GNEDemandElementFlow::setDefaultFlowAttributes().
| SUMOTime GNETagProperties::getDefaultTimeValue | ( | SumoXMLAttr | attr | ) | const |
get default time value
Definition at line 289 of file GNETagProperties.cpp.
References myAttributeProperties, TLF, and toString().
| GUIGlObjectType GNETagProperties::getGLType | ( | ) | const |
get GUIGlObjectType associated with this tag property
Definition at line 402 of file GNETagProperties.cpp.
References myGLType.
| GUIIcon GNETagProperties::getGUIIcon | ( | ) | const |
get GUI icon associated to this tag property
Definition at line 396 of file GNETagProperties.cpp.
References myIcon.
Referenced by GNEComboBoxTagProperty::appendTagItem(), GNEUndoList::begin(), GNEDistributionFrame::DistributionEditor::onCmdCreateDistribution(), and GNEAttributesEditorRow::showAttributeInspectParent().
| const std::vector< const GNETagProperties * > & GNETagProperties::getHierarchicalChildren | ( | ) | const |
get children of this tag property
Definition at line 439 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 454 of file GNETagProperties.cpp.
References getChildrenAttributes(), and getHierarchicalChildrenRecursively().
| std::vector< const GNETagProperties * > GNETagProperties::getHierarchicalChildrenRecursively | ( | ) | const |
get all children tags (Including children of their children)
Definition at line 445 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 420 of file GNETagProperties.cpp.
References myParent.
| const std::vector< const GNETagProperties * > GNETagProperties::getHierarchicalParentsRecuersively | ( | ) | const |
get all parents, beginning from current element (root not included) until this element
Definition at line 426 of file GNETagProperties.cpp.
Referenced by getSupermode(), and GNEMatchAttribute::CurrentEditedProperties::setTagProperties().
| int GNETagProperties::getNumberOfAttributes | ( | ) | const |
get number of attributes
Definition at line 390 of file GNETagProperties.cpp.
References myAttributeProperties.
Referenced by GNEHelpAttributesDialog::GNEHelpAttributesDialog().
| const std::string & GNETagProperties::getSelectorText | ( | ) | const |
get field string (by default tag in string format)
Definition at line 325 of file GNETagProperties.cpp.
References mySelectorText.
Referenced by GNEComboBoxTagProperty::appendTagItem().
| Supermode GNETagProperties::getSupermode | ( | ) | const |
get supermode associated with this tag
Definition at line 485 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 79 of file GNETagProperties.cpp.
References myTag.
Referenced by GNEContainerPlanFrame::addContainerPlanElement(), GNENetHelper::AttributeCarriers::addDefaultVTypes(), GNEPlanCreator::addFromToStoppingPlace(), GNEPersonPlanFrame::addPersonPlanElement(), GNERouteHandler::addReverse(), GNEPlanCreator::addSingleStoppingPlace(), GNETAZFrame::CurrentTAZ::addSourceSink(), GNEStopFrame::addStop(), GNENet::adjustPersonPlans(), GNERouteHandler::buildContainerPlan(), GNERouteHandler::buildPersonPlan(), GNERouteHandler::buildStop(), GNEVehicleFrame::buildVehicleOverRoute(), GNEWireFrame::buildWireOverView(), GNEPathManager::PathCalculator::busStopConnected(), GNEPOI::calculatePOIContour(), GNERouteHandler::canReverse(), GNEConnection::checkDrawConnection(), GNEAdditionalHandler::checkElement(), GNERouteHandler::checkElement(), GNEAttributesEditorType::checkNewParent(), GNEVehicle::copyVehicle(), GNEWireFrame::createBaseWireObject(), GNENetHelper::AttributeCarriers::deleteAdditional(), GNEViewNet::deleteDataAttributeCarrier(), GNENet::deleteDemandElement(), GNENetHelper::AttributeCarriers::deleteDemandElement(), GNENetHelper::AttributeCarriers::deleteGenericData(), GNENetHelper::AttributeCarriers::deleteMeanData(), GNEViewNet::deleteNetworkAttributeCarrier(), GNENet::deleteNetworkElement(), GNENetHelper::AttributeCarriers::deleteTAZSourceSink(), GNERouteHandler::duplicatePlan(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNETLSEditorFrame::editTLS(), GNETagPropertiesDatabase::fillCommonStoppingPlaceAttributes(), GNEHierarchicalElement::getNewListOfParents(), GNEEdge::getRouteProbeRelativePosition(), GNEStopFrame::getStopParameter(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEAdditionalFrame::initBaseAdditionalObject(), GNENetHelper::AttributeCarriers::insertAdditional(), GNENetHelper::AttributeCarriers::insertDemandElement(), GNENetHelper::AttributeCarriers::insertGenericData(), GNENetHelper::AttributeCarriers::insertMeanData(), GNENetHelper::AttributeCarriers::insertTAZSourceSink(), GNEInspectorFrame::inspectElement(), GNENetHelper::AttributeCarriers::isNetworkElementAroundTriangle(), GNEDistributionRefDialog::onCmdAccept(), GNEMeanDataFrame::MeanDataEditor::onCmdCopyMeanData(), GNEViewNet::onCmdTriangulatePolygon(), GNENetHelper::AttributeCarriers::retrieveAttributeCarriersRecursively(), GNEDemandElementSelector::setDemandElement(), GNEElementTree::showAttributeCarrierParents(), GNEElementTree::showHierarchicalElementChildren(), GNEPathCreator::showPathCreatorModule(), GNEAttributesEditorRow::showValueComboBox(), GNECalibrator::splitEdgeGeometry(), GNEStoppingPlace::splitEdgeGeometry(), GNENetHelper::AttributeCarriers::updateAdditionalID(), GNENetHelper::AttributeCarriers::updateDemandElementID(), and GNENetHelper::AttributeCarriers::updateMeanDataID().
| 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 85 of file GNETagProperties.cpp.
References myTagStr.
Referenced by GNETagPropertiesDatabase::fillColorAttribute(), GNETagPropertiesDatabase::fillCommonAttributes(), GNETagPropertiesDatabase::fillCommonStoppingPlaceAttributes(), GNETagPropertiesDatabase::fillDepartAttribute(), GNETagPropertiesDatabase::fillDetectorPeriodAttribute(), GNETagPropertiesDatabase::fillIDAttribute(), GNETagPropertiesDatabase::fillImgFileAttribute(), GNETagPropertiesDatabase::fillLaneAttribute(), GNETagPropertiesDatabase::fillNameAttribute(), GNETagPropertiesDatabase::fillPosOverLaneAttribute(), GNETagPropertiesDatabase::fillWalkCommonAttributes(), GNEStopFrame::getStopParameter(), GNEOverwriteElement::GNEOverwriteElement(), GNEAdditionalFrame::initBaseAdditionalObject(), GNEDemandElementFlow::isValidFlowAttribute(), and GNEDemandElementFlow::setFlowAttribute().
| const std::string & GNETagProperties::getTooltipText | ( | ) | const |
| const std::vector< SumoXMLTag > & GNETagProperties::getXMLParentTags | ( | ) | const |
get XML parent tags
Definition at line 414 of file GNETagProperties.cpp.
References myXMLParentTags.
Referenced by GNEAdditionalFrame::initBaseAdditionalObject().
| SumoXMLTag GNETagProperties::getXMLTag | ( | ) | const |
default values
get XML tag
Definition at line 408 of file GNETagProperties.cpp.
References myXMLTag.
| bool GNETagProperties::hasAttribute | ( | SumoXMLAttr | attr | ) | const |
check if current TagProperties owns the attribute "attr"
Definition at line 378 of file GNETagProperties.cpp.
References myAttributeProperties.
Referenced by GNENet::adjustPersonPlans(), checkTagIntegrity(), GNENetHelper::AttributeCarriers::deleteAdditional(), GNENetHelper::AttributeCarriers::deleteDemandElement(), GNETagPropertiesDatabase::fillPlanStopCommonAttributes(), GNEDemandElementFlow::getFlowAttribute(), GNEStopFrame::getStopParameter(), GNEAdditionalFrame::initBaseAdditionalObject(), GNENetHelper::AttributeCarriers::insertAdditional(), and GNENetHelper::AttributeCarriers::insertDemandElement().
| bool GNETagProperties::hasDialog | ( | ) | const |
return true if tag correspond to an element that can be edited using a dialog
Definition at line 985 of file GNETagProperties.cpp.
References DIALOG, and myProperty.
Referenced by GNEViewNet::onCmdOpenAdditionalDialog().
| bool GNETagProperties::hasExtendedAttributes | ( | ) | const |
return true if tag correspond to an element that contains extended attributes
Definition at line 991 of file GNETagProperties.cpp.
References EXTENDED, and myProperty.
| bool GNETagProperties::hasGEOShape | ( | ) | const |
return true if tag correspond to an element that can use a geo shape
Definition at line 979 of file GNETagProperties.cpp.
References GEOSHAPE, and myProperty.
| bool GNETagProperties::hasParameters | ( | ) | const |
return true if Tag correspond to an element that supports parameters "key1=value1|key2=value2|...|keyN=valueN"
Definition at line 997 of file GNETagProperties.cpp.
References myProperty, 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 637 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 517 of file GNETagProperties.cpp.
References ADDITIONALELEMENT, and myType.
Referenced by GNEViewNetHelper::LockIcon::checkDrawing(), checkTagIntegrity(), GNEViewNet::deleteNetworkAttributeCarrier(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNENetHelper::AttributeCarriers::getSelectedAttributeCarriers(), isAdditionalPureElement(), GNENetHelper::AttributeCarriers::isNetworkElementAroundTriangle(), and GNENetHelper::AttributeCarriers::retrieveAttributeCarriersRecursively().
| bool GNETagProperties::isAdditionalPureElement | ( | ) | const |
return true if tag correspond to a pure additional element
Definition at line 523 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 559 of file GNETagProperties.cpp.
References CALIBRATOR, and myType.
| bool GNETagProperties::isChild | ( | ) | const |
properties
return true if tag correspond to an element child of another element (Example: E3->Entry/Exit)
Definition at line 948 of file GNETagProperties.cpp.
References myProperty, and XMLCHILD.
Referenced by checkTagIntegrity(), and GNEAdditionalFrame::initBaseAdditionalObject().
| bool GNETagProperties::isContainer | ( | ) | const |
return true if tag correspond to a container element
Definition at line 631 of file GNETagProperties.cpp.
References CONTAINER, and myType.
Referenced by GNEContainerPlanFrame::addContainerPlanElement(), GNERouteHandler::buildStop(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), hasTypeParent(), GNEViewNet::onCmdToggleLockContainer(), and GNENetHelper::AttributeCarriers::updateDemandElementFrames().
| bool GNETagProperties::isDataElement | ( | ) | const |
return true if tag correspond to a data element
Definition at line 535 of file GNETagProperties.cpp.
References DATAELEMENT, and myType.
Referenced by GNEViewNetHelper::LockIcon::checkDrawing(), checkTagIntegrity(), GNENetHelper::AttributeCarriers::getSelectedAttributeCarriers(), GNESelectorFrame::SelectionOperation::loadFromFile(), and GNENetHelper::AttributeCarriers::retrieveAttributeCarriersRecursively().
| bool GNETagProperties::isDemandElement | ( | ) | const |
return true if tag correspond to a demand element
Definition at line 529 of file GNETagProperties.cpp.
References DEMANDELEMENT, and myType.
Referenced by GNEViewNetHelper::LockIcon::checkDrawing(), checkTagIntegrity(), GNENetHelper::AttributeCarriers::getSelectedAttributeCarriers(), GNESelectorFrame::SelectionOperation::loadFromFile(), and GNENetHelper::AttributeCarriers::retrieveAttributeCarriersRecursively().
| bool GNETagProperties::isDetector | ( | ) | const |
return true if tag correspond to a shape (Only used to group all detectors in the XML)
Definition at line 553 of file GNETagProperties.cpp.
References DETECTOR, and myType.
Referenced by checkTagIntegrity().
| bool GNETagProperties::isDistribution | ( | ) | const |
return true if tag correspond to a distribution element
Definition at line 643 of file GNETagProperties.cpp.
References DISTRIBUTION, and myType.
Referenced by isRouteDistribution(), and isTypeDistribution().
| bool GNETagProperties::isDistributionReference | ( | ) | const |
return true if tag correspond to a dstribution reference element
Definition at line 649 of file GNETagProperties.cpp.
References DISTRIBUTIONREF, and myType.
| bool GNETagProperties::isDrawable | ( | ) | const |
return true if tag correspond to a drawable element
Definition at line 966 of file GNETagProperties.cpp.
References myProperty, and NOTDRAWABLE.
Referenced by checkTagIntegrity(), GNETagPropertiesDatabase::fillCommonAttributes(), and getChildrenAttributes().
| bool GNETagProperties::isFileCompatible | ( | FileBucket::Type | file | ) | const |
file
check if the given File property is compatible with this TagProperty
Definition at line 1040 of file GNETagProperties.cpp.
References myBucketType.
Referenced by GNEApplicationWindowHelper::FileBucketHandler::checkFilename(), and GNEApplicationWindowHelper::FileBucketHandler::updateAC().
| bool GNETagProperties::isFlow | ( | ) | const |
return true if tag correspond to a flow element
Definition at line 619 of file GNETagProperties.cpp.
Referenced by GNEDemandElementFlow::setDefaultFlowAttributes(), GNERouteHandler::transformToFlow(), and GNERouteHandler::transformToRouteFlow().
| bool GNETagProperties::isGenericData | ( | ) | const |
data elements
return true if tag correspond to a generic data element
Definition at line 733 of file GNETagProperties.cpp.
References GENERICDATA, and myType.
Referenced by checkTagIntegrity().
| bool GNETagProperties::isHierarchicalTag | ( | ) | const |
check if this is a hierarchical tag
Definition at line 505 of file GNETagProperties.cpp.
References HIERARCHICAL, and myProperty.
Referenced by checkTagIntegrity().
| bool GNETagProperties::isInternalLane | ( | ) | const |
return true if tag correspond to an internal lane
Definition at line 960 of file GNETagProperties.cpp.
References INTERNALLANE, and myType.
Referenced by checkTagIntegrity().
| bool GNETagProperties::isJuPedSimElement | ( | ) | const |
return true if tag correspond to a JuPedSim element
Definition at line 583 of file GNETagProperties.cpp.
References JUPEDSIM, and myType.
Referenced by checkTagIntegrity().
| bool GNETagProperties::isListedElement | ( | ) | const |
return true if Tag correspond to a listed element
Definition at line 1010 of file GNETagProperties.cpp.
References LISTED, and myProperty.
| bool GNETagProperties::isMeanData | ( | ) | const |
return true if tag correspond to a mean data element
Definition at line 739 of file GNETagProperties.cpp.
References MEANDATA, and myType.
Referenced by checkTagIntegrity().
| bool GNETagProperties::isNetworkElement | ( | ) | const |
network elements
return true if tag correspond to a network element
Definition at line 511 of file GNETagProperties.cpp.
References myType, and NETWORKELEMENT.
Referenced by GNEViewNetHelper::LockIcon::checkDrawing(), checkTagIntegrity(), GNENetHelper::AttributeCarriers::getSelectedAttributeCarriers(), and GNEApplicationWindowHelper::FileBucketHandler::updateAC().
| bool GNETagProperties::isOtherElement | ( | ) | const |
return true if tag correspond to a other element (sourceSinks, vTypes, etc.)
Definition at line 541 of file GNETagProperties.cpp.
Referenced by checkTagIntegrity().
| bool GNETagProperties::isPerson | ( | ) | const |
return true if tag correspond to a person element
Definition at line 625 of file GNETagProperties.cpp.
References myType, and PERSON.
Referenced by GNEPersonPlanFrame::addPersonPlanElement(), GNERouteHandler::buildStop(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), hasTypeParent(), GNEViewNet::onCmdToggleLockPerson(), and GNENetHelper::AttributeCarriers::updateDemandElementFrames().
| bool GNETagProperties::isPlacedInRTree | ( | ) | const |
return true if Tag correspond to an element that has to be placed in RTREE
Definition at line 1004 of file GNETagProperties.cpp.
References myProperty, and RTREE.
Referenced by GNENet::addGLObjectIntoGrid(), checkTagIntegrity(), GNEViewNet::recalculateBoundaries(), and GNENet::removeGLObjectFromGrid().
| bool GNETagProperties::isPlan | ( | ) | const |
plans
return true if tag correspond to a plan
Definition at line 667 of file GNETagProperties.cpp.
References isPlanContainer(), and isPlanPerson().
Referenced by 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 679 of file GNETagProperties.cpp.
References CONTAINERPLAN, and myType.
Referenced by checkTagIntegrity(), and isPlan().
| bool GNETagProperties::isPlanPerson | ( | ) | const |
return true if tag correspond to a person plan
Definition at line 673 of file GNETagProperties.cpp.
References myType, and PERSONPLAN.
Referenced by checkTagIntegrity(), and isPlan().
| bool GNETagProperties::isPlanPersonTrip | ( | ) | const |
return true if tag correspond to a person trip plan
Definition at line 685 of file GNETagProperties.cpp.
References myType, 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 697 of file GNETagProperties.cpp.
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 715 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 727 of file GNETagProperties.cpp.
References myType, 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 721 of file GNETagProperties.cpp.
References myType, 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 709 of file GNETagProperties.cpp.
References myType, 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 703 of file GNETagProperties.cpp.
References myType, 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 691 of file GNETagProperties.cpp.
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 601 of file GNETagProperties.cpp.
Referenced by GNEVehicleFrame::buildVehicleOverRoute(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), isRouteDistribution(), GNEPathCreator::showPathCreatorModule(), and GNENetHelper::AttributeCarriers::updateDemandElementFrames().
| bool GNETagProperties::isRouteDistribution | ( | ) | const |
return true if tag correspond to a route distribution element
Definition at line 661 of file GNETagProperties.cpp.
References isDistribution(), and isRoute().
| bool GNETagProperties::isSelectable | ( | ) | const |
return true if tag correspond to a selectable element
Definition at line 972 of file GNETagProperties.cpp.
References myProperty, and NOTSELECTABLE.
Referenced by GNESelectorFrame::SelectionOperation::loadFromFile().
| bool GNETagProperties::isShapeElement | ( | ) | const |
return true if tag correspond to a shape
Definition at line 565 of file GNETagProperties.cpp.
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 547 of file GNETagProperties.cpp.
References myType, and STOPPINGPLACE.
Referenced by GNEContainerPlanFrame::addContainerPlanElement(), GNEPersonPlanFrame::addPersonPlanElement(), and checkTagIntegrity().
| bool GNETagProperties::isSymbol | ( | ) | const |
return true if tag correspond to a symbol element
Definition at line 954 of file GNETagProperties.cpp.
References myProperty, and SYMBOL.
| bool GNETagProperties::isTAZElement | ( | ) | const |
return true if tag correspond to a TAZ element
Definition at line 571 of file GNETagProperties.cpp.
References myType, and TAZELEMENT.
Referenced by checkTagIntegrity(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), and isAdditionalPureElement().
| bool GNETagProperties::isType | ( | ) | const |
demand elements
return true if tag correspond to a vehicle/person/container type element
Definition at line 589 of file GNETagProperties.cpp.
Referenced by isTypeDistribution(), and GNENetHelper::AttributeCarriers::updateDemandElementFrames().
| bool GNETagProperties::isTypeDistribution | ( | ) | const |
return true if tag correspond to a type distribution element
Definition at line 655 of file GNETagProperties.cpp.
References isDistribution(), and isType().
| bool GNETagProperties::isVehicle | ( | ) | const |
return true if tag correspond to a vehicle element
Definition at line 595 of file GNETagProperties.cpp.
References myType, and VEHICLE.
Referenced by GNERouteHandler::addReverse(), GNEStopFrame::addStop(), GNERouteHandler::buildStop(), 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 607 of file GNETagProperties.cpp.
References myType, and STOP_VEHICLE.
Referenced by checkTagIntegrity(), and GNEApplicationWindowHelper::LockMenuCommands::editLocking().
| bool GNETagProperties::isVehicleWaypoint | ( | ) | const |
return true if tag correspond to a vehicle waypoint element
Definition at line 613 of file GNETagProperties.cpp.
References myType, and WAYPOINT_VEHICLE.
| bool GNETagProperties::isWireElement | ( | ) | const |
return true if tag correspond to a Wire element
Definition at line 577 of file GNETagProperties.cpp.
Referenced by checkTagIntegrity(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), and isAdditionalPureElement().
|
privatedelete |
Invalidated assignment operator.
References GNETagProperties().
| bool GNETagProperties::planBusStop | ( | ) | const |
return true if tag correspond to a plan placed over busStop
Definition at line 793 of file GNETagProperties.cpp.
References BUSSTOP, isPlan(), and myOver.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and planStoppingPlace().
| bool GNETagProperties::planChargingStation | ( | ) | const |
return true if tag correspond to a plan placed over chargingStation
Definition at line 811 of file GNETagProperties.cpp.
References CHARGINGSTATION, isPlan(), and myOver.
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 775 of file GNETagProperties.cpp.
References CONSECUTIVE_EDGES, isPlan(), and myOver.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes().
| bool GNETagProperties::planContainerStop | ( | ) | const |
return true if tag correspond to a plan placed over containerStop
Definition at line 805 of file GNETagProperties.cpp.
References CONTAINERSTOP, isPlan(), and myOver.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and planStoppingPlace().
| bool GNETagProperties::planEdge | ( | ) | const |
return true if tag correspond to a plan placed over edge
Definition at line 787 of file GNETagProperties.cpp.
References EDGE, isPlan(), and myOver.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes().
| bool GNETagProperties::planFromBusStop | ( | ) | const |
return true if tag correspond to a plan that starts in busStop
Definition at line 857 of file GNETagProperties.cpp.
References FROM_BUSSTOP, isPlan(), and myOver.
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 875 of file GNETagProperties.cpp.
References FROM_CHARGINGSTATION, isPlan(), and myOver.
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 869 of file GNETagProperties.cpp.
References FROM_CONTAINERSTOP, isPlan(), and myOver.
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 839 of file GNETagProperties.cpp.
References FROM_EDGE, and myOver.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and planFromTo().
| bool GNETagProperties::planFromJunction | ( | ) | const |
return true if tag correspond to a plan that starts in junction
Definition at line 851 of file GNETagProperties.cpp.
References FROM_JUNCTION, isPlan(), and myOver.
Referenced by 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 881 of file GNETagProperties.cpp.
References FROM_PARKINGAREA, isPlan(), and myOver.
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 887 of file GNETagProperties.cpp.
References planFromBusStop(), planFromChargingStation(), planFromContainerStop(), planFromParkingArea(), and planFromTrainStop().
Referenced by planFromTo().
| bool GNETagProperties::planFromTAZ | ( | ) | const |
return true if tag correspond to a plan that starts in TAZ
Definition at line 845 of file GNETagProperties.cpp.
References FROM_TAZ, isPlan(), and myOver.
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 830 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 863 of file GNETagProperties.cpp.
References FROM_TRAINSTOP, isPlan(), and myOver.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and planFromStoppingPlace().
| bool GNETagProperties::planParkingArea | ( | ) | const |
return true if tag correspond to a plan placed over parkingArea
Definition at line 817 of file GNETagProperties.cpp.
References isPlan(), myOver, 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 781 of file GNETagProperties.cpp.
References isPlan(), myOver, and ROUTE.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes().
| bool GNETagProperties::planStoppingPlace | ( | ) | const |
return true if tag correspond to a plan placed in stoppingPlace
Definition at line 823 of file GNETagProperties.cpp.
References planBusStop(), planChargingStation(), planContainerStop(), planParkingArea(), and planTrainStop().
| bool GNETagProperties::planToBusStop | ( | ) | const |
return true if tag correspond to a plan that starts in busStop
Definition at line 911 of file GNETagProperties.cpp.
References isPlan(), myOver, 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 929 of file GNETagProperties.cpp.
References isPlan(), myOver, 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 923 of file GNETagProperties.cpp.
References isPlan(), myOver, 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 894 of file GNETagProperties.cpp.
References isPlan(), myOver, and TO_EDGE.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and planFromTo().
| bool GNETagProperties::planToJunction | ( | ) | const |
return true if tag correspond to a plan that starts in junction
Definition at line 906 of file GNETagProperties.cpp.
References isPlan(), myOver, and TO_JUNCTION.
Referenced by GNETagPropertiesDatabase::fillPlanParentAttributes(), and planFromTo().
| bool GNETagProperties::planToParkingArea | ( | ) | const |
return true if tag correspond to a plan that starts in parkingArea
Definition at line 935 of file GNETagProperties.cpp.
References isPlan(), myOver, 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 941 of file GNETagProperties.cpp.
References planToBusStop(), planToChargingStation(), planToContainerStop(), planToParkingArea(), and planToTrainStop().
Referenced by planFromTo().
| bool GNETagProperties::planToTAZ | ( | ) | const |
return true if tag correspond to a plan that starts in TAZ
Definition at line 900 of file GNETagProperties.cpp.
References isPlan(), myOver, 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 917 of file GNETagProperties.cpp.
References isPlan(), myOver, 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 799 of file GNETagProperties.cpp.
References isPlan(), myOver, 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 1028 of file GNETagProperties.cpp.
References myProperty, and REQUIRE_PROJ.
| bool GNETagProperties::saveInAdditionalFile | ( | ) | const |
element is saved in an additional file
Definition at line 1052 of file GNETagProperties.cpp.
References FileBucket::ADDITIONAL, and myBucketType.
| bool GNETagProperties::saveInDataFile | ( | ) | const |
element is saved in a data file
Definition at line 1064 of file GNETagProperties.cpp.
References FileBucket::DATA, and myBucketType.
| bool GNETagProperties::saveInDemandFile | ( | ) | const |
element is saved in a demand file
Definition at line 1058 of file GNETagProperties.cpp.
References FileBucket::DEMAND, and myBucketType.
| bool GNETagProperties::saveInMeanDataFile | ( | ) | const |
element is saved in a meanData file
Definition at line 1070 of file GNETagProperties.cpp.
References FileBucket::MEANDATA, and myBucketType.
| bool GNETagProperties::saveInNetworkFile | ( | ) | const |
element is saved in a network file
Definition at line 1046 of file GNETagProperties.cpp.
References myBucketType, and FileBucket::NETWORK.
Referenced by GNETagPropertiesDatabase::fillCommonAttributes().
| bool GNETagProperties::saveInParentFile | ( | ) | const |
element is saved in the parent file
Definition at line 1076 of file GNETagProperties.cpp.
References myBucketType, and FileBucket::NOTHING.
Referenced by GNEApplicationWindowHelper::FileBucketHandler::checkFilename(), GNETagPropertiesDatabase::fillCommonAttributes(), GNEApplicationWindowHelper::FileBucketHandler::registerAC(), GNEApplicationWindowHelper::FileBucketHandler::unregisterAC(), and GNEApplicationWindowHelper::FileBucketHandler::updateAC().
| bool GNETagProperties::vClassIcon | ( | ) | const |
return true if tag correspond to an element that has vClass icons
Definition at line 1034 of file GNETagProperties.cpp.
References myProperty, and VCLASS_ICON.
Referenced by checkTagIntegrity().
| bool GNETagProperties::vehicleEdges | ( | ) | const |
return true if tag correspond to a vehicle placed over from-to edges
Definition at line 757 of file GNETagProperties.cpp.
References FROM_EDGE, isVehicle(), myOver, and TO_EDGE.
Referenced by GNERouteHandler::canReverse(), GNEVehicle::copyVehicle(), GNEPathCreator::showPathCreatorModule(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), and GNERouteHandler::transformToVehicle().
| bool GNETagProperties::vehicleJunctions | ( | ) | const |
return true if tag correspond to a vehicle placed over from-to junctions
Definition at line 763 of file GNETagProperties.cpp.
References FROM_JUNCTION, isVehicle(), myOver, and TO_JUNCTION.
Referenced by GNERouteHandler::canReverse(), GNEVehicle::copyVehicle(), GNERouteHandler::reverse(), and GNEPathCreator::showPathCreatorModule().
| bool GNETagProperties::vehicleRoute | ( | ) | const |
plan parents
return true if tag correspond to a vehicle placed over a route
Definition at line 745 of file GNETagProperties.cpp.
References isVehicle(), myOver, and ROUTE.
Referenced by GNERouteHandler::canReverse(), GNEVehicle::copyVehicle(), GNERouteHandler::reverse(), GNEPathCreator::showPathCreatorModule(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), and GNERouteHandler::transformToVehicle().
| bool GNETagProperties::vehicleRouteEmbedded | ( | ) | const |
return true if tag correspond to a vehicle placed over an embedded route
Definition at line 751 of file GNETagProperties.cpp.
References isVehicle(), myOver, and ROUTE_EMBEDDED.
Referenced by GNERouteHandler::canReverse(), GNEVehicle::copyVehicle(), GNERouteHandler::reverse(), GNEPathCreator::showPathCreatorModule(), 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 769 of file GNETagProperties.cpp.
References FROM_TAZ, isVehicle(), myOver, and TO_TAZ.
Referenced by GNERouteHandler::canReverse(), GNEVehicle::copyVehicle(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNERouteHandler::reverse(), and GNEPathCreator::showPathCreatorModule().
|
friend |
declare friend class
Definition at line 149 of file GNETagProperties.h.
References GNEAttributeProperties, and GNETagProperties().
Referenced by GNEAttributeProperties.
|
private |
vector with the attribute values vinculated with this Tag
Definition at line 617 of file GNETagProperties.h.
Referenced by at(), 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 638 of file GNETagProperties.h.
Referenced by getBackGroundColor(), GNETagProperties(), and GNETagProperties().
|
private |
tag file
Definition at line 611 of file GNETagProperties.h.
Referenced by GNETagProperties(), isFileCompatible(), saveInAdditionalFile(), saveInDataFile(), saveInDemandFile(), saveInMeanDataFile(), saveInNetworkFile(), and saveInParentFile().
|
private |
tag property children
Definition at line 599 of file GNETagProperties.h.
Referenced by addChild(), getChildrenAttributes(), getChildrenTagProperties(), and getHierarchicalChildren().
|
private |
|
private |
GUIGlObjectType associated with this tag property.
Definition at line 623 of file GNETagProperties.h.
Referenced by checkTagIntegrity(), getGLType(), and GNETagProperties().
|
private |
icon associated to this tag property
Definition at line 620 of file GNETagProperties.h.
Referenced by getGUIIcon(), GNETagProperties(), and GNETagProperties().
|
private |
tag over
Definition at line 608 of file GNETagProperties.h.
Referenced by GNETagProperties(), 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 property parent
Definition at line 596 of file GNETagProperties.h.
Referenced by checkTagIntegrity(), getHierarchicalParent(), getSupermode(), GNETagProperties(), and GNETagProperties().
|
private |
tag properties
Definition at line 605 of file GNETagProperties.h.
Referenced by canBeReparent(), canCenterCameraAfterCreation(), GNETagProperties(), GNETagProperties(), hasDialog(), hasExtendedAttributes(), hasGEOShape(), hasParameters(), isChild(), isDrawable(), isHierarchicalTag(), isListedElement(), isPlacedInRTree(), isSelectable(), isSymbol(), requireProj(), and vClassIcon().
|
private |
text show in selector text
Definition at line 635 of file GNETagProperties.h.
Referenced by getSelectorText(), GNETagProperties(), and GNETagProperties().
|
private |
Sumo XML Tag vinculated wit this tag Property.
Definition at line 590 of file GNETagProperties.h.
Referenced by checkTagIntegrity(), getTag(), GNETagProperties(), and GNETagProperties().
|
private |
Sumo XML Tag vinculated wit this tag Property in String format.
Definition at line 593 of file GNETagProperties.h.
Referenced by getTagStr(), GNETagProperties(), and GNETagProperties().
|
private |
tooltip text
Definition at line 629 of file GNETagProperties.h.
Referenced by getTooltipText(), GNETagProperties(), and GNETagProperties().
|
private |
tag Types
Definition at line 602 of file GNETagProperties.h.
Referenced by GNETagProperties(), isAdditionalElement(), isCalibrator(), isContainer(), isDataElement(), isDemandElement(), isDetector(), isDistribution(), isDistributionReference(), 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 |
vector with XML parent tags (used by child elements like access or spaces)
Definition at line 632 of file GNETagProperties.h.
Referenced by checkTagIntegrity(), getXMLParentTags(), and GNETagProperties().
|
private |
Tag written in XML and used in GNENetHelper::AttributeCarriers.
Definition at line 626 of file GNETagProperties.h.
Referenced by getXMLTag(), GNETagProperties(), and GNETagProperties().