35 #ifdef CHECK_MEMORY_LEAKS 55 edge->incRef(
"GNEChange_Edge");
57 myAdditionalChilds = myEdge->getAdditionalChilds();
the function-object for an editing operation (abstract base)
void insertEdge(GNEEdge *edge)
inserts a single edge into the net and into the underlying netbuild-container
std::vector< GNEAdditional * > myAdditionalChilds
we need to preserve the list of additionals vinculated with this edge
FXString redoName() const
get Redo name
FXString undoName() const
return undoName
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
void decRef(const std::string &debugMsg="")
begin/end of the description of an edge
A road/street connecting two junctions (netedit-version)
GNENet * myNet
the net to which operations shall be applied or which shall be informed about gui updates (we are not...
GNEEdge * myEdge
full information regarding the edge that is to be created/deleted
bool myForward
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag ...
void deleteAdditional(GNEAdditional *additional)
delete additional element previously inserted
void deleteSingleEdge(GNEEdge *edge)
deletes a single edge
void insertAdditional(GNEAdditional *additional, bool hardFail=true)
Insert a additional element previously created in GNEAdditionalHandler.
~GNEChange_Edge()
Destructor.