44 myEdgeParents(shape->getEdgeParents()),
45 myLaneParents(shape->getLaneParents()),
46 myShapeParents(shape->getShapeParents()),
47 myAdditionalParents(shape->getAdditionalParents()),
48 myDemandElementParents(shape->getDemandElementParents()),
49 myEdgeChildren(shape->getEdgeChildren()),
50 myLaneChildren(shape->getLaneChildren()),
51 myShapeChildren(shape->getShapeChildren()),
52 myAdditionalChildren(shape->getAdditionalChildren()),
53 myDemandElementChildren(shape->getDemandElementChildren()) {
54 myShape->incRef(
"GNEChange_Shape");
const std::vector< GNEEdge * > & myEdgeChildren
reference to vector of edge children
const std::vector< GNEDemandElement * > & myDemandElementParents
reference to vector of demand element parents
the function-object for an editing operation (abstract base)
const std::vector< GNELane * > & myLaneChildren
reference to vector of lane children
FXString redoName() const
get Redo name
GNEShape * myShape
pointer to shape
Polygons myPolygons
stored Polygons
GNEPOI * retrievePOI(const std::string &id, bool failHard=true) const
get POI by id
const std::vector< GNEDemandElement * > & myDemandElementChildren
reference to vector of demand element children
GNEPoly * retrievePolygon(const std::string &id, bool failHard=true) const
get Polygon by id
const std::vector< GNEAdditional * > & myAdditionalParents
reference to vector of additional parents
const std::vector< GNEEdge * > & myEdgeParents
reference to vector of edge parents
void removeShape(GNEShape *shape, bool updateViewAfterDeleting)
remove created shape (but NOT delete)
void removeGLObjectFromGrid(GUIGlObject *o)
add GL Object into net
FXString undoName() const
return undoName
bool isPlacedInRTree() const
return true if Tag correspond to an element that has has to be placed in RTREE
const std::string getID() const
function to support debugging
~GNEChange_Shape()
Destructor.
void insertShape(GNEShape *shape, bool updateViewAfterDeleting)
insert shape
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...
const std::vector< GNEShape * > & myShapeChildren
reference to vector of shape children
const std::vector< GNELane * > & myLaneParents
reference to vector of lane parents
const std::string & getTagStr() const
get tag assigned to this object in string format
const std::vector< GNEShape * > & myShapeParents
reference to vector of shape parents
bool myForward
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag ...
const TagProperties & getTagProperty() const
get Tag Property assigned to this object
bool remove(const std::string &id, const bool del=true)
Removes an item.
bool unreferenced()
check if object ins't referenced
const std::vector< GNEAdditional * > & myAdditionalChildren
reference to vector of additional children