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