![]() |
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 | File : std::uint64_t { NETWORK = 1ULL << 0 , ADDITIONAL = 1ULL << 1 , DEMAND = 1ULL << 2 , DATA = 1ULL << 3 , MEANDATA = 1ULL << 4 , JUNCTION = 1ULL << 5 , TYPE = 1ULL << 6 , TLS = 1ULL << 7 } |
| files in which element can be saved More... | |
| 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 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 type, const Property property, const Over over, const File file, const 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 | |
| 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 | saveInNetworkFile () const |
| 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 | saveInJunctionFile () const |
| element is saved in a junction file | |
| bool | saveInEdgeTypeFile () const |
| element is saved in a edge type file | |
| bool | saveInTLSFile () const |
| element is saved in a TLS type 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) | |
| std::vector< const GNETagProperties * > | myChildren |
| tag property children | |
| const Conflicts | myConflicts = Conflicts::NO_CONFLICTS |
| conflicts | |
| const File | myFile = File::NETWORK |
| tag file | |
| 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 32 of file GNETagProperties.h.
|
strong |
| Enumerator | |
|---|---|
| POS_LANE | |
| POS_LANE_START | |
| POS_LANE_END | |
| NO_ADDITIONAL_CHILDREN | |
| NO_CONFLICTS | |
Definition at line 150 of file GNETagProperties.h.
|
strong |
files in which element can be saved
| Enumerator | |
|---|---|
| NETWORK | |
| ADDITIONAL | |
| DEMAND | |
| DATA | |
| MEANDATA | |
| JUNCTION | |
| TYPE | |
| TLS | |
Definition at line 138 of file GNETagProperties.h.
|
strong |
element in which this element is placed
Definition at line 103 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 83 of file GNETagProperties.h.
|
strong |
tag types
Definition at line 37 of file GNETagProperties.h.
| GNETagProperties::GNETagProperties | ( | const SumoXMLTag | tag, |
| GNETagProperties * | parent, | ||
| const Type | type, | ||
| const Property | property, | ||
| const Over | over, | ||
| const File | file, | ||
| const 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 = "" |
||
| ) |
| 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 53 of file GNETagProperties.cpp.
References addChild().
| GNETagProperties::~GNETagProperties | ( | ) |
|
privatedelete |
default constructor
|
privatedelete |
Invalidated copy constructor.
|
protected |
add child
Definition at line 1087 of file GNETagProperties.cpp.
References myChildren.
Referenced by GNETagProperties(), and GNETagProperties().
| const GNEAttributeProperties * GNETagProperties::at | ( | int | index | ) | const |
get attribute value
Definition at line 371 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 1015 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 1021 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 90 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(), 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 342 of file GNETagProperties.cpp.
References myAttributeProperties.
Referenced by GNEHelpAttributesDialog::addAttributes(), GNEEdge::copyTemplate(), GNEAdditional::getParameterWindow(), GNEGenericData::getParameterWindow(), GNEDemandElement::getParameterWindow(), GNENetworkElement::getParameterWindow(), GNEAttributeProperties::getPositionListed(), GNEAttributeCarrierDialog::GNEAttributeCarrierDialog(), GNEStop::isValid(), GNEDemandElementFlow::isValidFlowAttribute(), GNEChange_Attribute::redo(), GNENet::replaceInListAttribute(), GNEAttributeCarrier::resetDefaultValues(), GNEElementTable::Row::Row(), 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 361 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 348 of file GNETagProperties.cpp.
References myAttributeProperties, TLF, and toString().
| unsigned int GNETagProperties::getBackGroundColor | ( | ) | const |
get background color
Definition at line 336 of file GNETagProperties.cpp.
References myBackgroundColor.
|
private |
recursive function for get all children attributes (Including this)
Definition at line 1103 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 1093 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 300 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 312 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 276 of file GNETagProperties.cpp.
References myAttributeProperties, TLF, and toString().
Referenced by GNETranship::getAttribute(), GNEWalk::getAttribute(), GNEAccess::setAttribute(), GNEContainerStop::setAttribute(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNEMeanData::setAttribute(), GNERoute::setAttribute(), GNETranship::setAttribute(), GNEVType::setAttribute(), GNEWalk::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 GNEMoveElementLaneDouble::writeMoveAttributes().
| int GNETagProperties::getDefaultIntValue | ( | SumoXMLAttr | attr | ) | const |
get default int value
Definition at line 264 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 252 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 288 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 401 of file GNETagProperties.cpp.
References myGLType.
| GUIIcon GNETagProperties::getGUIIcon | ( | ) | const |
get GUI icon associated to this tag property
Definition at line 395 of file GNETagProperties.cpp.
References myIcon.
Referenced by MFXComboBoxTagProperty::appendTagItem(), GNEUndoList::begin(), GNEAttributeCarrier::getACIcon(), GNEDistributionFrame::DistributionEditor::onCmdCreateDistribution(), GNEAttributeCarrier::resetDefaultValues(), and GNEAttributesEditorRow::showAttributeInspectParent().
| const std::vector< const GNETagProperties * > & GNETagProperties::getHierarchicalChildren | ( | ) | const |
get children of this tag property
Definition at line 438 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 453 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 444 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 419 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 425 of file GNETagProperties.cpp.
Referenced by getSupermode(), GNEMatchAttribute::refreshMatchAttribute(), and GNEMatchAttribute::CurrentEditedProperties::setTagProperties().
| int GNETagProperties::getNumberOfAttributes | ( | ) | const |
get number of attributes
Definition at line 389 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 324 of file GNETagProperties.cpp.
References mySelectorText.
Referenced by MFXComboBoxTagProperty::appendTagItem().
| Supermode GNETagProperties::getSupermode | ( | ) | const |
get supermode associated with this tag
Definition at line 484 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 78 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(), GNEPOI::calculatePOIContour(), GNERouteHandler::canReverse(), GNERoute::checkCreatingVehicleOverRoute(), 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(), GNETagPropertiesDatabase::fillCommonStoppingPlaceAttributes(), GNEAttributesEditorRow::getAttributeValue(), GNERoute::getFirstPathLane(), GNEPlanParents::getFromBusStop(), GNEPlanParents::getFromChargingStation(), GNEPlanParents::getFromContainerStop(), GNEPlanParents::getFromParkingArea(), GNEPlanParents::getFromTrainStop(), GNENetworkElement::getGeometryPointUnderCursorShapeEdited(), GNEContainer::getHierarchyName(), GNENetworkElement::getHierarchyName(), GNERoute::getLastPathLane(), GNEMatchAttribute::getMatches(), GNEHierarchicalElement::getNewListOfParents(), GNEDemandElementPlan::getPlanPopUpMenu(), GNENetworkElement::getPopUpID(), GNEAdditional::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), GNERouteRef::getPopUpMenu(), GNEVTypeRef::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNEWalkingArea::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(), GNEAdditionalFrame::initBaseAdditionalObject(), GNENetHelper::AttributeCarriers::insertAdditional(), GNENetHelper::AttributeCarriers::insertDemandElement(), GNENetHelper::AttributeCarriers::insertGenericData(), GNENetHelper::AttributeCarriers::insertMeanData(), GNENetHelper::AttributeCarriers::insertTAZSourceSink(), GNEInspectorFrame::inspectElement(), GNEPOI::isAttributeEnabled(), GNEStop::isAttributeEnabled(), GNENetHelper::AttributeCarriers::isNetworkElementAroundTriangle(), GNEStoppingPlace::isStoppingPlaceValid(), GNEMeanData::isValid(), GNEAdditional::isValidAdditionalID(), GNEDemandElement::isValidDemandElementID(), GNEAdditional::isValidDetectorID(), GNEGenericData::isVisibleInspectDeleteSelect(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEDistributionRefDialog::onCmdAccept(), 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(), GNETemplateElementList< elementDialogType, elementType, GNEChange_Type >::updateList(), 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 84 of file GNETagProperties.cpp.
References myTagStr.
Referenced by GNEDemandElement::buildMenuAddReverse(), GNEContainerFrame::createPath(), GNEPersonFrame::createPath(), GNEElementList::enableList(), 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(), GNEOverwriteElement::GNEOverwriteElement(), 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 413 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 407 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 377 of file GNETagProperties.cpp.
References myAttributeProperties.
Referenced by GNENet::adjustPersonPlans(), checkTagIntegrity(), GNEMoveElementShape::commitMoveShape(), 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(), GNEChange_Attribute::redo(), GNEAdditional::setAdditionalID(), GNEVType::setAttribute(), GNEDemandElement::setDemandElementID(), GNEChange_Attribute::undo(), GNEAdditional::writeAdditionalAttributes(), GNERoute::writeDemandElement(), and GNEMoveElementLaneDouble::writeMoveAttributes().
| bool GNETagProperties::hasDialog | ( | ) | const |
return true if tag correspond to an element that can be edited using a dialog
Definition at line 984 of file GNETagProperties.cpp.
References DIALOG, and myProperty.
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 990 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 978 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 996 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 636 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 516 of file GNETagProperties.cpp.
References ADDITIONALELEMENT, and myType.
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 522 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 558 of file GNETagProperties.cpp.
References CALIBRATOR, and myType.
Referenced by GNEVehicle::writeDemandElement().
| bool GNETagProperties::isChild | ( | ) | const |
properties
return true if tag correspond to an element child of another element (Example: E3->Entry/Exit)
Definition at line 947 of file GNETagProperties.cpp.
References myProperty, 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 630 of file GNETagProperties.cpp.
References CONTAINER, and myType.
Referenced by GNEContainerPlanFrame::addContainerPlanElement(), GNERouteHandler::buildStop(), GNEDemandElement::checkDrawMoveContour(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNEDemandElementSelector::getPreviousPlanElement(), hasTypeParent(), GNEViewNet::onCmdToggleLockContainer(), GNEDemandElement::setDemandElementID(), and GNENetHelper::AttributeCarriers::updateDemandElementFrames().
| bool GNETagProperties::isDataElement | ( | ) | const |
return true if tag correspond to a data element
Definition at line 534 of file GNETagProperties.cpp.
References DATAELEMENT, and myType.
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 528 of file GNETagProperties.cpp.
References DEMANDELEMENT, and myType.
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 552 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 642 of file GNETagProperties.cpp.
References DISTRIBUTION, and myType.
Referenced by GNEElementTree::createPopUpMenu(), isRouteDistribution(), and isTypeDistribution().
| bool GNETagProperties::isDistributionReference | ( | ) | const |
return true if tag correspond to a dstribution reference element
Definition at line 648 of file GNETagProperties.cpp.
References DISTRIBUTIONREF, and myType.
Referenced by GNEElementTree::createPopUpMenu().
| bool GNETagProperties::isDrawable | ( | ) | const |
return true if tag correspond to a drawable element
Definition at line 965 of file GNETagProperties.cpp.
References myProperty, and NOTDRAWABLE.
Referenced by checkTagIntegrity(), GNETagPropertiesDatabase::fillCommonAttributes(), and getChildrenAttributes().
| bool GNETagProperties::isFlow | ( | ) | const |
return true if tag correspond to a flow element
Definition at line 618 of file GNETagProperties.cpp.
Referenced by GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), 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 732 of file GNETagProperties.cpp.
References GENERICDATA, and myType.
Referenced by checkTagIntegrity(), GNEAttributeCarrier::drawUsingSelectColor(), GNEChange_Attribute::redo(), and GNEChange_Attribute::undo().
| bool GNETagProperties::isHierarchicalTag | ( | ) | const |
check if this is a hierarchical tag
Definition at line 504 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 959 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 582 of file GNETagProperties.cpp.
References JUPEDSIM, and myType.
Referenced by checkTagIntegrity(), GNEPoly::drawPolygon(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), and GNEApplicationWindow::onCmdSaveJuPedSimElementsAs().
| bool GNETagProperties::isListedElement | ( | ) | const |
return true if Tag correspond to a listed element
Definition at line 1009 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 738 of file GNETagProperties.cpp.
References MEANDATA, and myType.
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 510 of file GNETagProperties.cpp.
References myType, 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 540 of file GNETagProperties.cpp.
Referenced by checkTagIntegrity().
| bool GNETagProperties::isPerson | ( | ) | const |
return true if tag correspond to a person element
Definition at line 624 of file GNETagProperties.cpp.
References myType, and PERSON.
Referenced by GNEPersonPlanFrame::addPersonPlanElement(), GNERouteHandler::buildStop(), GNEDemandElement::checkDrawMoveContour(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNEDemandElementSelector::getPreviousPlanElement(), hasTypeParent(), GNEViewNet::onCmdToggleLockPerson(), GNEDemandElement::setDemandElementID(), 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 1003 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 666 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 678 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 672 of file GNETagProperties.cpp.
References myType, 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 684 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 696 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 714 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 726 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 720 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 708 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 702 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 690 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 600 of file GNETagProperties.cpp.
Referenced by GNEDemandElement::buildMenuCommandRouteLength(), 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 660 of file GNETagProperties.cpp.
References isDistribution(), and isRoute().
| bool GNETagProperties::isSelectable | ( | ) | const |
return true if tag correspond to a selectable element
Definition at line 971 of file GNETagProperties.cpp.
References myProperty, 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 564 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 546 of file GNETagProperties.cpp.
References myType, 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 953 of file GNETagProperties.cpp.
References myProperty, and SYMBOL.
Referenced by GNETagPropertiesDatabase::fillCommonAttributes().
| bool GNETagProperties::isTAZElement | ( | ) | const |
return true if tag correspond to a TAZ element
Definition at line 570 of file GNETagProperties.cpp.
References myType, 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 588 of file GNETagProperties.cpp.
Referenced by GNEElementTree::createPopUpMenu(), isTypeDistribution(), and GNENetHelper::AttributeCarriers::updateDemandElementFrames().
| bool GNETagProperties::isTypeDistribution | ( | ) | const |
return true if tag correspond to a type distribution element
Definition at line 654 of file GNETagProperties.cpp.
References isDistribution(), and isType().
| bool GNETagProperties::isVehicle | ( | ) | const |
return true if tag correspond to a vehicle element
Definition at line 594 of file GNETagProperties.cpp.
References myType, 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 606 of file GNETagProperties.cpp.
References myType, 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 612 of file GNETagProperties.cpp.
References myType, 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 576 of file GNETagProperties.cpp.
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 792 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 810 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 774 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 804 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 786 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 856 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 874 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 868 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 838 of file GNETagProperties.cpp.
References FROM_EDGE, and myOver.
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 850 of file GNETagProperties.cpp.
References FROM_JUNCTION, isPlan(), and myOver.
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 880 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 886 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 844 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 829 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 862 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 816 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 780 of file GNETagProperties.cpp.
References isPlan(), myOver, 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 822 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 910 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 928 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 922 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 893 of file GNETagProperties.cpp.
References isPlan(), myOver, 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 905 of file GNETagProperties.cpp.
References isPlan(), myOver, 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 934 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 940 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 899 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 916 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 798 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 1027 of file GNETagProperties.cpp.
References myProperty, and REQUIRE_PROJ.
| bool GNETagProperties::saveInAdditionalFile | ( | ) | const |
element is saved in an additional file
Definition at line 1045 of file GNETagProperties.cpp.
References ADDITIONAL, and myFile.
| bool GNETagProperties::saveInDataFile | ( | ) | const |
element is saved in a data file
Definition at line 1057 of file GNETagProperties.cpp.
| bool GNETagProperties::saveInDemandFile | ( | ) | const |
element is saved in a demand file
Definition at line 1051 of file GNETagProperties.cpp.
| bool GNETagProperties::saveInEdgeTypeFile | ( | ) | const |
element is saved in a edge type file
Definition at line 1075 of file GNETagProperties.cpp.
| bool GNETagProperties::saveInJunctionFile | ( | ) | const |
element is saved in a junction file
Definition at line 1069 of file GNETagProperties.cpp.
| bool GNETagProperties::saveInMeanDataFile | ( | ) | const |
element is saved in a meanData file
Definition at line 1063 of file GNETagProperties.cpp.
| bool GNETagProperties::saveInNetworkFile | ( | ) | const |
| bool GNETagProperties::saveInTLSFile | ( | ) | const |
element is saved in a TLS type file
Definition at line 1081 of file GNETagProperties.cpp.
| bool GNETagProperties::vClassIcon | ( | ) | const |
return true if tag correspond to an element that has vClass icons
Definition at line 1033 of file GNETagProperties.cpp.
References myProperty, 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 756 of file GNETagProperties.cpp.
References FROM_EDGE, isVehicle(), myOver, 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 762 of file GNETagProperties.cpp.
References FROM_JUNCTION, isVehicle(), myOver, and TO_JUNCTION.
Referenced by GNERouteHandler::canReverse(), GNEVehicle::computePathElement(), GNEVehicle::copyVehicle(), GNEVehicle::drawJunctionPartialGL(), GNEVehicle::getDemandElementProblem(), GNEVehicle::getParentName(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), 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 744 of file GNETagProperties.cpp.
References isVehicle(), myOver, and ROUTE.
Referenced by GNEVehicleFrame::addVehicle(), GNEDemandElement::buildMenuCommandRouteLength(), GNERouteHandler::canReverse(), GNEDemandElement::checkDrawDeleteContourSmall(), GNEDemandElement::checkDrawMoveContour(), GNEVehicle::copyVehicle(), GNEVehicle::getCenteringBoundary(), 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(), GNEVehicle::updateGeometry(), and GNEVehicle::writeDemandElement().
| bool GNETagProperties::vehicleRouteEmbedded | ( | ) | const |
return true if tag correspond to a vehicle placed over an embedded route
Definition at line 750 of file GNETagProperties.cpp.
References isVehicle(), myOver, and ROUTE_EMBEDDED.
Referenced by GNEDemandElement::buildMenuCommandRouteLength(), GNERouteHandler::canReverse(), GNEDemandElement::checkDrawMoveContour(), GNEVehicle::copyVehicle(), GNEVehicle::getDemandElementProblem(), GNEVehicle::getFirstPathLane(), GNEVehicle::getLastPathLane(), GNEVehicle::getPositionInView(), 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 768 of file GNETagProperties.cpp.
References FROM_TAZ, isVehicle(), myOver, and TO_TAZ.
Referenced by GNERouteHandler::canReverse(), GNEVehicle::copyVehicle(), GNEVehicle::getParentName(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicle::isDemandElementValid(), GNERouteHandler::reverse(), and GNEPathCreator::showPathCreatorModule().
|
friend |
declare friend class
Definition at line 159 of file GNETagProperties.h.
|
private |
vector with the attribute values vinculated with this Tag
Definition at line 630 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 651 of file GNETagProperties.h.
Referenced by getBackGroundColor().
|
private |
tag property children
Definition at line 612 of file GNETagProperties.h.
Referenced by addChild(), getChildrenAttributes(), getChildrenTagProperties(), and getHierarchicalChildren().
|
private |
conflicts
Definition at line 627 of file GNETagProperties.h.
|
private |
tag file
Definition at line 624 of file GNETagProperties.h.
Referenced by saveInAdditionalFile(), saveInDataFile(), saveInDemandFile(), saveInEdgeTypeFile(), saveInJunctionFile(), saveInMeanDataFile(), saveInNetworkFile(), and saveInTLSFile().
|
private |
GUIGlObjectType associated with this tag property.
Definition at line 636 of file GNETagProperties.h.
Referenced by checkTagIntegrity(), and getGLType().
|
private |
icon associated to this tag property
Definition at line 633 of file GNETagProperties.h.
Referenced by getGUIIcon().
|
private |
tag over
Definition at line 621 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 property parent
Definition at line 609 of file GNETagProperties.h.
Referenced by checkTagIntegrity(), getHierarchicalParent(), and getSupermode().
|
private |
tag properties
Definition at line 618 of file GNETagProperties.h.
Referenced by canBeReparent(), canCenterCameraAfterCreation(), hasDialog(), hasExtendedAttributes(), hasGEOShape(), hasParameters(), isChild(), isDrawable(), isHierarchicalTag(), isListedElement(), isPlacedInRTree(), isSelectable(), isSymbol(), requireProj(), and vClassIcon().
|
private |
text show in selector text
Definition at line 648 of file GNETagProperties.h.
Referenced by getSelectorText().
|
private |
Sumo XML Tag vinculated wit this tag Property.
Definition at line 603 of file GNETagProperties.h.
Referenced by checkTagIntegrity(), and getTag().
|
private |
Sumo XML Tag vinculated wit this tag Property in String format.
Definition at line 606 of file GNETagProperties.h.
Referenced by getTagStr().
|
private |
|
private |
tag Types
Definition at line 615 of file GNETagProperties.h.
Referenced by 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 645 of file GNETagProperties.h.
Referenced by checkTagIntegrity(), and getXMLParentTags().
|
private |
Tag written in XML and used in GNENetHelper::AttributeCarriers.
Definition at line 639 of file GNETagProperties.h.
Referenced by getXMLTag().