50 myJunction(junction) {
52 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
FXString redoName() const
get Redo name
bool getBool(const std::string &name) const
Returns the boolean-value of the named option (only for Option_Bool)
void insertJunction(GNEJunction *junction)
inserts a single junction into the net and into the underlying netbuild-container ...
#define WRITE_WARNING(msg)
static OptionsCont & getOptions()
Retrieves the options.
~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
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...
void deleteSingleJunction(GNEJunction *junction)
deletes a single junction
bool myForward
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag ...
SumoXMLTag getTag() const
get XML Tag assigned to this object
FXString undoName() const
return undoName
bool unreferenced()
check if object ins't referenced