55 edge->incRef(
"GNEChange_Edge");
57 myAdditionalChilds = myEdge->getAdditionalChilds();
59 myGNERerouters = myEdge->getGNERerouters();
91 (*i)->removeEdgeChild(
myEdge);
106 (*i)->addEdgeChild(
myEdge);
127 (*i)->addEdgeChild(
myEdge);
142 (*i)->removeEdgeChild(
myEdge);
the function-object for an editing operation (abstract base)
root element of a network file
bool getBool(const std::string &name) const
Returns the boolean-value of the named option (only for Option_Bool)
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
#define WRITE_WARNING(msg)
static OptionsCont & getOptions()
Retrieves the options.
FXString redoName() const
get Redo name
FXString undoName() const
return undoName
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
const std::string getID() const
function to support debugging
void decRef(const std::string &debugMsg="")
Decrease reference.
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
SumoXMLTag getTag() const
get XML Tag assigned to this object
void deleteSingleEdge(GNEEdge *edge)
deletes a single edge
std::vector< GNERerouter * > myGNERerouters
we need to preserve the list of rerouters in which this edge is a child
void insertAdditional(GNEAdditional *additional, bool hardFail=true)
Insert a additional element previously created in GNEAdditionalHandler.
~GNEChange_Edge()
Destructor.
bool unreferenced()
check if object ins't referenced