 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
16 #ifndef GNEChange_Attribute_h
17 #define GNEChange_Attribute_h
60 const std::string& value,
61 bool customOrigValue =
false,
62 const std::string& origValue =
"");
75 const std::string& value);
const std::string myOrigValue
the original value
An Element which don't belongs to GNENet but has influency in the simulation.
An Element which don't belongs to GNENet but has influency in the simulation.
A NBNetBuilder extended by visualisation and editing capabilities.
~GNEChange_Attribute()
Destructor.
bool trueChange()
wether original and new value differ
bool myForceChange
flag used to force set attributes
const std::string myNewValue
the original value
GNEChange_Attribute(GNEAttributeCarrier *ac, GNENet *net, const SumoXMLAttr key, const std::string &value, bool customOrigValue=false, const std::string &origValue="")
Constructor.
const SumoXMLAttr myKey
The attribute name (or the original attribute if we're editing a disjoint attribute)
FXString undoName() const
return undoName
FXString redoName() const
get Redo name
GNEAttributeCarrier * myAC
the net to which all operations shall be applied
the function-object for an editing operation (abstract base)
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
the function-object for an editing operation (abstract base)