![]() |
SUMO - Simulation of Urban MObility
|
struct with the attribute Properties More...
#include <GNEAttributeCarrier.h>
Public Member Functions | |
void | addAttribute (SumoXMLAttr attr, const int attributeProperty, const std::string &definition, const std::string &defaultValue, std::vector< std::string > discreteValues=std::vector< std::string >(), SumoXMLAttr synonym=SUMO_ATTR_NOTHING) |
add attribute (duplicated attributed aren't allowed) More... | |
void | addAttribute (SumoXMLAttr attr, const int attributeProperty, const std::string &definition, const std::string &defaultValue, SumoXMLAttr synonym) |
add attribute with synonym (duplicated attributed aren't allowed) More... | |
void | addAttribute (SumoXMLAttr attr, const int attributeProperty, const std::string &definition, const std::string &defaultValue, double minimum, double maximum) |
add attribute with a range More... | |
void | addDeprecatedAttribute (SumoXMLAttr attr) |
add deprecated Attribute More... | |
std::map< SumoXMLAttr, AttributeProperties >::const_iterator | begin () const |
get begin of attribute values (used for iterate) More... | |
bool | canAutomaticSortChilds () const |
return true if tag correspond to an element that can sort their childs automatic More... | |
bool | canBePlacedOverEdge () const |
return true if tag correspond to an element that can be placed over an edge More... | |
bool | canBePlacedOverEdges () const |
return true if tag correspond to an element that can be placed over a list of edges More... | |
bool | canBePlacedOverJunction () const |
return true if tag correspond to an element that can be placed over a junction More... | |
bool | canBePlacedOverLane () const |
return true if tag correspond to an element that can be placed over a lane More... | |
bool | canBePlacedOverLanes () const |
return true if tag correspond More... | |
bool | canBePlacedOverView () const |
return true if tag correspond to an element that can be placed over the view More... | |
bool | canBeReparent () const |
return true if tag correspond to an element that can be reparent More... | |
bool | canBlockMovement () const |
return true if tag correspond to an element that can block their movement More... | |
bool | canBlockShape () const |
return true if tag correspond to an element that can block their shape More... | |
bool | canCloseShape () const |
return true if tag correspond to an element that can close their shape More... | |
bool | canMaskStartEndPos () const |
return true if tag correspond to an element that can mask the attributes "start" and "end" position as attribute "lenght" More... | |
bool | canMaskXYZPositions () const |
return true if tag correspond to an element that can mask the attributes "X", "Y" and "Z" position as attribute "Position" More... | |
bool | canWriteChildsSeparate () const |
return true if tag correspond to an element that can sort their childs automatic More... | |
void | checkTagIntegrity () const |
check Tag integrity (this include all their attributes) More... | |
std::map< SumoXMLAttr, AttributeProperties >::const_iterator | end () const |
get end of attribute values (used for iterate) More... | |
const AttributeProperties & | getAttributeProperties (SumoXMLAttr attr) const |
get attribute (throw error if doesn't exist) More... | |
const std::string & | getDefaultValue (SumoXMLAttr attr) const |
return the default value of the attribute of an element More... | |
GUIIcon | getGUIIcon () const |
get GUI icon associated to this Tag More... | |
int | getNumberOfAttributes () const |
get number of attributes More... | |
SumoXMLTag | getParentTag () const |
if Tag owns a parent, return parent tag More... | |
int | getPositionListed () const |
get position in list (used in frames for listing tags with certain sort) More... | |
SumoXMLTag | getTag () const |
get Tag vinculated with this attribute Property More... | |
const std::string & | getTagStr () const |
get Tag vinculated with this attribute Property in String Format (used to avoid multiple calls to toString(...) More... | |
SumoXMLTag | getTagSynonym () const |
get tag synonym More... | |
bool | hasAttribute (SumoXMLAttr attr) const |
check if current TagProperties owns the attribute attr More... | |
bool | hasDialog () const |
return true if tag correspond to an element that can be edited using a dialog More... | |
bool | hasGenericParameters () const |
return true if Tag correspond to an element that supports generic parameters More... | |
bool | hasGEOPosition () const |
return true if tag correspond to an element that can use a geo position More... | |
bool | hasGEOShape () const |
return true if tag correspond to an element that can use a geo shape More... | |
bool | hasMinimumNumberOfChilds () const |
return true if tag correspond to an element that only have a limited number of childs More... | |
bool | hasParent () const |
return true if tag correspond to an element that can had another element as parent More... | |
bool | hasTagSynonym () const |
return true if tag correspond to an element that will be written in XML with another tag More... | |
bool | isAdditional () const |
return true if tag correspond to an additional More... | |
bool | isAttributeDeprecated (SumoXMLAttr attr) const |
return true if attribute of this tag is deprecated More... | |
bool | isDetector () const |
return true if tag correspond to a shape (Only used to group all detectors in the XML) More... | |
bool | isDrawable () const |
return true if tag correspond to a drawable element More... | |
bool | isNetElement () const |
return true if tag correspond to a netElement More... | |
bool | isSelectable () const |
return true if tag correspond to a selectable element More... | |
bool | isShape () const |
return true if tag correspond to a shape More... | |
bool | isStoppingPlace () const |
return true if tag correspond to a detector (Only used to group all stoppingPlaces in the output XML) More... | |
bool | isTAZ () const |
return true if tag correspond to a TAZ More... | |
TagProperties () | |
default constructor More... | |
TagProperties (SumoXMLTag tag, int tagProperty, int &positionListed, GUIIcon icon, SumoXMLTag parentTag=SUMO_TAG_NOTHING, SumoXMLTag tagSynonym=SUMO_TAG_NOTHING) | |
parameter constructor More... | |
~TagProperties () | |
destructor More... | |
Private Attributes | |
std::map< SumoXMLAttr, AttributeProperties > | myAttributeProperties |
map with the attribute values vinculated with this Tag More... | |
std::vector< SumoXMLAttr > | myDeprecatedAttributes |
List with the deprecated Attributes. More... | |
GUIIcon | myIcon |
icon associated to this Tag More... | |
SumoXMLTag | myParentTag |
parent tag More... | |
int | myPositionListed |
listed position More... | |
SumoXMLTag | myTag |
Sumo XML Tag vinculated wit this tag Property. More... | |
int | myTagProperty |
Property of attribute. More... | |
std::string | myTagStr |
Sumo XML Tag vinculated wit this tag Property in String format. More... | |
SumoXMLTag | myTagSynonym |
Tag written in XML (If is SUMO_TAG_NOTHING), original Tag name will be written) More... | |
struct with the attribute Properties
Definition at line 257 of file GNEAttributeCarrier.h.
GNEAttributeCarrier::TagProperties::TagProperties | ( | ) |
default constructor
Definition at line 378 of file GNEAttributeCarrier.cpp.
GNEAttributeCarrier::TagProperties::TagProperties | ( | SumoXMLTag | tag, |
int | tagProperty, | ||
int & | positionListed, | ||
GUIIcon | icon, | ||
SumoXMLTag | parentTag = SUMO_TAG_NOTHING , |
||
SumoXMLTag | tagSynonym = SUMO_TAG_NOTHING |
||
) |
parameter constructor
Definition at line 388 of file GNEAttributeCarrier.cpp.
GNEAttributeCarrier::TagProperties::~TagProperties | ( | ) |
destructor
Definition at line 402 of file GNEAttributeCarrier.cpp.
void GNEAttributeCarrier::TagProperties::addAttribute | ( | SumoXMLAttr | attr, |
const int | attributeProperty, | ||
const std::string & | definition, | ||
const std::string & | defaultValue, | ||
std::vector< std::string > | discreteValues = std::vector<std::string>() , |
||
SumoXMLAttr | synonym = SUMO_ATTR_NOTHING |
||
) |
add attribute (duplicated attributed aren't allowed)
Definition at line 475 of file GNEAttributeCarrier.cpp.
References isAttributeDeprecated(), myAttributeProperties, and toString().
void GNEAttributeCarrier::TagProperties::addAttribute | ( | SumoXMLAttr | attr, |
const int | attributeProperty, | ||
const std::string & | definition, | ||
const std::string & | defaultValue, | ||
SumoXMLAttr | synonym | ||
) |
add attribute with synonym (duplicated attributed aren't allowed)
Definition at line 487 of file GNEAttributeCarrier.cpp.
References isAttributeDeprecated(), myAttributeProperties, and toString().
void GNEAttributeCarrier::TagProperties::addAttribute | ( | SumoXMLAttr | attr, |
const int | attributeProperty, | ||
const std::string & | definition, | ||
const std::string & | defaultValue, | ||
double | minimum, | ||
double | maximum | ||
) |
add attribute with a range
Definition at line 499 of file GNEAttributeCarrier.cpp.
References isAttributeDeprecated(), myAttributeProperties, SUMO_ATTR_NOTHING, and toString().
void GNEAttributeCarrier::TagProperties::addDeprecatedAttribute | ( | SumoXMLAttr | attr | ) |
add deprecated Attribute
Definition at line 511 of file GNEAttributeCarrier.cpp.
References myAttributeProperties, myDeprecatedAttributes, and toString().
std::map< SumoXMLAttr, GNEAttributeCarrier::AttributeProperties >::const_iterator GNEAttributeCarrier::TagProperties::begin | ( | ) | const |
get begin of attribute values (used for iterate)
Definition at line 541 of file GNEAttributeCarrier.cpp.
References myAttributeProperties.
bool GNEAttributeCarrier::TagProperties::canAutomaticSortChilds | ( | ) | const |
return true if tag correspond to an element that can sort their childs automatic
Definition at line 706 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_AUTOMATICSORTING.
Referenced by GNEAdditional::addAdditionalChild(), and GNEAdditional::removeAdditionalChild().
bool GNEAttributeCarrier::TagProperties::canBePlacedOverEdge | ( | ) | const |
return true if tag correspond to an element that can be placed over an edge
Definition at line 724 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_PLACEDOVER_EDGE.
Referenced by checkTagIntegrity().
bool GNEAttributeCarrier::TagProperties::canBePlacedOverEdges | ( | ) | const |
return true if tag correspond to an element that can be placed over a list of edges
Definition at line 742 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_PLACEDOVER_EDGES.
Referenced by GNEAdditionalFrame::buildAdditionalCommonAttributes(), and checkTagIntegrity().
bool GNEAttributeCarrier::TagProperties::canBePlacedOverJunction | ( | ) | const |
return true if tag correspond to an element that can be placed over a junction
Definition at line 736 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_PLACEDOVER_JUNCTION.
Referenced by checkTagIntegrity().
bool GNEAttributeCarrier::TagProperties::canBePlacedOverLane | ( | ) | const |
return true if tag correspond to an element that can be placed over a lane
Definition at line 730 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_PLACEDOVER_LANE.
Referenced by checkTagIntegrity(), and GNEAdditional::startGeometryMoving().
bool GNEAttributeCarrier::TagProperties::canBePlacedOverLanes | ( | ) | const |
return true if tag correspond
Definition at line 748 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_PLACEDOVER_LANES.
Referenced by GNEAdditionalFrame::buildAdditionalCommonAttributes(), checkTagIntegrity(), and GNEAdditional::startGeometryMoving().
bool GNEAttributeCarrier::TagProperties::canBePlacedOverView | ( | ) | const |
return true if tag correspond to an element that can be placed over the view
Definition at line 718 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_PLACEDOVER_VIEW.
Referenced by checkTagIntegrity().
bool GNEAttributeCarrier::TagProperties::canBeReparent | ( | ) | const |
return true if tag correspond to an element that can be reparent
Definition at line 700 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_REPARENT.
bool GNEAttributeCarrier::TagProperties::canBlockMovement | ( | ) | const |
return true if tag correspond to an element that can block their movement
Definition at line 639 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_BLOCKMOVEMENT.
Referenced by GNEAdditional::BlockIcon::draw(), and GNEFrame::NeteditAttributes::showNeteditAttributesModul().
bool GNEAttributeCarrier::TagProperties::canBlockShape | ( | ) | const |
return true if tag correspond to an element that can block their shape
Definition at line 645 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_BLOCKSHAPE.
Referenced by GNEFrame::NeteditAttributes::showNeteditAttributesModul().
bool GNEAttributeCarrier::TagProperties::canCloseShape | ( | ) | const |
return true if tag correspond to an element that can close their shape
Definition at line 651 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_CLOSESHAPE.
Referenced by GNEFrame::NeteditAttributes::showNeteditAttributesModul().
bool GNEAttributeCarrier::TagProperties::canMaskStartEndPos | ( | ) | const |
return true if tag correspond to an element that can mask the attributes "start" and "end" position as attribute "lenght"
Definition at line 754 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_MASKSTARTENDPOS.
Referenced by checkTagIntegrity(), GNEFrame::NeteditAttributes::showNeteditAttributesModul(), and GNEAdditional::startGeometryMoving().
bool GNEAttributeCarrier::TagProperties::canMaskXYZPositions | ( | ) | const |
return true if tag correspond to an element that can mask the attributes "X", "Y" and "Z" position as attribute "Position"
Definition at line 760 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_MASKXYZPOSITION.
bool GNEAttributeCarrier::TagProperties::canWriteChildsSeparate | ( | ) | const |
return true if tag correspond to an element that can sort their childs automatic
Definition at line 712 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_WRITECHILDSSEPARATE.
void GNEAttributeCarrier::TagProperties::checkTagIntegrity | ( | ) | const |
check Tag integrity (this include all their attributes)
Definition at line 418 of file GNEAttributeCarrier.cpp.
References canBePlacedOverEdge(), canBePlacedOverEdges(), canBePlacedOverJunction(), canBePlacedOverLane(), canBePlacedOverLanes(), canBePlacedOverView(), canMaskStartEndPos(), hasAttribute(), hasTagSynonym(), isAdditional(), isDrawable(), isNetElement(), isShape(), isTAZ(), myAttributeProperties, myTagSynonym, SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMO_ATTR_ENDPOS, SUMO_ATTR_STARTPOS, and SUMO_TAG_NOTHING.
std::map< SumoXMLAttr, GNEAttributeCarrier::AttributeProperties >::const_iterator GNEAttributeCarrier::TagProperties::end | ( | ) | const |
get end of attribute values (used for iterate)
Definition at line 547 of file GNEAttributeCarrier.cpp.
References myAttributeProperties.
const GNEAttributeCarrier::AttributeProperties & GNEAttributeCarrier::TagProperties::getAttributeProperties | ( | SumoXMLAttr | attr | ) | const |
get attribute (throw error if doesn't exist)
Definition at line 524 of file GNEAttributeCarrier.cpp.
References myAttributeProperties, and toString().
Referenced by GNENet::replaceInListAttribute(), and GNEInspectorFrame::AttributesEditor::AttributeInput::showAttribute().
const std::string & GNEAttributeCarrier::TagProperties::getDefaultValue | ( | SumoXMLAttr | attr | ) | const |
return the default value of the attribute of an element
Definition at line 457 of file GNEAttributeCarrier.cpp.
References myAttributeProperties, and toString().
GUIIcon GNEAttributeCarrier::TagProperties::getGUIIcon | ( | ) | const |
get GUI icon associated to this Tag
Definition at line 559 of file GNEAttributeCarrier.cpp.
References myIcon.
Referenced by GNEAttributeCarrier::getIcon().
int GNEAttributeCarrier::TagProperties::getNumberOfAttributes | ( | ) | const |
get number of attributes
Definition at line 553 of file GNEAttributeCarrier.cpp.
References myAttributeProperties.
Referenced by GNENetElement::getParameterWindow(), GNEAdditional::getParameterWindow(), and GNEFrame::openHelpAttributesDialog().
SumoXMLTag GNEAttributeCarrier::TagProperties::getParentTag | ( | ) | const |
if Tag owns a parent, return parent tag
Definition at line 565 of file GNEAttributeCarrier.cpp.
References hasParent(), and myParentTag.
Referenced by GNEAdditionalFrame::buildAdditionalWithParent(), GNEAdditionalFrame::enableModuls(), and GNEAdditional::GNEAdditional().
int GNEAttributeCarrier::TagProperties::getPositionListed | ( | ) | const |
get position in list (used in frames for listing tags with certain sort)
Definition at line 469 of file GNEAttributeCarrier.cpp.
References myPositionListed.
SumoXMLTag GNEAttributeCarrier::TagProperties::getTag | ( | ) | const |
get Tag vinculated with this attribute Property
Definition at line 406 of file GNEAttributeCarrier.cpp.
References myTag.
Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNEAdditionalFrame::addAdditional(), GNENet::additionalExist(), GNETAZFrame::TAZCurrent::addTAZChild(), GNEViewNet::MoveMultipleElementValues::beginMoveSelection(), GNEAdditionalFrame::buildAdditionalCommonAttributes(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverLanes(), GNEAdditionalFrame::buildAdditionalOverView(), GNEAdditionalFrame::buildAdditionalWithParent(), GNEAdditional::changeAdditionalID(), GNEAdditional::changeFirstAdditionalParent(), GNEAdditional::changeSecondAdditionalParent(), GNENet::changeShapeID(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNENet::computeEverything(), GNENet::deleteAdditional(), GNEDetectorE2::drawGL(), GNEPolygonFrame::enableModuls(), GNEAdditionalFrame::generateID(), GNEViewNet::getAttributeCarriersInBoundary(), GNENetElement::getHierarchyName(), GNENetElement::getPopUpID(), GNEEdge::getRouteProbeRelativePosition(), GNEAdditional::GNEAdditional(), GNEAdditionalHandler::GNEAdditionalHandler(), GNENet::GNENet(), GNENet::insertAdditional(), GNENet::insertShape(), GNEInspectorFrame::inspectSingleElement(), GNEAdditional::isValidAdditionalID(), GNEAdditional::isValidDetectorID(), GNEPolygonFrame::GEOPOICreator::onCmdCreateGEOPOI(), GNEInspectorFrame::OverlappedInspection::onCmdNextElement(), GNEInspectorFrame::OverlappedInspection::onCmdPreviousElement(), GNEFrame::ACAttributeRow::onCmdSetAttribute(), GNEViewNet::onCmdTransformPOI(), GNEViewNet::onLeftBtnPress(), GNEPolygonFrame::processClick(), GNEInspectorFrame::processClick(), GNEDeleteFrame::removeAttributeCarrier(), GNENet::removeShape(), GNEAdditionalHandler::HierarchyInsertedAdditionals::retrieveAdditionalParent(), GNENet::retrieveShapes(), GNEFrame::ItemSelector::setCurrentTypeTag(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNEAdditional::sortAdditionalChilds(), GNEAdditionalFrame::SelectorLaneParents::stopConsecutiveLaneSelector(), GNENet::updateAdditionalID(), GNEAdditional::writeAdditional(), and GNEChange_Attribute::~GNEChange_Attribute().
const std::string & GNEAttributeCarrier::TagProperties::getTagStr | ( | ) | const |
get Tag vinculated with this attribute Property in String Format (used to avoid multiple calls to toString(...)
Definition at line 412 of file GNEAttributeCarrier.cpp.
References myTagStr.
Referenced by GNEAdditionalFrame::buildAdditionalWithParent(), GNEAdditionalFrame::generateID(), GNEAttributeCarrier::getTagStr(), GNEFrame::openHelpAttributesDialog(), and GNEAdditionalFrame::SelectorLaneParents::stopConsecutiveLaneSelector().
SumoXMLTag GNEAttributeCarrier::TagProperties::getTagSynonym | ( | ) | const |
get tag synonym
Definition at line 575 of file GNEAttributeCarrier.cpp.
References hasTagSynonym(), and myTagSynonym.
Referenced by GNEAdditional::writeAdditional().
bool GNEAttributeCarrier::TagProperties::hasAttribute | ( | SumoXMLAttr | attr | ) | const |
check if current TagProperties owns the attribute attr
Definition at line 585 of file GNEAttributeCarrier.cpp.
References myAttributeProperties.
Referenced by GNEAdditionalFrame::buildAdditionalCommonAttributes(), GNEAdditionalFrame::buildAdditionalOverLanes(), checkTagIntegrity(), GNEAdditionalFrame::enableModuls(), GNEAdditional::getPopUpMenu(), and GNEViewNet::hotkeyEnter().
bool GNEAttributeCarrier::TagProperties::hasDialog | ( | ) | const |
return true if tag correspond to an element that can be edited using a dialog
Definition at line 681 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_DIALOG.
Referenced by GNEAdditional::getPopUpMenu(), and GNEViewNet::onCmdOpenAdditionalDialog().
bool GNEAttributeCarrier::TagProperties::hasGenericParameters | ( | ) | const |
return true if Tag correspond to an element that supports generic parameters
Definition at line 693 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_NOGENERICPARAMETERS.
Referenced by GNEAdditionalHandler::parseGenericParameter().
bool GNEAttributeCarrier::TagProperties::hasGEOPosition | ( | ) | const |
return true if tag correspond to an element that can use a geo position
Definition at line 657 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_GEOPOSITION.
bool GNEAttributeCarrier::TagProperties::hasGEOShape | ( | ) | const |
return true if tag correspond to an element that can use a geo shape
Definition at line 663 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_GEOSHAPE.
bool GNEAttributeCarrier::TagProperties::hasMinimumNumberOfChilds | ( | ) | const |
return true if tag correspond to an element that only have a limited number of childs
Definition at line 687 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_MINIMUMCHILDS.
Referenced by GNEAdditional::writeAdditional().
bool GNEAttributeCarrier::TagProperties::hasParent | ( | ) | const |
return true if tag correspond to an element that can had another element as parent
Definition at line 669 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_PARENT.
Referenced by GNEAdditionalFrame::enableModuls(), and getParentTag().
bool GNEAttributeCarrier::TagProperties::hasTagSynonym | ( | ) | const |
return true if tag correspond to an element that will be written in XML with another tag
Definition at line 675 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_SYNONYM.
Referenced by checkTagIntegrity(), getTagSynonym(), and GNEAdditional::writeAdditional().
bool GNEAttributeCarrier::TagProperties::isAdditional | ( | ) | const |
return true if tag correspond to an additional
Definition at line 597 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_ADDITIONAL.
Referenced by checkTagIntegrity(), and GNEFrame::ACHierarchy::showAttributeCarrierChilds().
bool GNEAttributeCarrier::TagProperties::isAttributeDeprecated | ( | SumoXMLAttr | attr | ) | const |
return true if attribute of this tag is deprecated
Definition at line 766 of file GNEAttributeCarrier.cpp.
References myDeprecatedAttributes.
Referenced by addAttribute().
bool GNEAttributeCarrier::TagProperties::isDetector | ( | ) | const |
return true if tag correspond to a shape (Only used to group all detectors in the XML)
Definition at line 633 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_DETECTOR.
Referenced by GNENet::saveAdditionalsConfirmed().
bool GNEAttributeCarrier::TagProperties::isDrawable | ( | ) | const |
return true if tag correspond to a drawable element
Definition at line 603 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_DRAWABLE.
Referenced by checkTagIntegrity(), GNENet::deleteAdditional(), and GNENet::insertAdditional().
bool GNEAttributeCarrier::TagProperties::isNetElement | ( | ) | const |
return true if tag correspond to a netElement
Definition at line 591 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_NETELEMENT.
Referenced by checkTagIntegrity().
bool GNEAttributeCarrier::TagProperties::isSelectable | ( | ) | const |
return true if tag correspond to a selectable element
Definition at line 609 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_SELECTABLE.
bool GNEAttributeCarrier::TagProperties::isShape | ( | ) | const |
return true if tag correspond to a shape
Definition at line 615 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_SHAPE.
Referenced by checkTagIntegrity().
bool GNEAttributeCarrier::TagProperties::isStoppingPlace | ( | ) | const |
return true if tag correspond to a detector (Only used to group all stoppingPlaces in the output XML)
Definition at line 627 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_STOPPINGPLACE.
Referenced by GNENet::saveAdditionalsConfirmed().
bool GNEAttributeCarrier::TagProperties::isTAZ | ( | ) | const |
return true if tag correspond to a TAZ
Definition at line 621 of file GNEAttributeCarrier.cpp.
References myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_TAZ.
Referenced by checkTagIntegrity(), and GNEFrame::ACHierarchy::showAttributeCarrierChilds().
|
private |
map with the attribute values vinculated with this Tag
Definition at line 420 of file GNEAttributeCarrier.h.
Referenced by addAttribute(), addDeprecatedAttribute(), begin(), checkTagIntegrity(), end(), getAttributeProperties(), getDefaultValue(), getNumberOfAttributes(), and hasAttribute().
|
private |
List with the deprecated Attributes.
Definition at line 435 of file GNEAttributeCarrier.h.
Referenced by addDeprecatedAttribute(), and isAttributeDeprecated().
|
private |
icon associated to this Tag
Definition at line 423 of file GNEAttributeCarrier.h.
Referenced by getGUIIcon().
|
private |
|
private |
listed position
Definition at line 426 of file GNEAttributeCarrier.h.
Referenced by getPositionListed().
|
private |
Sumo XML Tag vinculated wit this tag Property.
Definition at line 411 of file GNEAttributeCarrier.h.
Referenced by getTag().
|
private |
Property of attribute.
Definition at line 417 of file GNEAttributeCarrier.h.
Referenced by canAutomaticSortChilds(), canBePlacedOverEdge(), canBePlacedOverEdges(), canBePlacedOverJunction(), canBePlacedOverLane(), canBePlacedOverLanes(), canBePlacedOverView(), canBeReparent(), canBlockMovement(), canBlockShape(), canCloseShape(), canMaskStartEndPos(), canMaskXYZPositions(), canWriteChildsSeparate(), hasDialog(), hasGenericParameters(), hasGEOPosition(), hasGEOShape(), hasMinimumNumberOfChilds(), hasParent(), hasTagSynonym(), isAdditional(), isDetector(), isDrawable(), isNetElement(), isSelectable(), isShape(), isStoppingPlace(), and isTAZ().
|
private |
Sumo XML Tag vinculated wit this tag Property in String format.
Definition at line 414 of file GNEAttributeCarrier.h.
Referenced by getTagStr().
|
private |
Tag written in XML (If is SUMO_TAG_NOTHING), original Tag name will be written)
Definition at line 432 of file GNEAttributeCarrier.h.
Referenced by checkTagIntegrity(), and getTagSynonym().