137 return canParse<double>(value);
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
Position getPositionInView() const
Returns position of additional in view.
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
Dialog for edit rerouter intervals.
void setGenericParametersStr(const std::string &value)
set generic parameters in string format
const std::string & getAdditionalID() const
returns Additional ID
Stores the information about how to visualize structures.
std::string myNewRouteId
id of new route
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
void setDefaultValues()
change all attributes of additional with their default values (note: this cannot be undo) ...
double myProbability
probability with which a vehicle will use the given edge as destination
void moveGeometry(const Position &offset)
change the position of the element geometry without saving in undoList
void changeAdditionalID(const std::string &newID)
change ID of additional
begin/end of the description of a route
void p_add(GNEChange_Attribute *cmd)
special method, avoid empty changes, always execute
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
void commitGeometryMoving(GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(...)
A point in 2D or 3D with translation and scaling methods.
std::string getAttribute(SumoXMLAttr key) const
static bool isGenericParametersValid(const std::string &value)
check if given string can be parsed to a map/list of generic parameters
~GNERouteProbReroute()
destructor
friend class GNEChange_Attribute
declare friend class
std::string getParentName() const
Returns the name of the parent object.
probability of route of a reroute
const std::string getID() const
function to support debugging
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
GNEViewNet * getViewNet() const
Returns a pointer to GNEViewNet in which additional element is located.
An Element which don't belongs to GNENet but has influency in the simulation.
const std::string & getTagStr() const
get tag assigned to this object in string format
GNERouteProbReroute(GNERerouterIntervalDialog *rerouterIntervalDialog)
constructor (Used in GNERerouterIntervalDialog)
std::string getGenericParametersStr() const
return generic parameters in string format
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
GNENet * getNet() const
get the net object
GNEAdditional * getEditedAdditional() const
get edited Additional
const std::map< std::string, GNEAdditional * > & getAdditionalByType(SumoXMLTag type) const
get map with IDs and pointers to additionals
void updateGeometry(bool updateGrid)
update pre-computed geometry information
bool isValidAdditionalID(const std::string &newID) const
check if a new additional ID is valid
parent of an additional element
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes ...
static bool isValidVehicleID(const std::string &value)
whether the given string is a valid id for a vehicle or flow
GNEAdditional * myFirstAdditionalParent
pointer to first Additional parent
virtual Position getPositionInView() const =0
Returns position of additional in view.