 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
36 const std::vector<GNEJunction*>& junctionParents,
37 const std::vector<GNEEdge*>& edgeParents,
38 const std::vector<GNELane*>& laneParents,
39 const std::vector<GNEAdditional*>& additionalParents,
40 const std::vector<GNEShape*>& shapeParents,
41 const std::vector<GNETAZElement*>& TAZElementParents,
42 const std::vector<GNEDemandElement*>& demandElementParents,
43 const std::vector<GNEGenericData*>& genericDataParents) :
45 GNEHierarchicalElement(net, tag, junctionParents, edgeParents, laneParents, additionalParents, shapeParents, TAZElementParents, demandElementParents, genericDataParents) {
void disableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
void replaceParentElements(T *elementChild, const U &newParents)
replace parent elements
A NBNetBuilder extended by visualisation and editing capabilities.
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
const std::vector< GNELane * > & getParentLanes() const
get parent lanes
void toogleAttribute(SumoXMLAttr key, const bool value)
method for enable or disable the attribute and nothing else (used in GNEChange_EnableAttribute)
SumoXMLTag
Numbers representing SUMO-XML - element names.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
void shiftLaneIndex()
shift lane index
Boundary myBoundary
object boundary
A class that stores a 2D geometrical boundary.
bool isAttributeComputed(SumoXMLAttr key) const
const std::string & getID() const
get ID (all shapes have one)
static T parse(const std::string &string)
parses a value of type T from string (used for basic types: int, double, bool, etc....
const std::string & getMicrosimID() const
Returns the id of the object as known to microsim.
GUIGlObject * getGUIGlObject()
get GUIGlObject associated with this AttributeCarrier
void replaceShapeParentLanes(const std::string &value)
replace shape parent lanes
GNENet * getNet() const
get pointer to net
void enableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
const std::string & getTagStr() const
get tag assigned to this object in string format
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
GNEShape(const std::string &id, GNENet *net, GUIGlObjectType type, SumoXMLTag tag, const std::vector< GNEJunction * > &junctionParents, const std::vector< GNEEdge * > &edgeParents, const std::vector< GNELane * > &laneParents, const std::vector< GNEAdditional * > &additionalParents, const std::vector< GNEShape * > &shapeParents, const std::vector< GNETAZElement * > &TAZElementParents, const std::vector< GNEDemandElement * > &demandElementParents, const std::vector< GNEGenericData * > &genericDataParents)
Constructor.