 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
43 myParentEdges(shape->getParentEdges()),
44 myParentLanes(shape->getParentLanes()),
45 myParentShapes(shape->getParentShapes()),
46 myParentAdditionals(shape->getParentAdditionals()),
47 myParentDemandElements(shape->getParentDemandElements()),
48 myChildEdges(shape->getChildEdges()),
49 myChildLanes(shape->getChildLanes()),
50 myChildShapes(shape->getChildShapes()),
51 myChildAdditionals(shape->getChildAdditionals()),
52 myChildDemandElements(shape->getChildDemandElements()) {
53 myShape->incRef(
"GNEChange_Shape");
const std::vector< GNEAdditional * > & myChildAdditionals
reference to vector of child additional
const std::vector< GNELane * > & myChildLanes
reference to vector of child lanes
const std::vector< GNEShape * > & myParentShapes
reference to vector of parent shapes
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
bool isPlacedInRTree() const
return true if Tag correspond to an element that has has to be placed in RTREE
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< GNEDemandElement * > & myChildDemandElements
reference to vector of child demand elements
const std::vector< GNEAdditional * > & myParentAdditionals
reference to vector of parent additionals
const std::vector< GNEEdge * > & myParentEdges
reference to vector of parent edges
GNEPoly * retrievePolygon(const std::string &id, bool failHard=true) const
get Polygon by id
const std::vector< GNEShape * > & myChildShapes
reference to vector of child shapes
const TagProperties & getTagProperty() const
get Tag Property assigned to this object
bool remove(const std::string &id, const bool del=true)
Removes an item.
~GNEChange_Shape()
Destructor.
const std::vector< GNEEdge * > & myChildEdges
reference to vector of child edges
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< GNEDemandElement * > & myParentDemandElements
reference to vector of parent demand elements
FXString redoName() const
get Redo name
FXString undoName() const
return undoName
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< GNELane * > & myParentLanes
reference to vector of parent lanes