43 myJunction(junction) {
45 junction->incRef(
"GNEChange_Junction");
GNEInspectorFrame * getInspectorFrame() const
get frame for GNE_MODE_INSPECT
the function-object for an editing operation (abstract base)
root element of a network file
begin/end of the description of a junction
GNEViewParent * getViewParent() const
get the net object
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)
GNEFrame::ACHierarchy * getACHierarchy() const
get ACHierarchy
GNEJunction * myJunction
full information regarding the junction that is to be created/deleted
void refreshACHierarchy()
refresh ACHierarchy
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...
void deleteSingleJunction(GNEJunction *junction)
deletes a single junction
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
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
GNEViewNet * getViewNet() const
get view net