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
void insertJunction(GNEJunction *junction)
inserts a single junction into the net and into the underlying netbuild-container ...
bool getBool(const std::string &name) const
Returns the boolean-value of the named option (only for Option_Bool)
#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
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
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
SumoXMLTag getTag() const
get XML Tag assigned to this object