52 myShape->incRef(
"GNEChange_Shape");
the function-object for an editing operation (abstract base)
FXString redoName() const
get Redo name
void removeShape(GNEShape *shape)
remove created shape (but NOT delete)
GNEShape * myShape
pointer to shape
Polygons myPolygons
stored Polygons
bool getBool(const std::string &name) const
Returns the boolean-value of the named option (only for Option_Bool)
#define WRITE_WARNING(msg)
static OptionsCont & getOptions()
Retrieves the options.
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
void insertShape(GNEShape *shape)
insert shape
FXString undoName() const
return undoName
const std::string getID() const
function to support debugging
~GNEChange_Shape()
Destructor.
void decRef(const std::string &debugMsg="")
Decrease reference.
GNENet * myNet
the net to which operations shall be applied or which shall be informed about gui updates (we are not...
bool myForward
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag ...
bool remove(const std::string &id, const bool del=true)
Removes an item.
bool unreferenced()
check if object ins't referenced
begin/end of the description of a polygon
SumoXMLTag getTag() const
get XML Tag assigned to this object