Eclipse SUMO - Simulation of Urban MObility
GNEAttributeCarrier Class Referenceabstract

#include <GNEAttributeCarrier.h>

Inheritance diagram for GNEAttributeCarrier:
Collaboration diagram for GNEAttributeCarrier:

Data Structures

class  AttributeProperties
 struct with the attribute Properties More...
 
class  TagProperties
 struct with the attribute Properties More...
 

Public Types

enum  AttrProperty {
  ATTRPROPERTY_INT = 1 << 0, ATTRPROPERTY_FLOAT = 1 << 1, ATTRPROPERTY_SUMOTIME = 1 << 2, ATTRPROPERTY_BOOL = 1 << 3,
  ATTRPROPERTY_STRING = 1 << 4, ATTRPROPERTY_POSITION = 1 << 5, ATTRPROPERTY_COLOR = 1 << 6, ATTRPROPERTY_VCLASS = 1 << 7,
  ATTRPROPERTY_POSITIVE = 1 << 8, ATTRPROPERTY_UNIQUE = 1 << 9, ATTRPROPERTY_FILENAME = 1 << 10, ATTRPROPERTY_DISCRETE = 1 << 11,
  ATTRPROPERTY_PROBABILITY = 1 << 12, ATTRPROPERTY_ANGLE = 1 << 13, ATTRPROPERTY_LIST = 1 << 14, ATTRPROPERTY_SECUENCIAL = 1 << 15,
  ATTRPROPERTY_OPTIONAL = 1 << 16, ATTRPROPERTY_DEFAULTVALUESTATIC = 1 << 17, ATTRPROPERTY_DEFAULTVALUEMUTABLE = 1 << 18, ATTRPROPERTY_VCLASSES = 1 << 19,
  ATTRPROPERTY_SYNONYM = 1 << 20, ATTRPROPERTY_RANGE = 1 << 21, ATTRPROPERTY_EXTENDED = 1 << 22, ATTRPROPERTY_UPDATEGEOMETRY = 1 << 23,
  ATTRPROPERTY_ACTIVATABLE = 1 << 24, ATTRPROPERTY_COMPLEX = 1 << 25, ATTRPROPERTY_FLOWDEFINITION = 1 << 26
}
 struct with the tag Properties More...
 
enum  TAGProperty {
  TAGPROPERTY_DRAWABLE = 1 << 0, TAGPROPERTY_BLOCKMOVEMENT = 1 << 1, TAGPROPERTY_BLOCKSHAPE = 1 << 2, TAGPROPERTY_CLOSESHAPE = 1 << 3,
  TAGPROPERTY_GEOPOSITION = 1 << 4, TAGPROPERTY_GEOSHAPE = 1 << 5, TAGPROPERTY_DIALOG = 1 << 6, TAGPROPERTY_PARENT = 1 << 7,
  TAGPROPERTY_MINIMUMCHILDREN = 1 << 8, TAGPROPERTY_REPARENT = 1 << 9, TAGPROPERTY_SYNONYM = 1 << 10, TAGPROPERTY_AUTOMATICSORTING = 1 << 11,
  TAGPROPERTY_SELECTABLE = 1 << 12, TAGPROPERTY_MASKSTARTENDPOS = 1 << 13, TAGPROPERTY_MASKXYZPOSITION = 1 << 14, TAGPROPERTY_WRITECHILDRENSEPARATE = 1 << 15,
  TAGPROPERTY_NOPARAMETERS = 1 << 16, TAGPROPERTY_RTREE = 1 << 17, TAGPROPERTY_SORTINGCHILDREN = 1 << 18, TAGPROPERTY_CENTERAFTERCREATION = 1 << 19
}
 
enum  TagType {
  TAGTYPE_NETELEMENT = 1 << 0, TAGTYPE_ADDITIONAL = 1 << 1, TAGTYPE_SHAPE = 1 << 2, TAGTYPE_DEMANDELEMENT = 1 << 3,
  TAGTYPE_TAZ = 1 << 4, TAGTYPE_STOPPINGPLACE = 1 << 5, TAGTYPE_DETECTOR = 1 << 6, TAGTYPE_VTYPE = 1 << 7,
  TAGTYPE_VEHICLE = 1 << 8, TAGTYPE_ROUTE = 1 << 9, TAGTYPE_STOP = 1 << 10, TAGTYPE_PERSON = 1 << 11,
  TAGTYPE_PERSONPLAN = 1 << 12, TAGTYPE_PERSONTRIP = 1 << 13, TAGTYPE_WALK = 1 << 14, TAGTYPE_RIDE = 1 << 15,
  TAGTYPE_PERSONSTOP = 1 << 16
}
 

Public Member Functions

void decRef (const std::string &debugMsg="")
 Decrease reference. More...
 
std::string getAlternativeValueForDisabledAttributes (SumoXMLAttr key) const
 
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...
 
const TagPropertiesgetTagProperty () const
 get Tag Property assigned to this object More...
 
const std::string & getTagStr () const
 get tag assigned to this object in string format More...
 
 GNEAttributeCarrier (const SumoXMLTag tag)
 Constructor. More...
 
void incRef (const std::string &debugMsg="")
 Increarse reference. More...
 
bool unreferenced ()
 check if object ins't referenced More...
 
virtual void updateGeometry ()=0
 update pre-computed geometry information 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 bool drawUsingSelectColor () const =0
 check if attribute carrier must be drawn using selecting color. 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 void enableAttribute (SumoXMLAttr key, GNEUndoList *undoList)=0
 
virtual void disableAttribute (SumoXMLAttr key, GNEUndoList *undoList)=0
 
virtual bool isAttributeEnabled (SumoXMLAttr key) const =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...
 

Static Public Member Functions

static std::vector< SumoXMLTagallowedTags (bool onlyDrawables)
 get tags of all editable element types More...
 
static std::vector< SumoXMLTagallowedTagsByCategory (int tagPropertyCategory, bool onlyDrawables)
 get tags of all editable element types using TagProperty Type (TAGTYPE_NETELEMENT, TAGTYPE_ADDITIONAL, etc.) 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 const TagPropertiesgetTagProperties (SumoXMLTag tag)
 get Tag Properties More...
 
static bool lanesConsecutives (const std::vector< GNELane * > &lanes)
 check if lanes are consecutives 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<>
int parse (const std::string &string)
 
template<>
double parse (const std::string &string)
 
template<>
SUMOTime 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<>
PositionVector parse (const std::string &string)
 
template<>
SUMOVehicleShape parse (const std::string &string)
 
template<>
std::vector< std::string > parse (const std::string &string)
 
template<>
std::set< 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<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<>
std::vector< GNEEdge * > parse (GNENet *net, const std::string &value)
 
template<>
std::vector< GNELane * > parse (GNENet *net, const std::string &value)
 
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<>
std::string parseIDs (const std::vector< GNEEdge * > &ACs)
 
template<>
std::string parseIDs (const std::vector< GNELane * > &ACs)
 
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 Public Attributes

static const double INVALID_POSITION
 invalid double position More...
 
static const size_t MAXNUMBEROFATTRIBUTES = 128
 max number of attributes allowed for every tag 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 Attributes

bool mySelected
 boolean to check if this AC is selected (instead of GUIGlObjectStorage) More...
 
const TagPropertiesmyTagProperty
 the xml tag to which this attribute carrier corresponds More...
 

Static Protected Attributes

static TagProperties dummyTagProperty
 dummy TagProperty used for reference some elements (for Example, dummyEdge) More...
 

Private Member Functions

 GNEAttributeCarrier (const GNEAttributeCarrier &)=delete
 Invalidated copy constructor. More...
 
