111 const std::vector<GNEAdditional*>&
117 const std::vector<GNEAdditional*>&
132 std::vector<SumoXMLAttr> attributes =
getAttrs();
136 for (
auto i : attributes) {
SumoXMLTag
Numbers representing SUMO-XML - element names.
std::vector< GNEAdditional * > myAdditionalParents
list of Additional parents of this NetElement
void closeBuilding(const Parameterised *p=0)
Closes the building of the table.
GNENet * myNet
the net to inform about updates
GNENet * getNet() const
get Net in which this element is placed
GUIIcon
An enumeration of icons used by the gui applications.
A NBNetBuilder extended by visualisation and editing capabilities.
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
virtual const std::string & getParentName() const
Returns the name of the parent object.
~GNENetElement()
Destructor.
const std::vector< GNEAdditional * > & getAdditionalParents() const
return vector of additionals that have as Parameter this edge (For example, Rerouters) ...
void addAdditionalParent(GNEAdditional *additional)
add additional child to this edge
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
void addAdditionalChild(GNEAdditional *additional)
add additional child to this edge
virtual const std::string & getMicrosimID() const
Returns the id of the object as known to microsim.
std::vector< SumoXMLAttr > getAttrs() const
get vector of attributes
const std::string getID() const
function to support debugging
void removeAdditionalChild(GNEAdditional *additional)
remove additional child from this edge
static bool isUnique(SumoXMLTag tag, SumoXMLAttr attr)
whether an attribute is unique (may not be edited for a multi-selection and don't have a default valu...
virtual void updateGeometry()=0
update pre-computed geometry information
An Element which don't belongs to GNENet but has influency in the simulation.
virtual std::string getAttribute(SumoXMLAttr key) const =0
This functions has to be implemented in all GNEAttributeCarriers.
std::vector< GNEAdditional * > myAdditionalChilds
list of Additional Childs of this NetElement
void removeAdditionalParent(GNEAdditional *additional)
remove additional child from this edge
const std::vector< GNEAdditional * > & getAdditionalChilds() const
return vector of additionals that have as Parent this edge (For example, Calibrators) ...
void mkItem(const char *name, bool dynamic, ValueSource< unsigned > *src)
Adds a row which obtains its value from an unsigned-ValueSource.
GNENetElement(GNENet *net, const std::string &id, GUIGlObjectType type, SumoXMLTag tag, GUIIcon icon)
Constructor.
A window containing a gl-object's parameter.
SumoXMLTag getTag() const
get XML Tag assigned to this object