54 myPoly->incRef(
"GNEChange_Poly");
GNEPoly * myPoly
pointer to polygon
the function-object for an editing operation (abstract base)
void removePolygonOfView(GNEPoly *p)
remove polygon of view net
bool removePolygon(const std::string &id)
Removes a polygon from the container.
bool getBool(const std::string &name) const
Returns the boolean-value of the named option (only for Option_Bool)
A NBNetBuilder extended by visualisation and editing capabilities.
FXString undoName() const
return undoName
#define WRITE_WARNING(msg)
static OptionsCont & getOptions()
Retrieves the options.
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
void insertPolygonInView(GNEPoly *p)
insert created polygon in view net
FXString redoName() const
get Redo name
const std::string getID() const
function to support debugging
void decRef(const std::string &debugMsg="")
Decrease reference.
~GNEChange_Poly()
Destructor.
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 ...
void requiereSaveShapes()
inform that shapes has to be saved
bool unreferenced()
check if object ins't referenced
begin/end of the description of a polygon