GNEAttributeCarrieroperator= (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...
 
virtual void setEnabledAttribute (const int enabledAttributes)=0
 method for enabling the attribute and nothing else (used in GNEChange_EnableAttribute) More...
 

Static Private Member Functions

static bool checkParsedAttribute (const TagProperties &tagProperties, const AttributeProperties &attrProperties, const SumoXMLAttr attribute, std::string &defaultValue, std::string &parsedAttribute, std::string &warningMessage)
 parse and check attribute (note: This function is only to improve legilibility) More...
 
static void fillAdditionals ()
 fill Additionals More...
 
static void fillAttributeCarriers ()
 fill Attribute Carriers More...
 
static void fillCarFollowingModelAttributes (SumoXMLTag currentTag)
 fill Car Following Model of Vehicle/Person Types More...
 
static void fillCommonFlowAttributes (SumoXMLTag currentTag)
 fill common flow attributes (used by flows, routeFlows and personFlows) More...
 
static void fillCommonPersonAttributes (SumoXMLTag currentTag)
 fill common person attributes (used by person and personFlows) More...
 
static void fillCommonStopAttributes (SumoXMLTag currentTag)
 fill stop person attributes (used by stops and personStps) More...
 
static void fillCommonVehicleAttributes (SumoXMLTag currentTag)
 fill common vehicle attributes (used by vehicles, trips, routeFlows and flows) More...
 
static void fillDemandElements ()
 fill Demand Elements More...
 
static void fillJunctionModelAttributes (SumoXMLTag currentTag)
 fill Junction Model Attributes of Vehicle/Person Types More...
 
static void fillLaneChangingModelAttributes (SumoXMLTag currentTag)
 fill Junction Model Attributes of Vehicle/Person Types More...
 
static void fillNetElements ()
 fill Net Elements More...
 
static void fillPersonElements ()
 fill Person Elements More...
 
static void fillPersonStopElements ()
 fill PersonStop elements More...
 
static void fillShapes ()
 fill Shapes More...
 
static void fillStopElements ()
 fill Stop elements More...
 
static void fillVehicleElements ()
 fill vehicle elements More...
 
static bool parseMaskedPositionAttribute (const SUMOSAXAttributes &attrs, const std::string &objectID, const TagProperties &tagProperties, const AttributeProperties &attrProperties, std::string &parsedAttribute, std::string &warningMessage)
 parse and check masked (note: This function is only to improve legilibility) More...
 

Private Attributes

int myCount
 reference counter More...
 

Static Private Attributes

static std::map< SumoXMLTag, TagPropertiesmyTagProperties
 map with the tags properties More...
 

Friends

class GNEChange_Attribute
 declare friend class More...
 
class GNEChange_EnableAttribute
 

Detailed Description

Abstract Base class for gui objects which carry attributes inherits from GNEReferenceCounter for convenience

Definition at line 54 of file GNEAttributeCarrier.h.

Member Enumeration Documentation

◆ AttrProperty

struct with the tag Properties

Enumerator
ATTRPROPERTY_INT 
ATTRPROPERTY_FLOAT 
ATTRPROPERTY_SUMOTIME 
ATTRPROPERTY_BOOL 
ATTRPROPERTY_STRING 
ATTRPROPERTY_POSITION 
ATTRPROPERTY_COLOR 
ATTRPROPERTY_VCLASS 
ATTRPROPERTY_POSITIVE 
ATTRPROPERTY_UNIQUE 
ATTRPROPERTY_FILENAME 
ATTRPROPERTY_DISCRETE 
ATTRPROPERTY_PROBABILITY 
ATTRPROPERTY_ANGLE 
ATTRPROPERTY_LIST 
ATTRPROPERTY_SECUENCIAL 
ATTRPROPERTY_OPTIONAL 
ATTRPROPERTY_DEFAULTVALUESTATIC 
ATTRPROPERTY_DEFAULTVALUEMUTABLE 
ATTRPROPERTY_VCLASSES 
ATTRPROPERTY_SYNONYM 
ATTRPROPERTY_RANGE 
ATTRPROPERTY_EXTENDED 
ATTRPROPERTY_UPDATEGEOMETRY 
ATTRPROPERTY_ACTIVATABLE 
ATTRPROPERTY_COMPLEX 
ATTRPROPERTY_FLOWDEFINITION 

Definition at line 66 of file GNEAttributeCarrier.h.

◆ TAGProperty

Enumerator
TAGPROPERTY_DRAWABLE 
TAGPROPERTY_BLOCKMOVEMENT 
TAGPROPERTY_BLOCKSHAPE 
TAGPROPERTY_CLOSESHAPE 
TAGPROPERTY_GEOPOSITION 
TAGPROPERTY_GEOSHAPE 
TAGPROPERTY_DIALOG 
TAGPROPERTY_PARENT 
TAGPROPERTY_MINIMUMCHILDREN 
TAGPROPERTY_REPARENT 
TAGPROPERTY_SYNONYM 
TAGPROPERTY_AUTOMATICSORTING 
TAGPROPERTY_SELECTABLE 
TAGPROPERTY_MASKSTARTENDPOS 
TAGPROPERTY_MASKXYZPOSITION 
TAGPROPERTY_WRITECHILDRENSEPARATE 
TAGPROPERTY_NOPARAMETERS 
TAGPROPERTY_RTREE 
TAGPROPERTY_SORTINGCHILDREN 
TAGPROPERTY_CENTERAFTERCREATION 

Definition at line 293 of file GNEAttributeCarrier.h.

◆ TagType

Enumerator
TAGTYPE_NETELEMENT 
TAGTYPE_ADDITIONAL 
TAGTYPE_SHAPE 
TAGTYPE_DEMANDELEMENT 
TAGTYPE_TAZ 
TAGTYPE_STOPPINGPLACE 
TAGTYPE_DETECTOR 
TAGTYPE_VTYPE 
TAGTYPE_VEHICLE 
TAGTYPE_ROUTE 
TAGTYPE_STOP 
TAGTYPE_PERSON 
TAGTYPE_PERSONPLAN 
TAGTYPE_PERSONTRIP 
TAGTYPE_WALK 
TAGTYPE_RIDE 
TAGTYPE_PERSONSTOP 

Definition at line 273 of file GNEAttributeCarrier.h.

Constructor & Destructor Documentation

◆ GNEAttributeCarrier() [1/2]

GNEAttributeCarrier::GNEAttributeCarrier ( const SumoXMLTag  tag)

Constructor.

Parameters
[in]tagSUMO Tag assigned to this type of object
[in]iconGUIIcon associated to the type of object

Definition at line 921 of file GNEAttributeCarrier.cpp.

◆ ~GNEAttributeCarrier()

GNEAttributeCarrier::~GNEAttributeCarrier ( )
virtual

Destructor.

Definition at line 927 of file GNEAttributeCarrier.cpp.

◆ GNEAttributeCarrier() [2/2]

GNEAttributeCarrier::GNEAttributeCarrier ( const GNEAttributeCarrier )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ allowedTags()

std::vector< SumoXMLTag > GNEAttributeCarrier::allowedTags ( bool  onlyDrawables)
static

get tags of all editable element types

Definition at line 1316 of file GNEAttributeCarrier.cpp.

References fillAttributeCarriers(), and myTagProperties.

Referenced by allowedTagsByCategory().

◆ allowedTagsByCategory()

◆ canParse() [1/2]

◆ canParse() [2/2]

template<typename T >
static bool GNEAttributeCarrier::canParse ( GNENet net,
const std::string &  value,
bool  report 
)
inlinestatic

true if a value of type T can be parsed from string

Definition at line 657 of file GNEAttributeCarrier.h.

References WRITE_WARNING.

◆ checkParsedAttribute()

bool GNEAttributeCarrier::checkParsedAttribute ( const TagProperties tagProperties,
const AttributeProperties attrProperties,
const SumoXMLAttr  attribute,
std::string &  defaultValue,
std::string &  parsedAttribute,
std::string &  warningMessage 
)
staticprivate

parse and check attribute (note: This function is only to improve legilibility)

Definition at line 4498 of file GNEAttributeCarrier.cpp.

References canParseVehicleClasses(), GNEAttributeCarrier::AttributeProperties::getDefaultValue(), GNEAttributeCarrier::AttributeProperties::getDescription(), GNEAttributeCarrier::AttributeProperties::getDiscreteValues(), GNEAttributeCarrier::AttributeProperties::getMaximumRange(), GNEAttributeCarrier::AttributeProperties::getMinimumRange(), GNEAttributeCarrier::TagProperties::getTagStr(), GNEAttributeCarrier::AttributeProperties::hasAttrRange(), GNEAttributeCarrier::AttributeProperties::isBool(), GNEAttributeCarrier::AttributeProperties::isColor(), GNEAttributeCarrier::TagProperties::isDemandElement(), GNEAttributeCarrier::TagProperties::isDetector(), GNEAttributeCarrier::AttributeProperties::isDiscrete(), GNEAttributeCarrier::AttributeProperties::isFilename(), GNEAttributeCarrier::AttributeProperties::isFloat(), GNEAttributeCarrier::AttributeProperties::isInt(), GNEAttributeCarrier::AttributeProperties::isList(), GNEAttributeCarrier::AttributeProperties::isOptional(), GNEAttributeCarrier::AttributeProperties::isposition(), GNEAttributeCarrier::AttributeProperties::isPositive(), GNEAttributeCarrier::AttributeProperties::isProbability(), GNEAttributeCarrier::AttributeProperties::isSUMOTime(), SUMOXMLDefinitions::isValidAdditionalID(), SUMOXMLDefinitions::isValidAttribute(), SUMOXMLDefinitions::isValidDetectorID(), SUMOXMLDefinitions::isValidFilename(), SUMOXMLDefinitions::isValidListOfTypeID(), SUMOXMLDefinitions::isValidVehicleID(), GNEAttributeCarrier::AttributeProperties::isVClass(), SUMO_ATTR_EDGES, SUMO_ATTR_ID, SUMO_ATTR_LANES, SUMO_ATTR_NAME, SUMO_ATTR_ROUTEPROBE, SUMO_ATTR_VTYPES, toString(), WRITE_DEBUG, and WRITE_WARNING.

Referenced by parseAttributeFromXML().

◆ decRef()

◆ disableAttribute()

virtual void GNEAttributeCarrier::disableAttribute ( SumoXMLAttr  key,
GNEUndoList undoList 
)
pure virtual

◆ drawUsingSelectColor()

virtual bool GNEAttributeCarrier::drawUsingSelectColor ( ) const
pure virtual

check if attribute carrier must be drawn using selecting color.

Implemented in GNEDemandElement, GNEAdditional, GNEShape, and GNENetElement.

◆ enableAttribute()

virtual void GNEAttributeCarrier::enableAttribute ( SumoXMLAttr  key,
GNEUndoList undoList 
)
pure virtual

◆ fillAdditionals()

void GNEAttributeCarrier::fillAdditionals ( )
staticprivate

fill Additionals

Definition at line 1870 of file GNEAttributeCarrier.cpp.

References ATTRPROPERTY_ACTIVATABLE, ATTRPROPERTY_ANGLE, ATTRPROPERTY_BOOL, ATTRPROPERTY_COLOR, ATTRPROPERTY_DEFAULTVALUESTATIC, ATTRPROPERTY_FILENAME, ATTRPROPERTY_FLOAT, ATTRPROPERTY_INT, ATTRPROPERTY_LIST, ATTRPROPERTY_OPTIONAL, ATTRPROPERTY_POSITION, ATTRPROPERTY_POSITIVE, ATTRPROPERTY_PROBABILITY, ATTRPROPERTY_RANGE, ATTRPROPERTY_SECUENCIAL, ATTRPROPERTY_STRING, ATTRPROPERTY_SUMOTIME, ATTRPROPERTY_SYNONYM, ATTRPROPERTY_UNIQUE, ATTRPROPERTY_UPDATEGEOMETRY, ATTRPROPERTY_VCLASS, ATTRPROPERTY_VCLASSES, DEFAULT_VTYPE_ID, fillCommonVehicleAttributes(), ICON_ACCESS, ICON_CALIBRATOR, ICON_CHARGINGSTATION, ICON_CLOSINGLANEREROUTE, ICON_CLOSINGREROUTE, ICON_CONTAINERSTOP, ICON_DESTPROBREROUTE, ICON_E1, ICON_E1INSTANT, ICON_E2, ICON_E3, ICON_E3ENTRY, ICON_E3EXIT, ICON_FLOW, ICON_PARKINGAREA, ICON_PARKINGSPACE, ICON_PARKINGZONEREROUTE, ICON_REROUTER, ICON_REROUTERINTERVAL, ICON_ROUTEPROBE, ICON_ROUTEPROBREROUTE, ICON_TAZ, ICON_TAZEDGE, ICON_VAPORIZER, ICON_VARIABLESPEEDSIGN, ICON_VSSSTEP, myTagProperties, GNEAttributeCarrier::AttributeProperties::setRange(), GNEAttributeCarrier::AttributeProperties::setSynonym(), SUMO_ATTR_ALLOW, SUMO_ATTR_ANGLE, SUMO_ATTR_BEGIN, SUMO_ATTR_CHARGEDELAY, SUMO_ATTR_CHARGEINTRANSIT, SUMO_ATTR_CHARGINGPOWER, SUMO_ATTR_COLOR, SUMO_ATTR_CONT, SUMO_ATTR_DISALLOW, SUMO_ATTR_EDGE, SUMO_ATTR_EDGES, SUMO_ATTR_EFFICIENCY, SUMO_ATTR_END, SUMO_ATTR_ENDPOS, SUMO_ATTR_FILE, SUMO_ATTR_FREQUENCY, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_HALTING_SPEED_THRESHOLD, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_ID, SUMO_ATTR_JAM_DIST_THRESHOLD, SUMO_ATTR_LANE, SUMO_ATTR_LANES, SUMO_ATTR_LENGTH, SUMO_ATTR_LINES, SUMO_ATTR_NAME, SUMO_ATTR_OFF, SUMO_ATTR_ONROAD, SUMO_ATTR_OUTPUT, SUMO_ATTR_PARKING, SUMO_ATTR_PERSON_CAPACITY, SUMO_ATTR_POSITION, SUMO_ATTR_PROB, SUMO_ATTR_ROADSIDE_CAPACITY, SUMO_ATTR_ROUTE, SUMO_ATTR_ROUTEPROBE, SUMO_ATTR_SHAPE, SUMO_ATTR_SPEED, SUMO_ATTR_STARTPOS, SUMO_ATTR_TIME, SUMO_ATTR_TYPE, SUMO_ATTR_VEHSPERHOUR, SUMO_ATTR_VISIBLE, SUMO_ATTR_VTYPES, SUMO_ATTR_WEIGHT, SUMO_ATTR_WIDTH, 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_CONTAINER_STOP, SUMO_TAG_DEST_PROB_REROUTE, SUMO_TAG_DET_ENTRY, SUMO_TAG_DET_EXIT, SUMO_TAG_E1DETECTOR, SUMO_TAG_E2DETECTOR, SUMO_TAG_E2DETECTOR_MULTILANE, SUMO_TAG_E3DETECTOR, SUMO_TAG_FLOW_CALIBRATOR, SUMO_TAG_INSTANT_INDUCTION_LOOP, SUMO_TAG_INTERVAL, SUMO_TAG_LANE, SUMO_TAG_LANECALIBRATOR, SUMO_TAG_NOTHING, SUMO_TAG_PARKING_AREA, SUMO_TAG_PARKING_SPACE, SUMO_TAG_PARKING_ZONE_REROUTE, SUMO_TAG_REROUTER, SUMO_TAG_ROUTE_PROB_REROUTE, SUMO_TAG_ROUTEPROBE, SUMO_TAG_STEP, SUMO_TAG_TAZ, SUMO_TAG_TAZSINK, SUMO_TAG_TAZSOURCE, SUMO_TAG_VAPORIZER, SUMO_TAG_VSS, TAGPROPERTY_AUTOMATICSORTING, TAGPROPERTY_BLOCKMOVEMENT, TAGPROPERTY_BLOCKSHAPE, TAGPROPERTY_CENTERAFTERCREATION, TAGPROPERTY_DIALOG, TAGPROPERTY_DRAWABLE, TAGPROPERTY_MASKSTARTENDPOS, TAGPROPERTY_MASKXYZPOSITION, TAGPROPERTY_MINIMUMCHILDREN, TAGPROPERTY_PARENT, TAGPROPERTY_REPARENT, TAGPROPERTY_RTREE, TAGPROPERTY_SELECTABLE, TAGPROPERTY_SYNONYM, TAGPROPERTY_WRITECHILDRENSEPARATE, TAGTYPE_ADDITIONAL, TAGTYPE_DETECTOR, TAGTYPE_STOPPINGPLACE, TAGTYPE_TAZ, and toString().

Referenced by fillAttributeCarriers().

◆ fillAttributeCarriers()

void GNEAttributeCarrier::fillAttributeCarriers ( )
staticprivate

◆ fillCarFollowingModelAttributes()

◆ fillCommonFlowAttributes()

void GNEAttributeCarrier::fillCommonFlowAttributes ( SumoXMLTag  currentTag)
staticprivate

◆ fillCommonPersonAttributes()

void GNEAttributeCarrier::fillCommonPersonAttributes ( SumoXMLTag  currentTag)
staticprivate

◆ fillCommonStopAttributes()

void GNEAttributeCarrier::fillCommonStopAttributes ( SumoXMLTag  currentTag)
staticprivate

fill stop person attributes (used by stops and personStps)

Attribute currently disabled. It will be implemented in #6011 attrProperty = AttributeProperties(SUMO_ATTR_TRIP_ID, ATTRPROPERTY_STRING | ATTRPROPERTY_DEFAULTVALUESTATIC | ATTRPROPERTY_OPTIONAL, "Value used for trips that uses this stop"); myTagProperties[currentTag].addAttribute(attrProperty);

Definition at line 4426 of file GNEAttributeCarrier.cpp.

References ATTRPROPERTY_ACTIVATABLE, ATTRPROPERTY_BOOL, ATTRPROPERTY_DEFAULTVALUESTATIC, ATTRPROPERTY_FLOAT, ATTRPROPERTY_LIST, ATTRPROPERTY_OPTIONAL, ATTRPROPERTY_POSITIVE, ATTRPROPERTY_STRING, ATTRPROPERTY_SUMOTIME, myTagProperties, SUMO_ATTR_ACTTYPE, SUMO_ATTR_CONTAINER_TRIGGERED, SUMO_ATTR_DURATION, SUMO_ATTR_EXPECTED, SUMO_ATTR_EXPECTED_CONTAINERS, SUMO_ATTR_EXTENSION, SUMO_ATTR_INDEX, SUMO_ATTR_PARKING, SUMO_ATTR_TRIGGERED, and SUMO_ATTR_UNTIL.

Referenced by fillPersonStopElements(), and fillStopElements().

◆ fillCommonVehicleAttributes()

◆ fillDemandElements()

void GNEAttributeCarrier::fillDemandElements ( )
staticprivate

fill Demand Elements

Definition at line 3144 of file GNEAttributeCarrier.cpp.

References ATTRPROPERTY_COLOR, ATTRPROPERTY_DEFAULTVALUEMUTABLE, ATTRPROPERTY_DEFAULTVALUESTATIC, ATTRPROPERTY_DISCRETE, ATTRPROPERTY_EXTENDED, ATTRPROPERTY_FILENAME, ATTRPROPERTY_FLOAT, ATTRPROPERTY_INT, ATTRPROPERTY_LIST, ATTRPROPERTY_OPTIONAL, ATTRPROPERTY_POSITIVE, ATTRPROPERTY_STRING, ATTRPROPERTY_SUMOTIME, ATTRPROPERTY_UNIQUE, ATTRPROPERTY_UPDATEGEOMETRY, ATTRPROPERTY_VCLASS, SUMOXMLDefinitions::CarFollowModels, DEFAULT_VEH_PROB, fillCarFollowingModelAttributes(), fillJunctionModelAttributes(), fillLaneChangingModelAttributes(), PollutantsInterface::getAllClassesStr(), OptionsCont::getOptions(), ICON_PTYPE, ICON_ROUTE, ICON_VTYPE, SUMOXMLDefinitions::LaneChangeModels, SUMOXMLDefinitions::LateralAlignments, myTagProperties, GNEAttributeCarrier::AttributeProperties::setDiscreteValues(), SUMO_ATTR_ACTIONSTEPLENGTH, SUMO_ATTR_BOARDING_DURATION, SUMO_ATTR_CAR_FOLLOW_MODEL, SUMO_ATTR_CARRIAGE_GAP, SUMO_ATTR_CARRIAGE_LENGTH, SUMO_ATTR_COLOR, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_EDGES, SUMO_ATTR_EMISSIONCLASS, SUMO_ATTR_GUISHAPE, SUMO_ATTR_HEIGHT, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_JM_DRIVE_AFTER_RED_TIME, SUMO_ATTR_LANE_CHANGE_MODEL, SUMO_ATTR_LATALIGNMENT, SUMO_ATTR_LENGTH, SUMO_ATTR_LOADING_DURATION, SUMO_ATTR_LOCOMOTIVE_LENGTH, SUMO_ATTR_MAXSPEED, SUMO_ATTR_MAXSPEED_LAT, SUMO_ATTR_MINGAP, SUMO_ATTR_MINGAP_LAT, SUMO_ATTR_OSGFILE, SUMO_ATTR_PERSON_CAPACITY, SUMO_ATTR_PROB, SUMO_ATTR_SPEEDDEV, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_VCLASS, SUMO_ATTR_WIDTH, SUMO_TAG_EMBEDDEDROUTE, SUMO_TAG_NOTHING, SUMO_TAG_PTYPE, SUMO_TAG_ROUTE, SUMO_TAG_VTYPE, SumoVehicleClassStrings, SumoVehicleShapeStrings, SVC_PEDESTRIAN, TAGPROPERTY_DRAWABLE, TAGPROPERTY_PARENT, TAGPROPERTY_SELECTABLE, TAGPROPERTY_SYNONYM, TAGTYPE_DEMANDELEMENT, TAGTYPE_ROUTE, TAGTYPE_VTYPE, and toString().

Referenced by fillAttributeCarriers().

◆ fillJunctionModelAttributes()

◆ fillLaneChangingModelAttributes()

◆ fillNetElements()

void GNEAttributeCarrier::fillNetElements ( )
staticprivate

fill Net Elements

Definition at line 1478 of file GNEAttributeCarrier.cpp.

References ATTRPROPERTY_BOOL, ATTRPROPERTY_DEFAULTVALUESTATIC, ATTRPROPERTY_DISCRETE, ATTRPROPERTY_FLOAT, ATTRPROPERTY_INT, ATTRPROPERTY_LIST, ATTRPROPERTY_POSITION, ATTRPROPERTY_POSITIVE, ATTRPROPERTY_STRING, ATTRPROPERTY_UNIQUE, ATTRPROPERTY_UPDATEGEOMETRY, ATTRPROPERTY_VCLASS, ATTRPROPERTY_VCLASSES, FRINGE_TYPE_DEFAULT, SUMOXMLDefinitions::FringeTypeValues, OptionsCont::getFloat(), OptionsCont::getInt(), OptionsCont::getOptions(), StringBijection< T >::getStrings(), GNE_ATTR_BIDIR, GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, ICON_CONNECTION, ICON_CROSSING, ICON_EDGE, ICON_JUNCTION, ICON_LANE, SUMOXMLDefinitions::LaneSpreadFunctions, myTagProperties, NODETYPE_DEAD_END, NODETYPE_DEAD_END_DEPRECATED, NODETYPE_INTERNAL, NODETYPE_NOJUNCTION, SUMOXMLDefinitions::NodeTypes, RIGHT_OF_WAY_DEFAULT, SUMOXMLDefinitions::RightOfWayValues, GNEAttributeCarrier::AttributeProperties::setDiscreteValues(), SUMO_ATTR_ACCELERATION, SUMO_ATTR_ALLOW, SUMO_ATTR_CONTPOS, SUMO_ATTR_CUSTOMSHAPE, SUMO_ATTR_DIR, SUMO_ATTR_DISALLOW, SUMO_ATTR_DISTANCE, SUMO_ATTR_EDGES, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_FRINGE, SUMO_ATTR_FROM, SUMO_ATTR_FROM_LANE, SUMO_ATTR_ID, SUMO_ATTR_INDEX, SUMO_ATTR_KEEP_CLEAR, SUMO_ATTR_LENGTH, SUMO_ATTR_NAME, SUMO_ATTR_NUMLANES, SUMO_ATTR_PASS, SUMO_ATTR_POSITION, SUMO_ATTR_PRIORITY, SUMO_ATTR_RADIUS, SUMO_ATTR_RIGHT_OF_WAY, SUMO_ATTR_SHAPE, SUMO_ATTR_SPEED, SUMO_ATTR_SPREADTYPE, SUMO_ATTR_STATE, 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_VISIBILITY_DISTANCE, SUMO_ATTR_WIDTH, SUMO_TAG_CONNECTION, SUMO_TAG_CROSSING, SUMO_TAG_EDGE, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, SumoVehicleClassStrings, TAGPROPERTY_DRAWABLE, TAGPROPERTY_SELECTABLE, TAGTYPE_NETELEMENT, TLTYPE_ACTUATED, TLTYPE_DELAYBASED, TLTYPE_STATIC, toString(), NBEdge::UNSPECIFIED_CONTPOS, NBEdge::UNSPECIFIED_SPEED, and NBEdge::UNSPECIFIED_VISIBILITY_DISTANCE.

Referenced by fillAttributeCarriers().

◆ fillPersonElements()

◆ fillPersonStopElements()

◆ fillShapes()

◆ fillStopElements()

◆ fillVehicleElements()

◆ getAlternativeValueForDisabledAttributes()

◆ getAttribute()

◆ getAttributeForSelection()

std::string GNEAttributeCarrier::getAttributeForSelection ( SumoXMLAttr  key) const
virtual

method for getting the attribute in the context of object selection

Reimplemented in GNEEdge, and GNELane.

Definition at line 1261 of file GNEAttributeCarrier.cpp.

References getAttribute().

◆ getHierarchyName()

◆ getIcon()

◆ getID()

const std::string GNEAttributeCarrier::getID ( ) const
virtual

function to support debugging

Implements GNEReferenceCounter.

Definition at line 1289 of file GNEAttributeCarrier.cpp.

References getAttribute(), and SUMO_ATTR_ID.

Referenced by GNEHierarchicalChildElements::addChildAdditional(), GNEHierarchicalChildElements::addChildDemandElement(), GNEHierarchicalChildElements::addChildEdge(), GNEHierarchicalChildElements::addChildLane(), GNEHierarchicalChildElements::addChildShape(), GNECrossingFrame::addCrossing(), GNEJunction::addIncomingGNEEdge(), GNENet::additionalExist(), GNEJunction::addOutgoingGNEEdge(), GNEHierarchicalParentElements::addParentAdditional(), GNEHierarchicalParentElements::addParentDemandElement(), GNEHierarchicalParentElements::addParentEdge(), GNEHierarchicalParentElements::addParentLane(), GNEHierarchicalParentElements::addParentShape(), GNENet::addPOI(), GNENet::addReversedEdge(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNEAdditionalHandler::buildAccess(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalWithParent(), GNEConnectorFrame::buildConnection(), GNEPersonFrame::buildPerson(), GNERouteHandler::buildPersonTripBusStop(), GNERouteHandler::buildPersonTripFromTo(), GNEAdditionalHandler::buildRerouterInterval(), GNERouteHandler::buildRideBusStop(), GNERouteHandler::buildRideFromTo(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNERouteHandler::buildWalkBusStop(), GNERouteHandler::buildWalkEdges(), GNERouteHandler::buildWalkFromTo(), GNERouteHandler::buildWalkRoute(), GNENet::changeShapeID(), GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::demandElementExist(), GNEEdge::drawGL(), GNEJunction::drawJunctionChilds(), GNEVehicleFrame::edgePathCreated(), GNEJunction::generateChildID(), GNEPoly::generateChildID(), GNEPOI::generateChildID(), GNEAdditional::generateChildID(), GNEDemandElement::generateChildID(), GNEAdditionalFrame::generateID(), GNEClosingReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNECalibratorFlow::getAttribute(), GNEConnection::getAttribute(), GNEJunction::getAttribute(), GNEViewNet::getAttributeCarriersInBoundary(), GNEClosingReroute::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNEDestProbReroute::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEHierarchicalParentElements::getNewListOfParents(), GNEDetectorE3::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNERerouter::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNECalibrator::getPopUpID(), GNENetElement::getPopUpID(), GNETAZ::getPopUpID(), GNEDetector::getPopUpID(), GNEShape::getPopUpID(), GNEAdditionalHandler::getPosition(), GNEStopFrame::getStopParameter(), GNENet::insertAdditional(), GNENet::insertDemandElement(), GNENet::insertShape(), GNEJunction::invalidateShape(), GNEDemandElement::isRouteValid(), GNEAccess::isValid(), GNEPersonTrip::isValid(), GNENet::joinSelectedJunctions(), GNECrossingFrame::CrossingParameters::markEdge(), GNENet::mergeJunctions(), GNERerouterDialog::onCmdAccept(), GNERouteDialog::onCmdSetVariable(), GNEViewNet::onCmdToogleLockPerson(), GNEViewNet::onCmdTransformPOI(), GNEAdditionalHandler::parseAndBuildAccess(), GNEPolygonFrame::processClick(), GNEChange_Junction::redo(), GNEChange_Shape::redo(), GNEChange_Additional::redo(), GNEChange_TLS::redo(), GNEChange_DemandElement::redo(), GNEChange_Children::redo(), GNEChange_EnableAttribute::redo(), GNEChange_Connection::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), GNEChange_Attribute::redo(), GNEDeleteFrame::removeAttributeCarrier(), GNEHierarchicalChildElements::removeChildAdditional(), GNEHierarchicalChildElements::removeChildDemandElement(), GNEHierarchicalChildElements::removeChildEdge(), GNEHierarchicalChildElements::removeChildLane(), GNEHierarchicalChildElements::removeChildShape(), GNEEdge::removeConnection(), GNEJunction::removeEdgeFromCrossings(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::removeLane(), GNEJunction::removeOutgoingGNEEdge(), GNEHierarchicalParentElements::removeParentAdditional(), GNEHierarchicalParentElements::removeParentDemandElement(), GNEHierarchicalParentElements::removeParentEdge(), GNEHierarchicalParentElements::removeParentLane(), GNEHierarchicalParentElements::removeParentShape(), GNENet::removeShape(), GNENet::renameJunction(), GNENet::replaceIncomingEdge(), GNEHierarchicalParentElements::replaceParentAdditional(), GNEHierarchicalParentElements::replaceParentDemandElement(), GNENet::retrieveEdge(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNENet::reverseEdge(), GNEEdge::setAttribute(), GNEFrameModuls::DemandElementSelector::setDemandElement(), GNELane::setLaneColor(), GNENet::setViewNet(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNEEdge::smooth(), GNEEdge::smoothElevation(), GNEEdge::smoothShape(), GNENet::splitEdge(), GNEAccess::splitEdgeGeometry(), GNECalibrator::splitEdgeGeometry(), GNEStoppingPlace::splitEdgeGeometry(), GNEDetector::splitEdgeGeometry(), GNENet::splitJunction(), GNEChange_Junction::undo(), GNEChange_Shape::undo(), GNEChange_Additional::undo(), GNEChange_TLS::undo(), GNEChange_DemandElement::undo(), GNEChange_EnableAttribute::undo(), GNEChange_Children::undo(), GNEChange_Connection::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEChange_Attribute::undo(), GNENet::updateAdditionalID(), GNERouteDialog::updateCalibratorRouteValues(), GNENet::updateDemandElementBegin(), GNENet::updateDemandElementID(), GNEAdditional::writeAdditional(), GNERide::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNEWalk::writeDemandElement(), GNEPerson::writeDemandElement(), GNEVehicle::writeDemandElement(), GNEPOI::writeShape(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_DemandElement::~GNEChange_DemandElement(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_EnableAttribute::~GNEChange_EnableAttribute(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TLS::~GNEChange_TLS(), and GNEJunction::~GNEJunction().

◆ getPopUpID()

◆ getTagProperties()

◆ getTagProperty()

const GNEAttributeCarrier::TagProperties & GNEAttributeCarrier::getTagProperty ( ) const

get Tag Property assigned to this object

Definition at line 1273 of file GNEAttributeCarrier.cpp.

References myTagProperty.

Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNEHierarchicalChildElements::addChildAdditional(), GNEHierarchicalChildElements::addChildDemandElement(), GNENet::additionalExist(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlan(), GNEStopFrame::addStop(), GNETAZFrame::TAZCurrent::addTAZChild(), GNEVehicleFrame::addVehicle(), GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection(), GNEAdditionalFrame::buildAdditionalWithParent(), GNEPersonFrame::buildPersonOverRoute(), GNERouteHandler::buildStop(), GNEGeometry::calculateEdgeGeometricPath(), GNEDemandElement::calculatePersonPlanLaneStartEndPos(), GNEDemandElement::calculatePersonPlanPositionStartEndPos(), GNENet::changeShapeID(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::demandElementExist(), GNEViewNet::doPaintGL(), GNEStop::drawGL(), GNEPerson::drawGL(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNEViewNet::getAttributeCarriersInBoundary(), GNEStop::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEHierarchicalParentElements::getNewListOfParents(), GNEPerson::getPositionInView(), GNEEdge::getRouteProbeRelativePosition(), GNENet::getSelectedAttributeCarriers(), GNEStopFrame::getStopParameter(), GNEAdditionalHandler::GNEAdditionalHandler(), GNENet::insertAdditional(), GNENet::insertDemandElement(), GNENet::insertShape(), GNEInspectorFrame::inspectSingleElement(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNEViewNet::onCmdOpenAdditionalDialog(), GNEViewNet::onCmdToogleLockPerson(), GNEAdditionalHandler::parseParameter(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEChange_DemandElement::redo(), GNEChange_EnableAttribute::redo(), GNEChange_Attribute::redo(), GNEDeleteFrame::removeAttributeCarrier(), GNEHierarchicalChildElements::removeChildAdditional(), GNEHierarchicalChildElements::removeChildDemandElement(), GNENet::removeShape(), GNENet::replaceInListAttribute(), GNEAdditionalHandler::HierarchyInsertedAdditionals::retrieveParentAdditional(), GNENet::retrieveShapes(), GNEInspectorFrame::selectedOverlappedElement(), GNEFrameModuls::DemandElementSelector::setDemandElement(), GNELane::setLaneColor(), GNENet::setViewNet(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEFrameAttributesModuls::ParametersEditor::showParametersEditor(), GNEHierarchicalChildElements::sortChildAdditionals(), GNECalibrator::splitEdgeGeometry(), GNEStoppingPlace::splitEdgeGeometry(), GNEDetector::splitEdgeGeometry(), GNEWalk::splitEdgeGeometry(), GNERoute::splitEdgeGeometry(), GNEViewNetHelper::EditShapes::startEditCustomShape(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEChange_DemandElement::undo(), GNEChange_EnableAttribute::undo(), GNEChange_Attribute::undo(), GNENet::updateAdditionalID(), GNENet::updateDemandElementBegin(), GNENet::updateDemandElementID(), GNEStop::updateGeometry(), GNEStop::updatePartialGeometry(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_EnableAttribute::~GNEChange_EnableAttribute(), and GNEChange_Shape::~GNEChange_Shape().

◆ getTagStr()

const std::string & GNEAttributeCarrier::getTagStr ( ) const

get tag assigned to this object in string format

Definition at line 1267 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::TagProperties::getTagStr(), and myTagProperty.

Referenced by GNEHierarchicalChildElements::addChildAdditional(), GNEHierarchicalChildElements::addChildDemandElement(), GNEHierarchicalChildElements::addChildEdge(), GNEHierarchicalChildElements::addChildLane(), GNEHierarchicalChildElements::addChildShape(), GNEJunction::addIncomingGNEEdge(), GNEJunction::addOutgoingGNEEdge(), GNEHierarchicalParentElements::addParentAdditional(), GNEHierarchicalParentElements::addParentDemandElement(), GNEHierarchicalParentElements::addParentEdge(), GNEHierarchicalParentElements::addParentLane(), GNEHierarchicalParentElements::addParentShape(), GNENet::addPOI(), GNEStopFrame::addStop(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::builDestProbReroute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowWithEmbeddedRoute(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildRouteProbReroute(), GNERouteHandler::buildStop(), GNERouteHandler::buildTrip(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVehicleWithEmbeddedRoute(), GNEAdditionalHandler::builParkingAreaReroute(), GNEAdditional::changeAdditionalID(), GNEDemandElement::changeDemandElementID(), GNEAdditional::checkChildAdditionalRestriction(), GNEDemandElement::checkChildDemandElementRestriction(), GNERouteHandler::closePerson(), GNERouteHandler::closeRoute(), GNERouteHandler::closeVType(), GNETAZ::commitGeometryMoving(), GNEDetectorE3::commitGeometryMoving(), GNEParkingSpace::commitGeometryMoving(), GNEVariableSpeedSign::commitGeometryMoving(), GNEAccess::commitGeometryMoving(), GNERerouter::commitGeometryMoving(), GNEDetectorE1::commitGeometryMoving(), GNEDetectorEntryExit::commitGeometryMoving(), GNEDetectorE1Instant::commitGeometryMoving(), GNEStoppingPlace::commitGeometryMoving(), GNEStop::commitGeometryMoving(), GNEDetectorE2::commitGeometryMoving(), GNERide::commitGeometryMoving(), GNEPOI::commitGeometryMoving(), GNEPersonTrip::commitGeometryMoving(), GNEWalk::commitGeometryMoving(), GNEJunction::commitGeometryMoving(), GNETAZ::commitShapeChange(), GNEPoly::commitShapeChange(), GNEEdge::commitShapeChange(), GNEEdge::commitShapeEndChange(), GNEEdge::commitShapeStartChange(), GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::deleteShape(), GNEAdditional::fixAdditionalProblem(), GNEDemandElement::fixDemandElementProblem(), GNEBusStop::getAttribute(), GNEContainerStop::getAttribute(), GNEChargingStation::getAttribute(), GNEParkingArea::getAttribute(), GNEVaporizer::getAttribute(), GNERouteProbe::getAttribute(), GNEClosingReroute::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorE3::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNERouteProbReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNECalibratorFlow::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNETAZSourceSink::getAttribute(), GNERerouterInterval::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNEAccess::getAttribute(), GNERerouter::getAttribute(), GNECrossing::getAttribute(), GNECalibrator::getAttribute(), GNEDetectorE2::getAttribute(), GNETAZ::getAttribute(), GNEVehicleType::getAttribute(), GNEConnection::getAttribute(), GNEStop::getAttribute(), GNEPoly::getAttribute(), GNELane::getAttribute(), GNERide::getAttribute(), GNEPOI::getAttribute(), GNEPersonTrip::getAttribute(), GNEJunction::getAttribute(), GNEWalk::getAttribute(), GNERoute::getAttribute(), GNEEdge::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNEVaporizer::getAttributeDouble(), GNERouteProbe::getAttributeDouble(), GNEClosingReroute::getAttributeDouble(), GNEDetectorE3::getAttributeDouble(), GNEClosingLaneReroute::getAttributeDouble(), GNEDestProbReroute::getAttributeDouble(), GNERouteProbReroute::getAttributeDouble(), GNEParkingAreaReroute::getAttributeDouble(), GNEParkingSpace::getAttributeDouble(), GNECalibratorFlow::getAttributeDouble(), GNEVariableSpeedSignStep::getAttributeDouble(), GNETAZSourceSink::getAttributeDouble(), GNERerouterInterval::getAttributeDouble(), GNEVariableSpeedSign::getAttributeDouble(), GNEAccess::getAttributeDouble(), GNERerouter::getAttributeDouble(), GNEStoppingPlace::getAttributeDouble(), GNECalibrator::getAttributeDouble(), GNETAZ::getAttributeDouble(), GNEDetector::getAttributeDouble(), GNEVehicleType::getAttributeDouble(), GNEStop::getAttributeDouble(), GNERide::getAttributeDouble(), GNEPersonTrip::getAttributeDouble(), GNEWalk::getAttributeDouble(), GNEPerson::getAttributeDouble(), GNEDemandElement::getBegin(), GNEVaporizer::getHierarchyName(), GNERouteProbe::getHierarchyName(), GNEClosingReroute::getHierarchyName(), GNEDetectorE3::getHierarchyName(), GNERouteProbReroute::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNEDestProbReroute::getHierarchyName(), GNEParkingAreaReroute::getHierarchyName(), GNEParkingSpace::getHierarchyName(), GNECalibratorFlow::getHierarchyName(), GNEVariableSpeedSignStep::getHierarchyName(), GNERerouterInterval::getHierarchyName(), GNETAZSourceSink::getHierarchyName(), GNEVariableSpeedSign::getHierarchyName(), GNEAccess::getHierarchyName(), GNERerouter::getHierarchyName(), GNEStoppingPlace::getHierarchyName(), GNECalibrator::getHierarchyName(), GNETAZ::getHierarchyName(), GNENetElement::getHierarchyName(), GNEDetector::getHierarchyName(), GNEVehicleType::getHierarchyName(), GNEShape::getHierarchyName(), GNERoute::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEVaporizer::getPopUpID(), GNERouteProbe::getPopUpID(), GNEClosingReroute::getPopUpID(), GNEDetectorE3::getPopUpID(), GNERouteProbReroute::getPopUpID(), GNEClosingLaneReroute::getPopUpID(), GNEDestProbReroute::getPopUpID(), GNEParkingAreaReroute::getPopUpID(), GNEParkingSpace::getPopUpID(), GNECalibratorFlow::getPopUpID(), GNEVariableSpeedSignStep::getPopUpID(), GNERerouterInterval::getPopUpID(), GNETAZSourceSink::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNEAccess::getPopUpID(), GNERerouter::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNECalibrator::getPopUpID(), GNETAZ::getPopUpID(), GNENetElement::getPopUpID(), GNEDetector::getPopUpID(), GNEVehicleType::getPopUpID(), GNEShape::getPopUpID(), GNEStop::getPopUpID(), GNERide::getPopUpID(), GNEPersonTrip::getPopUpID(), GNEWalk::getPopUpID(), GNERoute::getPopUpID(), GNEPerson::getPopUpID(), GNEVehicle::getPopUpID(), GNERide::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicleTypeDialog::GNEVehicleTypeDialog(), GNENet::insertAdditional(), GNENet::insertDemandElement(), GNEDemandElement::isRouteValid(), GNEContainerStop::isValid(), GNEBusStop::isValid(), GNEChargingStation::isValid(), GNEParkingArea::isValid(), GNEDetectorE1::isValid(), GNEDetectorEntryExit::isValid(), GNEVaporizer::isValid(), GNERouteProbe::isValid(), GNEClosingReroute::isValid(), GNEDetectorE3::isValid(), GNERouteProbReroute::isValid(), GNEClosingLaneReroute::isValid(), GNEDestProbReroute::isValid(), GNEDetectorE1Instant::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNEVariableSpeedSignStep::isValid(), GNECalibratorFlow::isValid(), GNERerouterInterval::isValid(), GNETAZSourceSink::isValid(), GNEVariableSpeedSign::isValid(), GNECrossing::isValid(), GNEAccess::isValid(), GNERerouter::isValid(), GNEDetectorE2::isValid(), GNECalibrator::isValid(), GNETAZ::isValid(), GNEConnection::isValid(), GNEVehicleType::isValid(), GNEStop::isValid(), GNEPoly::isValid(), GNELane::isValid(), GNEPOI::isValid(), GNERide::isValid(), GNEJunction::isValid(), GNEPersonTrip::isValid(), GNEWalk::isValid(), GNERoute::isValid(), GNEEdge::isValid(), GNEPerson::isValid(), GNEVehicle::isValid(), GNERouteDialog::onCmdAccept(), GNECalibratorFlowDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), GNEVehicleTypeDialog::onCmdAccept(), GNERouteFrame::ConsecutiveEdges::onCmdCreateRoute(), GNERouteFrame::NonConsecutiveEdges::onCmdCreateRoute(), GNEAdditional::openAdditionalDialog(), GNEDemandElement::openDemandElementDialog(), GNEVehicleType::overwriteVType(), GNEAdditionalHandler::parseParameter(), GNEChange_Junction::redo(), GNEChange_Shape::redo(), GNEChange_Additional::redo(), GNEChange_TLS::redo(), GNEChange_DemandElement::redo(), GNEChange_EnableAttribute::redo(), GNEChange_Children::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), GNEChange_Attribute::redo(), GNEChange_Shape::redoName(), GNEChange_Additional::redoName(), GNEChange_DemandElement::redoName(), GNEChange_EnableAttribute::redoName(), GNEChange_Children::redoName(), GNEChange_Attribute::redoName(), GNEDeleteFrame::removeAttributeCarrier(), GNEHierarchicalChildElements::removeChildAdditional(), GNEHierarchicalChildElements::removeChildDemandElement(), GNEHierarchicalChildElements::removeChildEdge(), GNEHierarchicalChildElements::removeChildLane(), GNEHierarchicalChildElements::removeChildShape(), GNEEdge::removeConnection(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::removeLane(), GNEJunction::removeOutgoingGNEEdge(), GNEHierarchicalParentElements::removeParentAdditional(), GNEHierarchicalParentElements::removeParentDemandElement(), GNEHierarchicalParentElements::removeParentEdge(), GNEHierarchicalParentElements::removeParentLane(), GNEHierarchicalParentElements::removeParentShape(), GNEHierarchicalParentElements::replaceParentAdditional(), GNEHierarchicalParentElements::replaceParentDemandElement(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNEAdditionalHandler::HierarchyInsertedAdditionals::retrieveParentAdditional(), GNEBusStop::setAttribute(), GNEContainerStop::setAttribute(), GNEChargingStation::setAttribute(), GNEParkingArea::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorEntryExit::setAttribute(), GNEVaporizer::setAttribute(), GNERouteProbe::setAttribute(), GNEClosingReroute::setAttribute(), GNEDestProbReroute::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEDetectorE3::setAttribute(), GNERouteProbReroute::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEParkingSpace::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNECalibratorFlow::setAttribute(), GNERerouterInterval::setAttribute(), GNETAZSourceSink::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNECrossing::setAttribute(), GNEAccess::setAttribute(), GNERerouter::setAttribute(), GNEDetectorE2::setAttribute(), GNECalibrator::setAttribute(), GNETAZ::setAttribute(), GNEConnection::setAttribute(), GNEVehicleType::setAttribute(), GNEStop::setAttribute(), GNEPoly::setAttribute(), GNELane::setAttribute(), GNEPOI::setAttribute(), GNERide::setAttribute(), GNEJunction::setAttribute(), GNEPersonTrip::setAttribute(), GNEWalk::setAttribute(), GNERoute::setAttribute(), GNEEdge::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEChange_Junction::undo(), GNEChange_Shape::undo(), GNEChange_Additional::undo(), GNEChange_TLS::undo(), GNEChange_DemandElement::undo(), GNEChange_EnableAttribute::undo(), GNEChange_Children::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEChange_Attribute::undo(), GNEChange_Shape::undoName(), GNEChange_Additional::undoName(), GNEChange_DemandElement::undoName(), GNEChange_Children::undoName(), GNEChange_EnableAttribute::undoName(), GNEChange_Attribute::undoName(), GNENet::updateAdditionalID(), GNENet::updateDemandElementBegin(), GNENet::updateDemandElementID(), GNEAdditional::writeAdditional(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_DemandElement::~GNEChange_DemandElement(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_EnableAttribute::~GNEChange_EnableAttribute(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), and GNEChange_TLS::~GNEChange_TLS().

◆ incRef()

void GNEReferenceCounter::incRef ( const std::string &  debugMsg = "")
inlineinherited

Increarse reference.

Definition at line 67 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::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::builDestProbReroute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowWithEmbeddedRoute(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildPersonTripBusStop(), GNERouteHandler::buildPersonTripFromTo(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), GNERouteHandler::buildRideBusStop(), GNERouteHandler::buildRideFromTo(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEAdditionalHandler::buildTAZ(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNERouteHandler::buildTrip(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVehicleWithEmbeddedRoute(), GNERouteHandler::buildWalkBusStop(), GNERouteHandler::buildWalkEdges(), GNERouteHandler::buildWalkFromTo(), GNERouteHandler::buildWalkRoute(), GNEAdditionalHandler::builParkingAreaReroute(), GNERouteHandler::closeRoute(), GNERouteHandler::closeVType(), GNEChange_Attribute::GNEChange_Attribute(), GNEJunction::rebuildGNECrossings(), GNENet::registerEdge(), GNENet::registerJunction(), GNEEdge::remakeGNEConnections(), GNEInspectorFrame::TemplateEditor::setEdgeTemplate(), and GNENet::setViewNet().

◆ isAttributeCarrierSelected()

◆ isAttributeEnabled()

◆ isValid()

◆ lanesConsecutives()

bool GNEAttributeCarrier::lanesConsecutives ( const std::vector< GNELane * > &  lanes)
static

check if lanes are consecutives

Definition at line 1136 of file GNEAttributeCarrier.cpp.

Referenced by GNEDetectorE2::isValid(), and GNEAdditionalHandler::parseAndBuildDetectorE2().

◆ operator=()

GNEAttributeCarrier& GNEAttributeCarrier::operator= ( const GNEAttributeCarrier src)
privatedelete

Invalidated assignment operator.

◆ parse() [1/19]

template<typename T >
static T GNEAttributeCarrier::parse ( const std::string &  string)
static

parses a value of type T from string (used for basic types: int, double, bool, etc.)

Referenced by GNEDetectorE2::isValid(), GNEWalk::isValid(), GNERoute::isValid(), GNERide::setAttribute(), GNEPersonTrip::setAttribute(), GNEWalk::setAttribute(), and GNEVehicle::setAttribute().

◆ parse() [2/19]

template<>
int GNEAttributeCarrier::parse ( const std::string &  string)
static

Definition at line 931 of file GNEAttributeCarrier.cpp.

References StringUtils::toInt().

◆ parse() [3/19]

template<>
double GNEAttributeCarrier::parse ( const std::string &  string)
static

Definition at line 937 of file GNEAttributeCarrier.cpp.

References StringUtils::toDouble().

◆ parse() [4/19]

template<>
SUMOTime GNEAttributeCarrier::parse ( const std::string &  string)
static

Definition at line 943 of file GNEAttributeCarrier.cpp.

References string2time().

◆ parse() [5/19]

template<>
bool GNEAttributeCarrier::parse ( const std::string &  string)
static

Definition at line 954 of file GNEAttributeCarrier.cpp.

References StringUtils::toBool().

◆ parse() [6/19]

template<>
std::string GNEAttributeCarrier::parse ( const std::string &  string)
static

Definition at line 960 of file GNEAttributeCarrier.cpp.

◆ parse() [7/19]

template<>
SUMOVehicleClass GNEAttributeCarrier::parse ( const std::string &  string)
static

Definition at line 966 of file GNEAttributeCarrier.cpp.

References SumoVehicleClassStrings, and SVC_IGNORING.

◆ parse() [8/19]

template<>
RGBColor GNEAttributeCarrier::parse ( const std::string &  string)
static

Definition at line 978 of file GNEAttributeCarrier.cpp.

References RGBColor::parseColor().

◆ parse() [9/19]

template<>
Position GNEAttributeCarrier::parse ( const std::string &  string)
static

Definition at line 984 of file GNEAttributeCarrier.cpp.

References GeomConvHelper::parseShapeReporting().

◆ parse() [10/19]

template<>
PositionVector GNEAttributeCarrier::parse ( const std::string &  string)
static

Definition at line 1000 of file GNEAttributeCarrier.cpp.

References GeomConvHelper::parseShapeReporting().

◆ parse() [11/19]

template<>
SUMOVehicleShape GNEAttributeCarrier::parse ( const std::string &  string)
static

Definition at line 1018 of file GNEAttributeCarrier.cpp.

References SumoVehicleShapeStrings, and SVS_UNKNOWN.

◆ parse() [12/19]

template<>
std::vector<std::string> GNEAttributeCarrier::parse ( const std::string &  string)
static

Definition at line 1028 of file GNEAttributeCarrier.cpp.

References StringTokenizer::getVector().

◆ parse() [13/19]

template<>
std::set<std::string> GNEAttributeCarrier::parse ( const std::string &  string)
static

Definition at line 1034 of file GNEAttributeCarrier.cpp.

References StringTokenizer::getVector().

◆ parse() [14/19]

template<>
std::vector<int> GNEAttributeCarrier::parse ( const std::string &  string)
static

Definition at line 1045 of file GNEAttributeCarrier.cpp.

◆ parse() [15/19]

template<>
std::vector<double> GNEAttributeCarrier::parse ( const std::string &  string)
static

Definition at line 1056 of file GNEAttributeCarrier.cpp.

◆ parse() [16/19]

template<>
std::vector<bool> GNEAttributeCarrier::parse ( const std::string &  string)
static

Definition at line 1067 of file GNEAttributeCarrier.cpp.

◆ parse() [17/19]

template<typename T >
static T GNEAttributeCarrier::parse ( GNENet net,
const std::string &  value 
)
static

parses a complex value of type T from string (use for list of edges, list of lanes, etc.)

◆ parse() [18/19]

template<>
std::vector<GNEEdge*> GNEAttributeCarrier::parse ( GNENet net,
const std::string &  value 
)
static

◆ parse() [19/19]

template<>
std::vector<GNELane*> GNEAttributeCarrier::parse ( GNENet net,
const std::string &  value 
)
static

◆ parseAttributeFromXML()

template<typename T >
static T GNEAttributeCarrier::parseAttributeFromXML ( const SUMOSAXAttributes attrs,
const std::string &  objectID,
const SumoXMLTag  tag,
const SumoXMLAttr  attribute,
bool &  abort 
)
inlinestatic

◆ parseIDs() [1/3]

template<>
std::string GNEAttributeCarrier::parseIDs ( const std::vector< GNEEdge * > &  ACs)
static

Definition at line 1114 of file GNEAttributeCarrier.cpp.

References joinToString().

◆ parseIDs() [2/3]

template<>
std::string GNEAttributeCarrier::parseIDs ( const std::vector< GNELane * > &  ACs)
static

Definition at line 1125 of file GNEAttributeCarrier.cpp.

References joinToString().

◆ parseIDs() [3/3]

template<typename T >
static std::string GNEAttributeCarrier::parseIDs ( const std::vector< T > &  ACs)
static

◆ parseMaskedPositionAttribute()

bool GNEAttributeCarrier::parseMaskedPositionAttribute ( const SUMOSAXAttributes attrs,
const std::string &  objectID,
const TagProperties tagProperties,
const AttributeProperties attrProperties,
std::string &  parsedAttribute,
std::string &  warningMessage 
)
staticprivate

◆ selectAttributeCarrier()

◆ setAttribute() [1/2]

◆ setAttribute() [2/2]

◆ setEnabledAttribute()

virtual void GNEAttributeCarrier::setEnabledAttribute ( const int  enabledAttributes)
privatepure virtual

◆ unreferenced()

◆ unselectAttributeCarrier()

◆ updateGeometry()

Friends And Related Function Documentation

◆ GNEChange_Attribute

friend class GNEChange_Attribute
friend

declare friend class

Definition at line 57 of file GNEAttributeCarrier.h.

Referenced by GNETAZ::commitGeometryMoving(), GNEDetectorE3::commitGeometryMoving(), GNEParkingSpace::commitGeometryMoving(), GNEVariableSpeedSign::commitGeometryMoving(), GNEAccess::commitGeometryMoving(), GNERerouter::commitGeometryMoving(), GNEDetectorE1::commitGeometryMoving(), GNEDetectorEntryExit::commitGeometryMoving(), GNEDetectorE1Instant::commitGeometryMoving(), GNEStoppingPlace::commitGeometryMoving(), GNEStop::commitGeometryMoving(), GNEDetectorE2::commitGeometryMoving(), GNERide::commitGeometryMoving(), GNEPOI::commitGeometryMoving(), GNEPersonTrip::commitGeometryMoving(), GNEWalk::commitGeometryMoving(), GNEJunction::commitGeometryMoving(), GNETAZ::commitShapeChange(), GNEPoly::commitShapeChange(), GNEEdge::commitShapeChange(), GNEEdge::commitShapeEndChange(), GNEEdge::commitShapeStartChange(), GNEStop::enableAttribute(), GNEJunction::invalidateTLS(), GNEJunction::markAsModified(), GNERoute::GNERoutePopupMenu::onCmdApplyDistance(), GNEContainerStop::setAttribute(), GNEBusStop::setAttribute(), GNEChargingStation::setAttribute(), GNEParkingArea::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorEntryExit::setAttribute(), GNEVaporizer::setAttribute(), GNERouteProbe::setAttribute(), GNEClosingReroute::setAttribute(), GNEDetectorE3::setAttribute(), GNEDestProbReroute::setAttribute(), GNERouteProbReroute::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEParkingSpace::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNECalibratorFlow::setAttribute(), GNERerouterInterval::setAttribute(), GNETAZSourceSink::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNECrossing::setAttribute(), GNEAccess::setAttribute(), GNERerouter::setAttribute(), GNEDetectorE2::setAttribute(), GNECalibrator::setAttribute(), GNETAZ::setAttribute(), GNEConnection::setAttribute(), GNEVehicleType::setAttribute(), GNEStop::setAttribute(), GNEPoly::setAttribute(), GNELane::setAttribute(), GNEPOI::setAttribute(), GNERide::setAttribute(), GNEJunction::setAttribute(), GNEPersonTrip::setAttribute(), GNEWalk::setAttribute(), GNERoute::setAttribute(), GNEEdge::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), and GNEJunction::setLogicValid().

◆ GNEChange_EnableAttribute

Field Documentation

◆ dummyTagProperty

GNEAttributeCarrier::TagProperties GNEAttributeCarrier::dummyTagProperty
staticprotected

dummy TagProperty used for reference some elements (for Example, dummyEdge)

Definition at line 791 of file GNEAttributeCarrier.h.

Referenced by getTagProperties().

◆ FEATURE_APPROVED

const std::string GNEAttributeCarrier::FEATURE_APPROVED = "approved"
static

feature has been approved but not changed (i.e. after being reguessed)

Definition at line 601 of file GNEAttributeCarrier.h.

◆ FEATURE_GUESSED

const std::string GNEAttributeCarrier::FEATURE_GUESSED = "guessed"
static

feature has been reguessed (may still be unchanged be we can't tell (yet)

Definition at line 595 of file GNEAttributeCarrier.h.

Referenced by GNEJunction::setAttribute(), and GNEEdge::setAttribute().

◆ FEATURE_LOADED

const std::string GNEAttributeCarrier::FEATURE_LOADED = "loaded"
static

Definition at line 592 of file GNEAttributeCarrier.h.

◆ FEATURE_MODIFIED

const std::string GNEAttributeCarrier::FEATURE_MODIFIED = "modified"
static

feature has been manually modified (implies approval)

Definition at line 598 of file GNEAttributeCarrier.h.

Referenced by GNEJunction::markAsModified(), and GNEConnectorFrame::ConnectionOperations::onCmdClearSelectedConnections().

◆ INVALID_POSITION

const double GNEAttributeCarrier::INVALID_POSITION
static

invalid double position

Definition at line 608 of file GNEAttributeCarrier.h.

Referenced by GNEAdditionalHandler::parseAndBuildPOI().

◆ MAXNUMBEROFATTRIBUTES

const size_t GNEAttributeCarrier::MAXNUMBEROFATTRIBUTES = 128
static

◆ myCount

int GNEReferenceCounter::myCount
privateinherited

◆ mySelected

◆ myTagProperties

◆ myTagProperty

const TagProperties& GNEAttributeCarrier::myTagProperty
protected

the xml tag to which this attribute carrier corresponds

Definition at line 785 of file GNEAttributeCarrier.h.

Referenced by GNEAttributeCarrier::TagProperties::canAutomaticSortChildren(), GNEAttributeCarrier::TagProperties::canBeReparent(), GNEAttributeCarrier::TagProperties::canBeSortedManually(), GNEAttributeCarrier::TagProperties::canBlockMovement(), GNEAttributeCarrier::TagProperties::canBlockShape(), GNEAttributeCarrier::TagProperties::canCenterCameraAfterCreation(), GNEAttributeCarrier::TagProperties::canCloseShape(), GNEAttributeCarrier::TagProperties::canMaskStartEndPos(), GNEAttributeCarrier::TagProperties::canMaskXYZPositions(), GNEAttributeCarrier::TagProperties::canWriteChildrenSeparate(), GNEAdditional::changeAdditionalID(), GNEDemandElement::changeDemandElementID(), GNERide::computePath(), GNEPersonTrip::computePath(), GNEWalk::computePath(), GNEVehicle::computePath(), GNEDetectorEntryExit::drawGL(), GNEDetectorE2::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEStop::enableAttribute(), GNEAdditional::endGeometryMoving(), getAlternativeValueForDisabledAttributes(), GNEVehicleType::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNEPerson::getBegin(), GNEVehicle::getBegin(), GNEStop::getColor(), GNEWalk::getDemandElementProblem(), GNEVehicle::getDemandElementProblem(), GNEDemandElement::getFirstAllowedVehicleLane(), GNENetElement::getHierarchyName(), GNERide::getHierarchyName(), GNEPersonTrip::getHierarchyName(), GNEWalk::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), getIcon(), GNEDemandElement::getLastAllowedVehicleLane(), GNENetElement::getParameterWindow(), GNEAdditional::getParameterWindow(), GNEDemandElement::getParameterWindow(), GNEVehicle::getParentName(), GNENetElement::getPopUpID(), GNERide::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), getTagProperty(), getTagStr(), GNEAttributeCarrier::TagProperties::hasDialog(), GNEAttributeCarrier::TagProperties::hasGEOPosition(), GNEAttributeCarrier::TagProperties::hasGEOShape(), GNEAttributeCarrier::TagProperties::hasMinimumNumberOfChildren(), GNEAttributeCarrier::TagProperties::hasParameters(), GNEAttributeCarrier::TagProperties::hasParent(), GNEAttributeCarrier::TagProperties::hasTagSynonym(), GNERide::invalidatePath(), GNEPersonTrip::invalidatePath(), GNEWalk::invalidatePath(), GNEVehicle::invalidatePath(), GNEStop::isDemandElementValid(), GNEWalk::isDemandElementValid(), GNEVehicle::isDemandElementValid(), GNEAttributeCarrier::TagProperties::isDrawable(), GNEAttributeCarrier::TagProperties::isPlacedInRTree(), GNEAttributeCarrier::TagProperties::isSelectable(), GNEPersonTrip::isValid(), GNEAdditional::isValidAdditionalID(), GNEDemandElement::isValidDemandElementID(), GNEAdditional::isValidDetectorID(), GNEVehicleType::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEAdditional::setDefaultValues(), GNEDetector::splitEdgeGeometry(), GNEWalk::splitEdgeGeometry(), GNEAdditional::startGeometryMoving(), GNEWalk::updateGeometry(), GNEAdditional::writeAdditional(), GNEWalk::writeDemandElement(), GNERoute::writeDemandElement(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().


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