![]() |
SUMO - Simulation of Urban MObility
|
#include <GNEAttributeCarrier.h>


Data Structures | |
| class | AttributeValues |
| struct with the attribute Properties More... | |
| class | TagValues |
| struct with the attribute Properties More... | |
Public Member Functions | |
| void | decRef (const std::string &debugMsg="") |
| Decrease reference. More... | |
| virtual std::string | getAttributeForSelection (SumoXMLAttr key) const |
| method for getting the attribute in the context of object selection More... | |
| FXIcon * | getIcon () const |
| get FXIcon associated to this AC More... | |
| const std::string | getID () const |
| function to support debugging More... | |
| SumoXMLTag | getTag () const |
| get XML Tag assigned to this object More... | |
| GNEAttributeCarrier (SumoXMLTag tag) | |
| Constructor. More... | |
| void | incRef (const std::string &debugMsg="") |
| Increarse reference. More... | |
| template<> | |
| int | parse (const std::string &string) |
| template<> | |
| double | parse (const std::string &string) |
| template<> | |
| bool | parse (const std::string &string) |
| template<> | |
| std::string | parse (const std::string &string) |
| template<> | |
| SUMOVehicleClass | parse (const std::string &string) |
| template<> | |
| RGBColor | parse (const std::string &string) |
| template<> | |
| Position | parse (const std::string &string) |
| template<> | |
| SUMOVehicleShape | parse (const std::string &string) |
| template<> | |
| std::vector< std::string > | parse (const std::string &string) |
| template<> | |
| std::vector< int > | parse (const std::string &string) |
| template<> | |
| std::vector< double > | parse (const std::string &string) |
| template<> | |
| std::vector< bool > | parse (const std::string &string) |
| template<> | |
| std::vector< GNEEdge * > | parse (GNENet *net, const std::string &value) |
| template<> | |
| std::vector< GNELane * > | parse (GNENet *net, const std::string &value) |
| template<> | |
| std::string | parseIDs (const std::vector< GNEEdge *> &ACs) |
| template<> | |
| std::string | parseIDs (const std::vector< GNELane *> &ACs) |
| bool | unreferenced () |
| check if object ins't referenced More... | |
| virtual | ~GNEAttributeCarrier () |
| Destructor. More... | |
This functions has to be implemented in all GNEAttributeCarriers | |
select attribute carrier using GUIGlobalSelection | |
| virtual void | selectAttributeCarrier (bool changeFlag=true)=0 |
| virtual void | unselectAttributeCarrier (bool changeFlag=true)=0 |
| unselect attribute carrier using GUIGlobalSelection More... | |
| virtual bool | isAttributeCarrierSelected () const =0 |
| check if attribute carrier is selected More... | |
| virtual std::string | getAttribute (SumoXMLAttr key) const =0 |
| virtual void | setAttribute (SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)=0 |
| virtual bool | isValid (SumoXMLAttr key, const std::string &value)=0 |
| virtual std::string | getPopUpID () const =0 |
| get PopPup ID (Used in AC Hierarchy) More... | |
| virtual std::string | getHierarchyName () const =0 |
| get Hierarchy Name (Used in AC Hierarchy) More... | |
This functions related with generic parameters has to be implemented in all GNEAttributeCarriers | |
| virtual bool | addGenericParameter (const std::string &key, const std::string &value)=0 |
| add generic parameter More... | |
| virtual bool | removeGenericParameter (const std::string &key)=0 |
| remove generic parameter More... | |
| virtual bool | updateGenericParameter (const std::string &oldKey, const std::string &newKey)=0 |
| update generic parameter More... | |
| virtual bool | updateGenericParameterValue (const std::string &key, const std::string &newValue)=0 |
| update value generic parameter More... | |
| virtual std::string | getGenericParametersStr () const =0 |
| return generic parameters in string format More... | |
| virtual std::vector< std::pair< std::string, std::string > > | getGenericParameters () const =0 |
| return generic parameters as vector of pairs format More... | |
| virtual void | setGenericParametersStr (const std::string &value)=0 |
| set generic parameters in string format More... | |
Static Public Member Functions | |
| static std::vector< SumoXMLTag > | allowedAdditionalTags (bool onlyDrawables) |
| get all editable for tag additional elements More... | |
| static std::vector< SumoXMLTag > | allowedNetElementsTags (bool onlyDrawables) |
| get all editable for tag net elements More... | |
| static std::vector< SumoXMLTag > | allowedShapeTags (bool onlyDrawables) |
| get all editable for tag shape elements More... | |
| static std::vector< SumoXMLTag > | allowedTags (bool onlyDrawables) |
| get all editable for tag elements of all types More... | |
| template<typename T > | |
| static bool | canParse (const std::string &string) |
| true if a value of type T can be parsed from string More... | |
| template<typename T > | |
| static bool | canParse (GNENet *net, const std::string &value, bool report) |
| true if a value of type T can be parsed from string More... | |
| static int | getCircleResolution (const GUIVisualizationSettings &settings) |
| function to calculate circle resolution for all circles drawn in drawGL(...) functions More... | |
| static int | getHigherNumberOfAttributes () |
| return the number of attributes of the tag with the most highter number of attributes More... | |
| static const TagValues & | getTagProperties (SumoXMLTag tag) |
| get Tag Properties More... | |
| static bool | isGenericParametersValid (const std::string &value) |
| check if given string can be parsed to a map/list of generic parameters More... | |
| template<typename T > | |
| static T | parse (const std::string &string) |
| parses a value of type T from string (used for basic types: int, double, bool, etc.) More... | |
| template<typename T > | |
| static T | parse (GNENet *net, const std::string &value) |
| parses a complex value of type T from string (use for list of edges, list of lanes, etc.) More... | |
| template<typename T > | |
| static T | parseAttributeFromXML (const SUMOSAXAttributes &attrs, const std::string &objectID, const SumoXMLTag tag, const SumoXMLAttr attribute, bool &abort) |
| Parse attribute from XML and show warnings if there are problems parsing it. More... | |
| template<typename T > | |
| static std::string | parseIDs (const std::vector< T > &ACs) |
| parses a list of specific Attribute Carriers into a string of IDs More... | |
| static bool | parseStringToANDBool (const std::string &string) |
| parse a string of booleans (1 0 1 1....) using AND operation More... | |
Static Public Attributes | |
| static const double | INVALID_POSITION = -1000000 |
| default value for invalid positions (used by POIs and Polygons) More... | |
Certain attributes and ACs (for example, connections) can be either loaded or guessed. The following static variables are used to remark it. | |
feature is still unchanged after being loaded (implies approval) | |
| static const std::string | FEATURE_LOADED = "loaded" |
| static const std::string | FEATURE_GUESSED = "guessed" |
| feature has been reguessed (may still be unchanged be we can't tell (yet) More... | |
| static const std::string | FEATURE_MODIFIED = "modified" |
| feature has been manually modified (implies approval) More... | |
| static const std::string | FEATURE_APPROVED = "approved" |
| feature has been approved but not changed (i.e. after being reguessed) More... | |
Protected Member Functions | |
| GNEAttributeCarrier (const GNEAttributeCarrier &)=delete | |
| Invalidated copy constructor. More... | |
| virtual void | mouseOverObject (const GUIVisualizationSettings &s) const =0 |
| method for check if mouse is over objects More... | |
| GNEAttributeCarrier & | operator= (const GNEAttributeCarrier &src)=delete |
| Invalidated assignment operator. More... | |
| virtual void | setAttribute (SumoXMLAttr key, const std::string &value)=0 |
| method for setting the attribute and nothing else (used in GNEChange_Attribute) More... | |
Static Protected Member Functions | |
| static void | fillAttributeCarriers () |
| fill Attribute Carriers More... | |
Protected Attributes | |
| bool | mySelected |
| boolean to check if this AC is selected (instead of GUIGlObjectStorage) More... | |
| const SumoXMLTag | myTag |
| the xml tag to which this attribute carrier corresponds More... | |
Static Protected Attributes | |
| static std::map< SumoXMLTag, TagValues > | myAllowedTags |
| map with the tags values More... | |
Friends | |
| class | GNEChange_Attribute |
| declare friend class More... | |
Abstract Base class for gui objects which carry attributes inherits from GNEReferenceCounter for convenience
Definition at line 62 of file GNEAttributeCarrier.h.
struct with the tag Properties
Definition at line 68 of file GNEAttributeCarrier.h.
Definition at line 202 of file GNEAttributeCarrier.h.
| GNEAttributeCarrier::GNEAttributeCarrier | ( | SumoXMLTag | tag | ) |
Constructor.
| [in] | tag | SUMO Tag assigned to this type of object |
| [in] | icon | GUIIcon associated to the type of object |
Definition at line 582 of file GNEAttributeCarrier.cpp.
|
inlinevirtual |
Destructor.
Definition at line 363 of file GNEAttributeCarrier.h.
References getAttribute(), getHierarchyName(), getPopUpID(), isAttributeCarrierSelected(), isValid(), selectAttributeCarrier(), setAttribute(), and unselectAttributeCarrier().
|
protecteddelete |
Invalidated copy constructor.
|
pure virtual |
add generic parameter
Implemented in GNEAdditional, GNEEdge, GNEJunction, GNEPOI, GNELane, GNEPoly, GNEShape, GNENetElement, GNEConnection, and GNECrossing.
|
static |
get all editable for tag additional elements
Definition at line 856 of file GNEAttributeCarrier.cpp.
References fillAttributeCarriers(), and myAllowedTags.
Referenced by GNEAdditionalFrame::AdditionalSelector::AdditionalSelector(), GNENet::computeEverything(), GNESelectorFrame::MatchAttribute::enableMatchAttribute(), GNENet::GNENet(), GNEAdditionalFrame::AdditionalSelector::onCmdselectAttributeCarrier(), and GNESelectorFrame::MatchAttribute::onCmdSelMBTag().
|
static |
get all editable for tag net elements
Definition at line 839 of file GNEAttributeCarrier.cpp.
References fillAttributeCarriers(), and myAllowedTags.
Referenced by GNESelectorFrame::MatchAttribute::enableMatchAttribute(), and GNESelectorFrame::MatchAttribute::onCmdSelMBTag().
|
static |
get all editable for tag shape elements
Definition at line 873 of file GNEAttributeCarrier.cpp.
References fillAttributeCarriers(), and myAllowedTags.
Referenced by GNESelectorFrame::MatchAttribute::enableMatchAttribute(), GNEPolygonFrame::ShapeSelector::onCmdselectAttributeCarrier(), GNESelectorFrame::MatchAttribute::onCmdSelMBTag(), and GNEPolygonFrame::ShapeSelector::ShapeSelector().
|
static |
get all editable for tag elements of all types
Definition at line 822 of file GNEAttributeCarrier.cpp.
References fillAttributeCarriers(), and myAllowedTags.
|
inlinestatic |
true if a value of type T can be parsed from string
Definition at line 480 of file GNEAttributeCarrier.h.
References parse().
Referenced by GNECrossing::isValid(), GNECalibratorRoute::isValid(), GNEAdditionalHandler::parseAndBuildCalibratorRoute(), GNEAdditionalHandler::parseAndBuildRerouter(), and GNEAdditionalHandler::parseAndBuildVariableSpeedSign().
|
inlinestatic |
true if a value of type T can be parsed from string
Definition at line 499 of file GNEAttributeCarrier.h.
References parse(), parseIDs(), parseStringToANDBool(), and WRITE_WARNING.
|
inlineinherited |
Decrease reference.
Definition at line 55 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), GNEReferenceCounter::myCount, toString(), UNUSED_PARAMETER, and WRITE_ERROR.
Referenced by GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GNEEdge::removeConnection(), GNEEdge::removeLane(), GNEInspectorFrame::TemplateEditor::setEdgeTemplate(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TLS::~GNEChange_TLS(), GNENet::~GNENet(), and GNEInspectorFrame::TemplateEditor::~TemplateEditor().
|
staticprotected |
fill Attribute Carriers
Definition at line 949 of file GNEAttributeCarrier.cpp.
References ATTRPROPERTY_ANGLE, ATTRPROPERTY_BOOL, ATTRPROPERTY_COLOR, ATTRPROPERTY_COMBINABLE, ATTRPROPERTY_DEFAULTVALUE, ATTRPROPERTY_DISCRETE, ATTRPROPERTY_FILENAME, ATTRPROPERTY_FLOAT, ATTRPROPERTY_INT, ATTRPROPERTY_LIST, ATTRPROPERTY_NONEDITABLE, ATTRPROPERTY_OPTIONAL, ATTRPROPERTY_POSITION, ATTRPROPERTY_POSITIVE, ATTRPROPERTY_PROBABILITY, ATTRPROPERTY_STRING, ATTRPROPERTY_SYNONYM, ATTRPROPERTY_TIME, ATTRPROPERTY_UNIQUE, ATTRPROPERTY_VCLASS, SUMOXMLDefinitions::CarFollowModels, Shape::DEFAULT_ANGLE, Shape::DEFAULT_IMG_FILE, Shape::DEFAULT_IMG_HEIGHT, Shape::DEFAULT_IMG_WIDTH, Shape::DEFAULT_LAYER, Shape::DEFAULT_LAYER_POI, Shape::DEFAULT_RELATIVEPATH, Shape::DEFAULT_TYPE, DEFAULT_VTYPE_ID, OptionsCont::getFloat(), OptionsCont::getInt(), OptionsCont::getOptions(), StringBijection< T >::getStrings(), GNE_ATTR_BIDIR, GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, ICON_ACCESS, ICON_BUSSTOP, ICON_CALIBRATOR, ICON_CHARGINGSTATION, ICON_CLOSINGLANEREROUTE, ICON_CLOSINGREROUTE, ICON_CONNECTION, ICON_CONTAINERSTOP, ICON_CROSSING, ICON_DESTPROBREROUTE, ICON_E1, ICON_E1INSTANT, ICON_E2, ICON_E3, ICON_E3ENTRY, ICON_E3EXIT, ICON_EDGE, ICON_FLOW, ICON_JUNCTION, ICON_LANE, ICON_LOCATEPOI, ICON_LOCATEPOLY, ICON_PARKINGAREA, ICON_PARKINGSPACE, ICON_PARKINGZONEREROUTE, ICON_REROUTER, ICON_REROUTERINTERVAL, ICON_ROUTE, ICON_ROUTEPROBE, ICON_ROUTEPROBREROUTE, ICON_VAPORIZER, ICON_VARIABLESPEEDSIGN, ICON_VSSSTEP, ICON_VTYPE, SUMOXMLDefinitions::LaneChangeModels, SUMOXMLDefinitions::LaneSpreadFunctions, SUMOXMLDefinitions::LateralAlignments, myAllowedTags, NODETYPE_DEAD_END_DEPRECATED, SUMOXMLDefinitions::NodeTypes, SUMO_ATTR_ACCEL, SUMO_ATTR_ACCELERATION, SUMO_ATTR_ALLOW, SUMO_ATTR_ANGLE, SUMO_ATTR_ARRIVALLANE, SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_ARRIVALPOS_LAT, SUMO_ATTR_ARRIVALSPEED, SUMO_ATTR_BEGIN, SUMO_ATTR_BOARDING_DURATION, SUMO_ATTR_CAR_FOLLOW_MODEL, SUMO_ATTR_CHARGEDELAY, SUMO_ATTR_CHARGEINTRANSIT, SUMO_ATTR_CHARGINGPOWER, SUMO_ATTR_COLOR, SUMO_ATTR_CONT, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_CONTAINER_NUMBER, SUMO_ATTR_CONTPOS, SUMO_ATTR_CUSTOMSHAPE, SUMO_ATTR_DECEL, SUMO_ATTR_DEPARTLANE, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_DEPARTPOS_LAT, SUMO_ATTR_DEPARTSPEED, SUMO_ATTR_DISALLOW, SUMO_ATTR_EDGE, SUMO_ATTR_EDGES, SUMO_ATTR_EFFICIENCY, SUMO_ATTR_EMISSIONCLASS, SUMO_ATTR_END, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_ENDPOS, SUMO_ATTR_FILE, SUMO_ATTR_FILL, SUMO_ATTR_FREQUENCY, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_FROM, SUMO_ATTR_FROM_LANE, SUMO_ATTR_GUISHAPE, SUMO_ATTR_HALTING_SPEED_THRESHOLD, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_HEIGHT, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_IMPATIENCE, SUMO_ATTR_INDEX, SUMO_ATTR_JAM_DIST_THRESHOLD, SUMO_ATTR_KEEP_CLEAR, SUMO_ATTR_LANE, SUMO_ATTR_LANE_CHANGE_MODEL, SUMO_ATTR_LANES, SUMO_ATTR_LATALIGNMENT, SUMO_ATTR_LAYER, SUMO_ATTR_LENGTH, SUMO_ATTR_LINE, SUMO_ATTR_LINES, SUMO_ATTR_LOADING_DURATION, SUMO_ATTR_MAXSPEED, SUMO_ATTR_MAXSPEED_LAT, SUMO_ATTR_MINGAP, SUMO_ATTR_MINGAP_LAT, SUMO_ATTR_NAME, SUMO_ATTR_NUMLANES, SUMO_ATTR_OFF, SUMO_ATTR_OUTPUT, SUMO_ATTR_PARKING, SUMO_ATTR_PASS, SUMO_ATTR_PERSON_CAPACITY, SUMO_ATTR_PERSON_NUMBER, SUMO_ATTR_POSITION, SUMO_ATTR_POSITION_LAT, SUMO_ATTR_PRIORITY, SUMO_ATTR_PROB, SUMO_ATTR_RADIUS, SUMO_ATTR_RELATIVEPATH, SUMO_ATTR_REROUTE, SUMO_ATTR_ROADSIDE_CAPACITY, SUMO_ATTR_ROUTE, SUMO_ATTR_ROUTEPROBE, SUMO_ATTR_SHAPE, SUMO_ATTR_SIGMA, SUMO_ATTR_SPEED, SUMO_ATTR_SPEEDDEV, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_SPREADTYPE, SUMO_ATTR_STARTPOS, SUMO_ATTR_TAU, SUMO_ATTR_TIME, SUMO_ATTR_TLID, SUMO_ATTR_TLLINKINDEX, SUMO_ATTR_TLLINKINDEX2, SUMO_ATTR_TLTYPE, SUMO_ATTR_TO, SUMO_ATTR_TO_LANE, SUMO_ATTR_TYPE, SUMO_ATTR_UNCONTROLLED, SUMO_ATTR_VCLASS, SUMO_ATTR_VEHSPERHOUR, SUMO_ATTR_VISIBILITY_DISTANCE, SUMO_ATTR_VISIBLE, SUMO_ATTR_VTYPES, SUMO_ATTR_WIDTH, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_Z, SUMO_TAG_ACCESS, SUMO_TAG_BUS_STOP, SUMO_TAG_CALIBRATOR, SUMO_TAG_CHARGING_STATION, SUMO_TAG_CLOSING_LANE_REROUTE, SUMO_TAG_CLOSING_REROUTE, SUMO_TAG_CONNECTION, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_CROSSING, SUMO_TAG_DEST_PROB_REROUTE, SUMO_TAG_DET_ENTRY, SUMO_TAG_DET_EXIT, SUMO_TAG_E1DETECTOR, SUMO_TAG_E2DETECTOR, SUMO_TAG_E3DETECTOR, SUMO_TAG_EDGE, SUMO_TAG_FLOW, SUMO_TAG_INSTANT_INDUCTION_LOOP, SUMO_TAG_INTERVAL, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, SUMO_TAG_LANECALIBRATOR, SUMO_TAG_NOTHING, SUMO_TAG_PARKING_AREA, SUMO_TAG_PARKING_SPACE, SUMO_TAG_PARKING_ZONE_REROUTE, SUMO_TAG_POI, SUMO_TAG_POILANE, SUMO_TAG_POLY, SUMO_TAG_REROUTER, SUMO_TAG_ROUTE, SUMO_TAG_ROUTE_PROB_REROUTE, SUMO_TAG_ROUTEPROBE, SUMO_TAG_STEP, SUMO_TAG_VAPORIZER, SUMO_TAG_VSS, SUMO_TAG_VTYPE, SumoVehicleClassStrings, SumoVehicleShapeStrings, TAGPROPERTY_ADDITIONAL, TAGPROPERTY_AUTOMATICSORTING, TAGPROPERTY_BLOCKMOVEMENT, TAGPROPERTY_BLOCKSHAPE, TAGPROPERTY_CLOSESHAPE, TAGPROPERTY_DETECTOR, TAGPROPERTY_DIALOG, TAGPROPERTY_DRAWABLE, TAGPROPERTY_GEOPOSITION, TAGPROPERTY_GEOSHAPE, TAGPROPERTY_MINIMUMCHILDS, TAGPROPERTY_NETELEMENT, TAGPROPERTY_PARENT, TAGPROPERTY_REPARENT, TAGPROPERTY_SELECTABLE, TAGPROPERTY_SHAPE, TAGPROPERTY_STOPPINGPLACE, TAGPROPERTY_SYNONYM, TAGPROPERTY_WRITECHILDSSEPARATE, toString(), SUMOXMLDefinitions::TrafficLightTypes, NBEdge::UNSPECIFIED_CONTPOS, NBEdge::UNSPECIFIED_SPEED, and NBEdge::UNSPECIFIED_VISIBILITY_DISTANCE.
Referenced by allowedAdditionalTags(), allowedNetElementsTags(), allowedShapeTags(), allowedTags(), getHigherNumberOfAttributes(), getIcon(), getTagProperties(), and parseAttributeFromXML().
|
pure virtual |
Implemented in GNEAdditional, GNEEdge, GNEJunction, GNEPOI, GNELane, GNEPoly, GNEShape, GNENetElement, GNEConnection, GNEDetector, GNECalibrator, GNECalibratorVehicleType, GNEStoppingPlace, GNEParkingSpace, GNEAccess, GNECalibratorFlow, GNERerouter, GNEVariableSpeedSign, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEClosingLaneReroute, GNEClosingReroute, GNEParkingAreaReroute, GNEDestProbReroute, GNERerouterInterval, GNERouteProbReroute, GNECrossing, GNEDetectorE3, GNERouteProbe, GNEVaporizer, GNEDetectorE2, GNEParkingArea, GNEBusStop, GNEContainerStop, GNEDetectorE1, GNEDetectorEntry, GNEDetectorExit, GNEDetectorE1Instant, and GNEChargingStation.
Referenced by getAttributeForSelection(), getID(), GNEDialog_AllowDisallow::onCmdReset(), GNENet::replaceInListAttribute(), and ~GNEAttributeCarrier().
|
virtual |
method for getting the attribute in the context of object selection
Reimplemented in GNEEdge, and GNELane.
Definition at line 776 of file GNEAttributeCarrier.cpp.
References getAttribute().
|
static |
function to calculate circle resolution for all circles drawn in drawGL(...) functions
Definition at line 935 of file GNEAttributeCarrier.cpp.
References GUIVisualizationSettings::drawForSelecting, and GUIVisualizationSettings::scale.
Referenced by GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEBusStop::drawGL(), GNEParkingArea::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNEPoly::drawGL(), GNEEdge::drawGL(), and parseAttributeFromXML().
|
pure virtual |
return generic parameters as vector of pairs format
Implemented in GNEAdditional, GNEEdge, GNEJunction, GNEPOI, GNELane, GNEPoly, GNEShape, GNENetElement, GNEConnection, and GNECrossing.
Referenced by GNEFrame::GenericParametersEditor::showGenericParametersEditor().
|
pure virtual |
return generic parameters in string format
Implemented in GNEAdditional, GNEEdge, GNEJunction, GNEPOI, GNELane, GNEPoly, GNEShape, GNENetElement, GNEConnection, and GNECrossing.
|
pure virtual |
get Hierarchy Name (Used in AC Hierarchy)
Implemented in GNEAdditional, GNEShape, GNENetElement, GNEDetector, GNECalibrator, GNECalibratorVehicleType, GNEStoppingPlace, GNEParkingSpace, GNECalibratorFlow, GNEAccess, GNERerouter, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEVariableSpeedSign, GNEClosingLaneReroute, GNEClosingReroute, GNEParkingAreaReroute, GNEDestProbReroute, GNERerouterInterval, GNERouteProbReroute, GNEDetectorE3, GNERouteProbe, and GNEVaporizer.
Referenced by GNEFrame::ACHierarchy::addACIntoList(), and ~GNEAttributeCarrier().
|
static |
return the number of attributes of the tag with the most highter number of attributes
Definition at line 890 of file GNEAttributeCarrier.cpp.
References fillAttributeCarriers(), MAX2(), and myAllowedTags.
Referenced by GNEAdditionalFrame::AdditionalAttributes::AdditionalAttributes(), GNEInspectorFrame::AttributesEditor::AttributesEditor(), and GNEPolygonFrame::ShapeAttributes::ShapeAttributes().
| FXIcon * GNEAttributeCarrier::getIcon | ( | ) | const |
get FXIcon associated to this AC
Definition at line 788 of file GNEAttributeCarrier.cpp.
References fillAttributeCarriers(), GUIIconSubSys::getIcon(), myAllowedTags, and myTag.
Referenced by GNEFrame::ACHierarchy::addACIntoList(), GNEFrame::ACHierarchy::createPopUpMenu(), GNEAdditional::getPopUpMenu(), and GNEFrame::ACHierarchy::showAttributeCarrierParents().
|
virtual |
function to support debugging
Implements GNEReferenceCounter.
Definition at line 798 of file GNEAttributeCarrier.cpp.
References getAttribute(), and SUMO_ATTR_ID.
Referenced by GNEAdditionalFrame::addAdditional(), GNENetElement::addAdditionalChild(), GNEAdditional::addAdditionalChild(), GNENetElement::addAdditionalParent(), GNECrossingFrame::addCrossing(), GNEAdditional::addEdgeChild(), GNEJunction::addIncomingGNEEdge(), GNEAdditional::addLaneChild(), GNEJunction::addOutgoingGNEEdge(), GNENet::addPOI(), GNENet::addReversedEdge(), GNELane::addShapeChild(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildAdditional(), GNEAdditionalHandler::buildRerouterInterval(), GNENet::changeShapeID(), GNENet::computeEverything(), GNENet::deleteAdditional(), GNEAdditional::generateAdditionalChildID(), GNEAdditionalFrame::generateID(), GNEChargingStation::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorEntry::getAttribute(), GNEDetectorExit::getAttribute(), GNEContainerStop::getAttribute(), GNEBusStop::getAttribute(), GNEParkingArea::getAttribute(), GNEDetectorE2::getAttribute(), GNERouteProbe::getAttribute(), GNEDestProbReroute::getAttribute(), GNERerouterInterval::getAttribute(), GNERouteProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNECalibratorFlow::getAttribute(), GNEAccess::getAttribute(), GNEParkingSpace::getAttribute(), GNECalibrator::getAttribute(), GNEConnection::getAttribute(), GNEJunction::getAttribute(), GNEDestProbReroute::getHierarchyName(), GNEParkingAreaReroute::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNEClosingReroute::getHierarchyName(), GNEAccess::getHierarchyName(), GNERerouterInterval::getParentName(), GNERouteProbReroute::getParentName(), GNEDestProbReroute::getParentName(), GNEParkingAreaReroute::getParentName(), GNEClosingLaneReroute::getParentName(), GNEClosingReroute::getParentName(), GNEVariableSpeedSignStep::getParentName(), GNEAccess::getParentName(), GNECalibratorFlow::getParentName(), GNEDetectorE3::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNECalibratorRoute::getPopUpID(), GNERerouter::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNECalibratorVehicleType::getPopUpID(), GNECalibrator::getPopUpID(), GNEDetector::getPopUpID(), GNENetElement::getPopUpID(), GNEShape::getPopUpID(), GNEAdditionalHandler::getPosition(), GNEAdditionalHandler::GNEAdditionalHandler(), GNENet::GNENet(), GNENet::insertAdditional(), GNENet::insertShape(), GNEAdditional::isRouteValid(), GNEAccess::isValid(), GNENet::joinSelectedJunctions(), GNECrossingFrame::crossingParameters::markEdge(), GNENet::mergeJunctions(), GNERerouterDialog::onCmdAccept(), GNECalibratorRouteDialog::onCmdSetVariable(), GNEViewNet::onCmdTransformPOI(), GNEAdditionalHandler::parseAndBuildAccess(), GNEAdditionalHandler::parseAndBuildBusStop(), GNEAdditionalHandler::parseAndBuildCalibrator(), GNEAdditionalHandler::parseAndBuildCalibratorFlow(), GNEAdditionalHandler::parseAndBuildCalibratorRoute(), GNEAdditionalHandler::parseAndBuildCalibratorVehicleType(), GNEAdditionalHandler::parseAndBuildChargingStation(), GNEAdditionalHandler::parseAndBuildContainerStop(), GNEAdditionalHandler::parseAndBuildDetectorE1(), GNEAdditionalHandler::parseAndBuildDetectorE1Instant(), GNEAdditionalHandler::parseAndBuildDetectorE2(), GNEAdditionalHandler::parseAndBuildDetectorE3(), GNEAdditionalHandler::parseAndBuildDetectorEntry(), GNEAdditionalHandler::parseAndBuildDetectorExit(), GNEAdditionalHandler::parseAndBuildParkingArea(), GNEAdditionalHandler::parseAndBuildParkingSpace(), GNEAdditionalHandler::parseAndBuildRerouter(), GNEAdditionalHandler::parseAndBuildRerouterClosingLaneReroute(), GNEAdditionalHandler::parseAndBuildRerouterClosingReroute(), GNEAdditionalHandler::parseAndBuildRerouterDestProbReroute(), GNEAdditionalHandler::parseAndBuildRerouterInterval(), GNEAdditionalHandler::parseAndBuildRerouterParkingAreaReroute(), GNEAdditionalHandler::parseAndBuildRerouterRouteProbReroute(), GNEAdditionalHandler::parseAndBuildRouteProbe(), GNEAdditionalHandler::parseAndBuildVaporizer(), GNEAdditionalHandler::parseAndBuildVariableSpeedSign(), GNEAdditionalHandler::parseAndBuildVariableSpeedSignStep(), GNEPolygonFrame::processClick(), GNEViewNet::SelectingArea::processSelection(), GNEChange_Shape::redo(), GNEChange_Junction::redo(), GNEChange_TLS::redo(), GNEChange_Connection::redo(), GNEChange_Additional::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), GNEChange_Attribute::redo(), GNENetElement::removeAdditionalChild(), GNEAdditional::removeAdditionalChild(), GNENetElement::removeAdditionalParent(), GNEDeleteFrame::removeAttributeCarrier(), GNEEdge::removeConnection(), GNEAdditional::removeEdgeChild(), GNEJunction::removeEdgeFromCrossings(), GNEEdge::removeEdgeOfAdditionalParents(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::removeLane(), GNEAdditional::removeLaneChild(), GNELane::removeLaneOfAdditionalParents(), GNEJunction::removeOutgoingGNEEdge(), GNENet::removeShape(), GNELane::removeShapeChild(), GNENet::renameJunction(), GNENet::replaceIncomingEdge(), GNENet::retrieveEdge(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNENet::reverseEdge(), GNEEdge::setAttribute(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNEInspectorFrame::NeteditAttributesEditor::showNeteditAttributesEditor(), GNEEdge::smooth(), GNEEdge::smoothElevation(), GNEEdge::smoothShape(), GNENet::splitEdge(), GNENet::splitJunction(), GNEChange_Shape::undo(), GNEChange_Junction::undo(), GNEChange_TLS::undo(), GNEChange_Additional::undo(), GNEChange_Connection::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEChange_Attribute::undo(), GNENet::updateAdditionalID(), GNECalibratorRouteDialog::updateCalibratorRouteValues(), GNEAdditional::writeAdditional(), GNEPOI::writeShape(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TLS::~GNEChange_TLS(), and GNEJunction::~GNEJunction().
|
pure virtual |
get PopPup ID (Used in AC Hierarchy)
Implemented in GNEAdditional, GNEShape, GNENetElement, GNEDetector, GNECalibrator, GNECalibratorVehicleType, GNEStoppingPlace, GNEParkingSpace, GNECalibratorFlow, GNEAccess, GNERerouter, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEVariableSpeedSign, GNEClosingLaneReroute, GNEClosingReroute, GNEParkingAreaReroute, GNEDestProbReroute, GNERerouterInterval, GNERouteProbReroute, GNEDetectorE3, GNERouteProbe, and GNEVaporizer.
Referenced by GNEFrame::ACHierarchy::createPopUpMenu(), and ~GNEAttributeCarrier().
| SumoXMLTag GNEAttributeCarrier::getTag | ( | ) | const |
get XML Tag assigned to this object
Definition at line 782 of file GNEAttributeCarrier.cpp.
References myTag.
Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNEAdditionalFrame::addAdditional(), GNENetElement::addAdditionalChild(), GNEAdditional::addAdditionalChild(), GNENetElement::addAdditionalParent(), GNEAdditional::addEdgeChild(), GNEJunction::addIncomingGNEEdge(), GNEAdditional::addLaneChild(), GNEJunction::addOutgoingGNEEdge(), GNENet::addPOI(), GNELane::addShapeChild(), GNEViewNet::beginMoveSelection(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildCalibratorRoute(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::builDestProbReroute(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNEAdditionalHandler::buildVehicleType(), GNEAdditionalHandler::builParkingAreaReroute(), GNEAdditional::changeAdditionalID(), GNEAdditional::changeEdge(), GNEAdditional::changeFirstAdditionalParent(), GNEAdditional::changeLane(), GNEAdditional::changeSecondAdditionalParent(), GNENet::changeShapeID(), GNEAdditional::checkAdditionalChildRestriction(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNEDetectorE3::commitGeometryMoving(), GNEVariableSpeedSign::commitGeometryMoving(), GNEAccess::commitGeometryMoving(), GNERerouter::commitGeometryMoving(), GNEParkingSpace::commitGeometryMoving(), GNEStoppingPlace::commitGeometryMoving(), GNEDetector::commitGeometryMoving(), GNEPOI::commitGeometryMoving(), GNEJunction::commitGeometryMoving(), GNEPoly::commitShapeChange(), GNEEdge::commitShapeChange(), GNEEdge::commitShapeEndChange(), GNEEdge::commitShapeStartChange(), GNENet::computeEverything(), GNENet::deleteAdditional(), GNENet::deleteShape(), GNEAdditional::drawLockIcon(), GNEChargingStation::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorEntry::getAttribute(), GNEDetectorExit::getAttribute(), GNEBusStop::getAttribute(), GNEContainerStop::getAttribute(), GNEParkingArea::getAttribute(), GNEDetectorE2::getAttribute(), GNEVaporizer::getAttribute(), GNERouteProbe::getAttribute(), GNEDetectorE3::getAttribute(), GNERerouterInterval::getAttribute(), GNERouteProbReroute::getAttribute(), GNECrossing::getAttribute(), GNEDestProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNECalibratorRoute::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEAccess::getAttribute(), GNECalibratorFlow::getAttribute(), GNERerouter::getAttribute(), GNEParkingSpace::getAttribute(), GNECalibratorVehicleType::getAttribute(), GNECalibrator::getAttribute(), GNEConnection::getAttribute(), GNEPoly::getAttribute(), GNELane::getAttribute(), GNEPOI::getAttribute(), GNEJunction::getAttribute(), GNEEdge::getAttribute(), GNEVaporizer::getHierarchyName(), GNERouteProbe::getHierarchyName(), GNEDetectorE3::getHierarchyName(), GNEDestProbReroute::getHierarchyName(), GNERerouterInterval::getHierarchyName(), GNERouteProbReroute::getHierarchyName(), GNEParkingAreaReroute::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNEClosingReroute::getHierarchyName(), GNEVariableSpeedSign::getHierarchyName(), GNECalibratorRoute::getHierarchyName(), GNEVariableSpeedSignStep::getHierarchyName(), GNEAccess::getHierarchyName(), GNERerouter::getHierarchyName(), GNECalibratorFlow::getHierarchyName(), GNEParkingSpace::getHierarchyName(), GNEStoppingPlace::getHierarchyName(), GNECalibratorVehicleType::getHierarchyName(), GNECalibrator::getHierarchyName(), GNEDetector::getHierarchyName(), GNENetElement::getHierarchyName(), GNEShape::getHierarchyName(), GNENetElement::getParameterWindow(), GNEAdditional::getParameterWindow(), GNEVaporizer::getPopUpID(), GNERouteProbe::getPopUpID(), GNEDetectorE3::getPopUpID(), GNEDestProbReroute::getPopUpID(), GNERerouterInterval::getPopUpID(), GNERouteProbReroute::getPopUpID(), GNEParkingAreaReroute::getPopUpID(), GNEClosingLaneReroute::getPopUpID(), GNEClosingReroute::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNECalibratorRoute::getPopUpID(), GNEVariableSpeedSignStep::getPopUpID(), GNEAccess::getPopUpID(), GNERerouter::getPopUpID(), GNECalibratorFlow::getPopUpID(), GNEParkingSpace::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNECalibratorVehicleType::getPopUpID(), GNECalibrator::getPopUpID(), GNEDetector::getPopUpID(), GNENetElement::getPopUpID(), GNEShape::getPopUpID(), GNEAdditional::getPopUpMenu(), GNEEdge::getRouteProbeRelativePosition(), GNEAdditional::GNEAdditional(), GNEAdditionalHandler::GNEAdditionalHandler(), GNENet::GNENet(), GNEViewNet::hotkeyEnter(), GNENet::insertAdditional(), GNENet::insertShape(), GNEInspectorFrame::inspectElement(), GNEAdditional::isRouteValid(), GNEChargingStation::isValid(), GNEDetectorE1Instant::isValid(), GNEDetectorE1::isValid(), GNEDetectorEntry::isValid(), GNEDetectorExit::isValid(), GNEBusStop::isValid(), GNEContainerStop::isValid(), GNEParkingArea::isValid(), GNEDetectorE2::isValid(), GNEVaporizer::isValid(), GNERouteProbe::isValid(), GNEDetectorE3::isValid(), GNEDestProbReroute::isValid(), GNECrossing::isValid(), GNERerouterInterval::isValid(), GNERouteProbReroute::isValid(), GNEParkingAreaReroute::isValid(), GNEClosingReroute::isValid(), GNEClosingLaneReroute::isValid(), GNEVariableSpeedSign::isValid(), GNECalibratorRoute::isValid(), GNEVariableSpeedSignStep::isValid(), GNEAccess::isValid(), GNERerouter::isValid(), GNECalibratorFlow::isValid(), GNEParkingSpace::isValid(), GNECalibratorVehicleType::isValid(), GNECalibrator::isValid(), GNEConnection::isValid(), GNEPoly::isValid(), GNELane::isValid(), GNEPOI::isValid(), GNEJunction::isValid(), GNEEdge::isValid(), GNEAdditional::isValidAdditionalID(), GNECalibratorFlowDialog::onCmdAccept(), GNECalibratorVehicleTypeDialog::onCmdAccept(), GNECalibratorRouteDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), GNEViewNet::onCmdOpenAdditionalDialog(), GNEViewNet::onCmdTransformPOI(), GNEViewNet::onLeftBtnPress(), GNEAdditional::openAdditionalDialog(), GNEAdditionalHandler::parseGenericParameter(), GNEViewNet::SelectingArea::processSelection(), GNEChange_Junction::redo(), GNEChange_Shape::redo(), GNEChange_TLS::redo(), GNEChange_Additional::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), GNEChange_Attribute::redo(), GNEChange_Shape::redoName(), GNEChange_Additional::redoName(), GNEChange_Attribute::redoName(), GNEAdditionalFrame::removeAdditional(), GNENetElement::removeAdditionalChild(), GNEAdditional::removeAdditionalChild(), GNENetElement::removeAdditionalParent(), GNEDeleteFrame::removeAttributeCarrier(), GNEEdge::removeConnection(), GNEAdditional::removeEdgeChild(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::removeLane(), GNEAdditional::removeLaneChild(), GNEJunction::removeOutgoingGNEEdge(), GNENet::removeShape(), GNELane::removeShapeChild(), GNENet::replaceInListAttribute(), GNEAdditionalHandler::HierarchyInsertedElements::retrieveAdditionalParent(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNENet::retrieveShapes(), GNEChargingStation::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEDetectorExit::setAttribute(), GNEDetectorEntry::setAttribute(), GNEDetectorE1::setAttribute(), GNEBusStop::setAttribute(), GNEContainerStop::setAttribute(), GNEParkingArea::setAttribute(), GNEDetectorE2::setAttribute(), GNEVaporizer::setAttribute(), GNERouteProbe::setAttribute(), GNEDetectorE3::setAttribute(), GNERerouterInterval::setAttribute(), GNERouteProbReroute::setAttribute(), GNEDestProbReroute::setAttribute(), GNECrossing::setAttribute(), GNEClosingReroute::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNECalibratorRoute::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNERerouter::setAttribute(), GNEAccess::setAttribute(), GNECalibratorFlow::setAttribute(), GNEParkingSpace::setAttribute(), GNECalibratorVehicleType::setAttribute(), GNECalibrator::setAttribute(), GNEConnection::setAttribute(), GNEPoly::setAttribute(), GNEPOI::setAttribute(), GNELane::setAttribute(), GNEJunction::setAttribute(), GNEEdge::setAttribute(), GNEAdditional::setDefaultValues(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNEInspectorFrame::NeteditAttributesEditor::showNeteditAttributesEditor(), GNEAdditional::sortAdditionalChilds(), GNEChange_Shape::undo(), GNEChange_Junction::undo(), GNEChange_TLS::undo(), GNEChange_Additional::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEChange_Attribute::undo(), GNEChange_Shape::undoName(), GNEChange_Additional::undoName(), GNEChange_Attribute::undoName(), GNENet::updateAdditionalID(), GNEAdditional::writeAdditional(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), and GNEChange_TLS::~GNEChange_TLS().
|
static |
get Tag Properties
Definition at line 807 of file GNEAttributeCarrier.cpp.
References fillAttributeCarriers(), myAllowedTags, and toString().
Referenced by GNEAdditionalFrame::addAdditional(), GNEAdditional::addAdditionalChild(), GNEAdditionalFrame::AdditionalAttributes::addAttribute(), GNEPolygonFrame::ShapeAttributes::addAttribute(), GNEAdditionalFrame::AdditionalAttributes::areValuesValid(), GNEPolygonFrame::ShapeAttributes::areValuesValid(), GNEAdditional::checkAdditionalChildsOverlapping(), GNENet::computeAndUpdate(), GNENet::deleteAdditional(), GNEAdditional::drawLockIcon(), GNECrossingFrame::crossingParameters::enableCrossingParameters(), GNESelectorFrame::getMatches(), GNENetElement::getParameterWindow(), GNEAdditional::getParameterWindow(), GNEAdditional::getPopUpMenu(), GNEAdditionalFrame::AdditionalAttributeSingle::getValue(), GNEPolygonFrame::ShapeAttributeSingle::getValue(), GNEAdditional::GNEAdditional(), GNEChange_Additional::GNEChange_Additional(), GNEDialog_AllowDisallow::GNEDialog_AllowDisallow(), GNESelectorFrame::handleIDs(), GNEViewNet::hotkeyEnter(), GNENet::insertAdditional(), GNESelectorFrame::SelectionOperation::onCmdInvert(), GNEViewNet::onCmdOpenAdditionalDialog(), GNEInspectorFrame::AttributesEditor::AttributeInput::onCmdOpenAttributeDialog(), GNESelectorFrame::MatchAttribute::onCmdSelMBAttribute(), GNESelectorFrame::MatchAttribute::onCmdSelMBString(), GNESelectorFrame::MatchAttribute::onCmdSelMBTag(), GNEInspectorFrame::AttributesEditor::AttributeInput::onCmdSetAttribute(), GNEAdditionalFrame::AdditionalAttributeSingle::onCmdSetAttribute(), GNEPolygonFrame::ShapeAttributeSingle::onCmdSetAttribute(), GNEPolygonFrame::ShapeAttributeSingle::onCmdSetColorAttribute(), GNEInspectorFrame::GEOAttributesEditor::onCmdSetGEOAttribute(), GNEFrame::openHelpAttributesDialog(), parseAttributeFromXML(), GNEViewNet::SelectingArea::processSelection(), GNEInspectorFrame::AttributesEditor::refreshAttributeEditor(), GNEInspectorFrame::GEOAttributesEditor::refreshGEOAttributesEditor(), GNEInspectorFrame::NeteditAttributesEditor::refreshNeteditAttributesEditor(), GNEAdditional::removeAdditionalChild(), GNEDeleteFrame::removeAttributeCarrier(), GNENet::replaceInListAttribute(), GNENet::retrieveAttributeCarriers(), GNENet::saveAdditionalsConfirmed(), GNEAdditionalFrame::AdditionalSelector::setCurrentAdditional(), GNEPolygonFrame::ShapeSelector::setCurrentShape(), GNEAdditional::setDefaultValues(), GNEInspectorFrame::AttributesEditor::AttributeInput::showAttribute(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNEInspectorFrame::AttributesEditor::showAttributeEditor(), GNEInspectorFrame::GEOAttributesEditor::showGEOAttributesEditor(), GNEInspectorFrame::NeteditAttributesEditor::showNeteditAttributesEditor(), GNEAdditionalFrame::AdditionalAttributeSingle::showParameter(), GNEPolygonFrame::ShapeAttributeSingle::showParameter(), GNEAdditionalFrame::AdditionalAttributes::showWarningMessage(), GNEPolygonFrame::ShapeAttributes::showWarningMessage(), GNEAdditional::sortAdditionalChilds(), GNEViewNet::ObjectsUnderCursor::updateObjectUnderCursor(), and GNEAdditional::writeAdditional().
|
inlineinherited |
Increarse reference.
Definition at line 70 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), GNEReferenceCounter::myCount, toString(), and UNUSED_PARAMETER.
Referenced by GNEEdge::addLane(), GNENet::addPOI(), GNENet::addPolygon(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildCalibratorRoute(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE2(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::builDestProbReroute(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNEAdditionalHandler::buildVehicleType(), GNEAdditionalHandler::builParkingAreaReroute(), GNENet::computeEverything(), GNEChange_Attribute::GNEChange_Attribute(), GNENet::GNENet(), GNEJunction::rebuildGNECrossings(), GNENet::registerEdge(), GNENet::registerJunction(), GNEEdge::remakeGNEConnections(), and GNEInspectorFrame::TemplateEditor::setEdgeTemplate().
|
pure virtual |
check if attribute carrier is selected
Implemented in GNEAdditional, GNEShape, and GNENetElement.
Referenced by GNEViewNet::buildSelectionACPopupEntry(), GNENet::getSelectedAttributeCarriers(), GNEInspectorFrame::inspectElement(), GNEViewParent::isSelected(), GNEViewNet::onCmdAddSelected(), GNEViewNet::onCmdRemoveSelected(), GNEViewNet::onLeftBtnPress(), GNEDialogACChooser::toggleSelection(), and ~GNEAttributeCarrier().
|
static |
check if given string can be parsed to a map/list of generic parameters
Definition at line 905 of file GNEAttributeCarrier.cpp.
References StringTokenizer::hasNext(), SUMOXMLDefinitions::isValidGenericParameterKey(), SUMOXMLDefinitions::isValidGenericParameterValue(), and StringTokenizer::next().
Referenced by GNEChargingStation::isValid(), GNEDetectorE1Instant::isValid(), GNEDetectorE1::isValid(), GNEDetectorEntry::isValid(), GNEDetectorExit::isValid(), GNEContainerStop::isValid(), GNEBusStop::isValid(), GNEParkingArea::isValid(), GNEDetectorE2::isValid(), GNEVaporizer::isValid(), GNERouteProbe::isValid(), GNEDetectorE3::isValid(), GNEDestProbReroute::isValid(), GNERerouterInterval::isValid(), GNERouteProbReroute::isValid(), GNECrossing::isValid(), GNEClosingReroute::isValid(), GNEClosingLaneReroute::isValid(), GNEParkingAreaReroute::isValid(), GNECalibratorRoute::isValid(), GNEVariableSpeedSign::isValid(), GNEVariableSpeedSignStep::isValid(), GNEAccess::isValid(), GNERerouter::isValid(), GNECalibratorFlow::isValid(), GNEParkingSpace::isValid(), GNECalibratorVehicleType::isValid(), GNECalibrator::isValid(), GNEConnection::isValid(), GNEPoly::isValid(), GNELane::isValid(), GNEPOI::isValid(), GNEJunction::isValid(), GNEEdge::isValid(), and GNEFrame::GenericParametersEditor::onCmdSetGenericParameter().
|
pure virtual |
Implemented in GNEAdditional, GNEEdge, GNEJunction, GNEPOI, GNELane, GNEPoly, GNEShape, GNENetElement, GNEConnection, GNEDetector, GNECalibrator, GNECalibratorVehicleType, GNEStoppingPlace, GNEParkingSpace, GNECalibratorFlow, GNEAccess, GNERerouter, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEVariableSpeedSign, GNEClosingLaneReroute, GNEClosingReroute, GNEParkingAreaReroute, GNEDestProbReroute, GNERerouterInterval, GNERouteProbReroute, GNECrossing, GNEDetectorE3, GNERouteProbe, GNEVaporizer, GNEDetectorE2, GNEParkingArea, GNEBusStop, GNEContainerStop, GNEDetectorE1, GNEDetectorEntry, GNEDetectorExit, GNEDetectorE1Instant, and GNEChargingStation.
Referenced by ~GNEAttributeCarrier().
|
protectedpure virtual |
method for check if mouse is over objects
Implemented in GNEAdditional, GNEEdge, GNEJunction, GNELane, GNEPoly, GNEPOI, GNEShape, GNEConnection, GNENetElement, and GNECrossing.
Referenced by parseAttributeFromXML().
|
protecteddelete |
Invalidated assignment operator.
|
static |
parses a value of type T from string (used for basic types: int, double, bool, etc.)
Referenced by canParse(), and GNECalibratorRoute::isValid().
|
static |
parses a complex value of type T from string (use for list of edges, list of lanes, etc.)
| int GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 589 of file GNEAttributeCarrier.cpp.
References TplConvert::_str2int().
| double GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 595 of file GNEAttributeCarrier.cpp.
References TplConvert::_str2double().
| bool GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 601 of file GNEAttributeCarrier.cpp.
References TplConvert::_str2Bool().
| std::string GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 607 of file GNEAttributeCarrier.cpp.
| SUMOVehicleClass GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 613 of file GNEAttributeCarrier.cpp.
References SumoVehicleClassStrings, and SVC_IGNORING.
| RGBColor GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 625 of file GNEAttributeCarrier.cpp.
References RGBColor::parseColor().
| Position GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 631 of file GNEAttributeCarrier.cpp.
References GeomConvHelper::parseShapeReporting().
| SUMOVehicleShape GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 647 of file GNEAttributeCarrier.cpp.
References SumoVehicleShapeStrings, and SVS_UNKNOWN.
| std::vector<std::string> GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 657 of file GNEAttributeCarrier.cpp.
References StringTokenizer::getVector().
| std::vector<int> GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 663 of file GNEAttributeCarrier.cpp.
| std::vector<double> GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 674 of file GNEAttributeCarrier.cpp.
| std::vector<bool> GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 685 of file GNEAttributeCarrier.cpp.
| std::vector<GNEEdge*> GNEAttributeCarrier::parse | ( | GNENet * | net, |
| const std::string & | value | ||
| ) |
Definition at line 696 of file GNEAttributeCarrier.cpp.
References GNENet::retrieveEdge(), SUMO_ATTR_EDGES, SUMO_TAG_EDGE, and toString().
| std::vector<GNELane*> GNEAttributeCarrier::parse | ( | GNENet * | net, |
| const std::string & | value | ||
| ) |
Definition at line 714 of file GNEAttributeCarrier.cpp.
References GNENet::retrieveLane(), SUMO_ATTR_LANES, SUMO_TAG_LANE, and toString().
|
inlinestatic |
Parse attribute from XML and show warnings if there are problems parsing it.
Definition at line 527 of file GNEAttributeCarrier.h.
References canParseVehicleClasses(), fillAttributeCarriers(), SUMOSAXAttributes::get(), getCircleResolution(), getTagProperties(), SUMOSAXAttributes::hasAttribute(), SUMOXMLDefinitions::isValidAttribute(), SUMOXMLDefinitions::isValidFilename(), SUMOXMLDefinitions::isValidNetID(), mouseOverObject(), setAttribute(), SUMO_ATTR_EDGES, SUMO_ATTR_GUISHAPE, SUMO_ATTR_ID, SUMO_ATTR_LANES, SUMO_ATTR_NAME, SUMO_ATTR_ROUTEPROBE, SUMO_ATTR_VCLASS, toString(), and WRITE_WARNING.
|
static |
parses a list of specific Attribute Carriers into a string of IDs
Referenced by canParse(), GNECalibratorRoute::getAttribute(), GNEVariableSpeedSign::getAttribute(), and GNERerouter::getAttribute().
| std::string GNEAttributeCarrier::parseIDs | ( | const std::vector< GNEEdge *> & | ACs | ) |
Definition at line 732 of file GNEAttributeCarrier.cpp.
References joinToString().
| std::string GNEAttributeCarrier::parseIDs | ( | const std::vector< GNELane *> & | ACs | ) |
Definition at line 743 of file GNEAttributeCarrier.cpp.
References joinToString().
|
static |
parse a string of booleans (1 0 1 1....) using AND operation
Definition at line 754 of file GNEAttributeCarrier.cpp.
Referenced by canParse(), and GNEInspectorFrame::AttributesEditor::AttributeInput::showAttribute().
|
pure virtual |
remove generic parameter
Implemented in GNEAdditional, GNEEdge, GNEJunction, GNEPOI, GNELane, GNEPoly, GNEShape, GNENetElement, GNEConnection, and GNECrossing.
|
pure virtual |
Implemented in GNEAdditional, GNEShape, and GNENetElement.
Referenced by GNEViewNet::onCmdAddSelected(), GNEViewNet::onLeftBtnPress(), GNEDialogACChooser::toggleSelection(), and ~GNEAttributeCarrier().
|
pure virtual |
Implemented in GNEAdditional, GNEEdge, GNEJunction, GNEPOI, GNELane, GNEPoly, GNEShape, GNENetElement, GNEConnection, GNEDetector, GNECalibrator, GNECalibratorVehicleType, GNEStoppingPlace, GNEParkingSpace, GNECalibratorFlow, GNEAccess, GNERerouter, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEVariableSpeedSign, GNEClosingLaneReroute, GNEClosingReroute, GNEParkingAreaReroute, GNEDestProbReroute, GNERerouterInterval, GNERouteProbReroute, GNECrossing, GNEDetectorE3, GNERouteProbe, GNEVaporizer, GNEDetectorE2, GNEParkingArea, GNEBusStop, GNEContainerStop, GNEDetectorE1, GNEDetectorEntry, GNEDetectorExit, GNEDetectorE1Instant, and GNEChargingStation.
Referenced by GNEDialog_AllowDisallow::onCmdAccept(), GNEFrame::GenericParametersEditor::onCmdEditGenericParameter(), GNEFrame::GenericParametersEditor::onCmdSetGenericParameter(), parseAttributeFromXML(), GNEChange_Attribute::redo(), GNENet::replaceInListAttribute(), GNEChange_Attribute::undo(), and ~GNEAttributeCarrier().
|
protectedpure virtual |
method for setting the attribute and nothing else (used in GNEChange_Attribute)
Implemented in GNEAdditional, GNEEdge, GNEJunction, GNELane, GNEPoly, GNEPOI, GNECalibratorVehicleType, GNEShape, GNEConnection, GNENetElement, GNECalibratorFlow, GNECrossing, GNEDetector, GNECalibrator, GNEStoppingPlace, GNEParkingSpace, GNERerouter, GNEDetectorE3, GNEAccess, GNERouteProbe, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEClosingLaneReroute, GNEClosingReroute, GNEParkingAreaReroute, GNEDestProbReroute, GNERerouterInterval, GNERouteProbReroute, GNEVariableSpeedSign, GNEVaporizer, GNEDetectorE2, GNEParkingArea, GNEChargingStation, GNEBusStop, GNEContainerStop, GNEDetectorE1, GNEDetectorEntry, GNEDetectorExit, and GNEDetectorE1Instant.
|
pure virtual |
set generic parameters in string format
Implemented in GNEAdditional, GNEEdge, GNEJunction, GNEPOI, GNELane, GNEPoly, GNEShape, GNENetElement, GNEConnection, and GNECrossing.
|
inlineinherited |
check if object ins't referenced
Definition at line 81 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), and GNEReferenceCounter::myCount.
Referenced by GNEEdge::removeConnection(), GNEEdge::removeLane(), GNEInspectorFrame::TemplateEditor::setEdgeTemplate(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TLS::~GNEChange_TLS(), and GNEInspectorFrame::TemplateEditor::~TemplateEditor().
|
pure virtual |
unselect attribute carrier using GUIGlobalSelection
Implemented in GNEAdditional, GNEShape, and GNENetElement.
Referenced by GNEViewNet::onCmdRemoveSelected(), GNEViewNet::onLeftBtnPress(), GNEDialogACChooser::toggleSelection(), and ~GNEAttributeCarrier().
|
pure virtual |
update generic parameter
Implemented in GNEAdditional, GNEEdge, GNEJunction, GNEPOI, GNELane, GNEPoly, GNEShape, GNENetElement, GNEConnection, and GNECrossing.
|
pure virtual |
update value generic parameter
Implemented in GNEAdditional, GNEEdge, GNEJunction, GNEPOI, GNELane, GNEPoly, GNEShape, GNENetElement, GNEConnection, and GNECrossing.
|
friend |
declare friend class
Definition at line 64 of file GNEAttributeCarrier.h.
Referenced by GNEDetectorE3::commitGeometryMoving(), GNEVariableSpeedSign::commitGeometryMoving(), GNEAccess::commitGeometryMoving(), GNERerouter::commitGeometryMoving(), GNEParkingSpace::commitGeometryMoving(), GNEStoppingPlace::commitGeometryMoving(), GNEDetector::commitGeometryMoving(), GNEPOI::commitGeometryMoving(), GNEJunction::commitGeometryMoving(), GNEPoly::commitShapeChange(), GNEEdge::commitShapeChange(), GNEEdge::commitShapeEndChange(), GNEEdge::commitShapeStartChange(), GNEJunction::invalidateTLS(), GNEJunction::markAsModified(), GNEChargingStation::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorEntry::setAttribute(), GNEDetectorExit::setAttribute(), GNEContainerStop::setAttribute(), GNEBusStop::setAttribute(), GNEParkingArea::setAttribute(), GNEDetectorE2::setAttribute(), GNEVaporizer::setAttribute(), GNERouteProbe::setAttribute(), GNEDetectorE3::setAttribute(), GNERerouterInterval::setAttribute(), GNERouteProbReroute::setAttribute(), GNECrossing::setAttribute(), GNEDestProbReroute::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEClosingReroute::setAttribute(), GNECalibratorRoute::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNERerouter::setAttribute(), GNEAccess::setAttribute(), GNECalibratorFlow::setAttribute(), GNEParkingSpace::setAttribute(), GNECalibratorVehicleType::setAttribute(), GNECalibrator::setAttribute(), GNEConnection::setAttribute(), GNEPoly::setAttribute(), GNEPOI::setAttribute(), GNELane::setAttribute(), GNEJunction::setAttribute(), GNEEdge::setAttribute(), and GNEJunction::setLogicValid().
|
static |
feature has been approved but not changed (i.e. after being reguessed)
Definition at line 416 of file GNEAttributeCarrier.h.
|
static |
feature has been reguessed (may still be unchanged be we can't tell (yet)
Definition at line 410 of file GNEAttributeCarrier.h.
Referenced by GNEJunction::setAttribute(), and GNEEdge::setAttribute().
|
static |
Definition at line 407 of file GNEAttributeCarrier.h.
|
static |
feature has been manually modified (implies approval)
Definition at line 413 of file GNEAttributeCarrier.h.
Referenced by GNEJunction::markAsModified(), and GNEConnectorFrame::onCmdClearSelectedConnections().
|
static |
default value for invalid positions (used by POIs and Polygons)
Definition at line 523 of file GNEAttributeCarrier.h.
|
staticprotected |
map with the tags values
Definition at line 757 of file GNEAttributeCarrier.h.
Referenced by allowedAdditionalTags(), allowedNetElementsTags(), allowedShapeTags(), allowedTags(), fillAttributeCarriers(), getHigherNumberOfAttributes(), getIcon(), and getTagProperties().
|
protected |
boolean to check if this AC is selected (instead of GUIGlObjectStorage)
Definition at line 754 of file GNEAttributeCarrier.h.
Referenced by GNEAccess::drawGL(), GNEShape::drawLockIcon(), GNEAdditional::drawLockIcon(), GNENetElement::isAttributeCarrierSelected(), GNEShape::isAttributeCarrierSelected(), GNEAdditional::isAttributeCarrierSelected(), GNENetElement::selectAttributeCarrier(), GNEShape::selectAttributeCarrier(), GNEAdditional::selectAttributeCarrier(), GNENetElement::unselectAttributeCarrier(), GNEShape::unselectAttributeCarrier(), and GNEAdditional::unselectAttributeCarrier().
|
protected |
the xml tag to which this attribute carrier corresponds
Definition at line 751 of file GNEAttributeCarrier.h.