 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
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< GNELane * > & myLaneChildren
reference to vector of lane children
bool unreferenced()
check if object ins't referenced
void removeShape(GNEShape *shape, bool updateViewAfterDeleting)
remove created shape (but NOT delete)
const std::string getID() const
function to support debugging
GNEPOI * retrievePOI(const std::string &id, bool failHard=true) const
get POI by id
const std::vector< GNEEdge * > & myEdgeParents
reference to vector of edge parents
bool isPlacedInRTree() const
return true if Tag correspond to an element that has has to be placed in RTREE
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
void removeGLObjectFromGrid(GUIGlObject *o)
add GL Object into net
const std::vector< GNEEdge * > & myEdgeChildren
reference to vector of edge children
GNEPoly * retrievePolygon(const std::string &id, bool failHard=true) const
get Polygon by id
const TagProperties & getTagProperty() const
get Tag Property assigned to this object
const std::vector< GNEAdditional * > & myAdditionalParents
reference to vector of additional parents
bool remove(const std::string &id, const bool del=true)
Removes an item.
~GNEChange_Shape()
Destructor.
const std::vector< GNEDemandElement * > & myDemandElementChildren
reference to vector of demand element children
GNENet * myNet
the net to which operations shall be applied or which shall be informed about gui updates (we are not...
void decRef(const std::string &debugMsg="")
Decrease reference.
const std::vector< GNELane * > & myLaneParents
reference to vector of lane parents
FXString redoName() const
get Redo name
const std::vector< GNEDemandElement * > & myDemandElementParents
reference to vector of demand element parents
FXString undoName() const
return undoName
const std::vector< GNEAdditional * > & myAdditionalChildren
reference to vector of additional children
const std::string & getTagStr() const
get tag assigned to this object in string format
GNEShape * myShape
pointer to shape
the function-object for an editing operation (abstract base)
Polygons myPolygons
stored Polygons
void insertShape(GNEShape *shape, bool updateViewAfterDeleting)
insert shape
const std::vector< GNEShape * > & myShapeChildren
reference to vector of shape children