41 myJunction(junction) {
43 junction->incRef(
"GNEChange_Junction");
the function-object for an editing operation (abstract base)
root element of a network file
begin/end of the description of a junction
void insertJunction(GNEJunction *junction)
inserts a single junction into the net and into the underlying netbuild-container ...
~GNEChange_Junction()
Destructor.
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
GNEJunction * myJunction
full information regarding the junction that is to be created/deleted
const std::string getID() const
function to support debugging
FXString undoName() const
return undoName
void decRef(const std::string &debugMsg="")
Decrease reference.
FXString redoName() const
get Redo name
GNENet * myNet
the net to which operations shall be applied or which shall be informed about gui updates (we are not...
const std::string & getTagStr() const
get tag assigned to this object in string format
void requiereSaveNet(bool value)
inform that net has to be saved
void deleteSingleJunction(GNEJunction *junction, bool updateViewAfterDeleting)
deletes a single junction
bool myForward
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag ...
bool unreferenced()
check if object ins't referenced