19 #ifndef GNEChange_Attribute_h 20 #define GNEChange_Attribute_h 63 const std::string& value,
64 bool customOrigValue =
false,
65 const std::string& origValue =
"");
the function-object for an editing operation (abstract base)
GNEChange_Attribute(GNEAttributeCarrier *ac, const SumoXMLAttr key, const std::string &value, bool customOrigValue=false, const std::string &origValue="")
Constructor.
SumoXMLAttr myKey
The attribute name.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
the function-object for an editing operation (abstract base)
bool trueChange()
wether original and new value differ
std::string myNewValue
the original value
~GNEChange_Attribute()
Destructor.
FXString undoName() const
return undoName
GNEAdditional * myAdditional
used if Ac is an additional element
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
GNEShape * myShape
used if Ac is a shape element
std::string myOrigValue
the original value