![]() |
Eclipse SUMO - Simulation of Urban MObility
|
struct with the attribute Properties More...
#include <GNEAttributeCarrier.h>
Public Member Functions | |
void | addAttribute (const AttributeProperties &attributeProperty) |
add attribute (duplicated attributed aren't allowed) More... | |
void | addDeprecatedAttribute (SumoXMLAttr attr) |
add deprecated Attribute More... | |
std::vector< AttributeProperties >::const_iterator | begin () const |
get begin of attribute values (used for iterate) More... | |
bool | canAutomaticSortChildren () const |
return true if tag correspond to an element that can sort their children automatic More... | |
bool | canBeReparent () const |
return true if tag correspond to an element that can be reparent More... | |
bool | canBeSortedManually () const |
return true if Tag correspond to an element that can be sorted within their parent 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 | canCenterCameraAfterCreation () const |
return true if tag correspond to an element that center camera after creation 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 "length" 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 | canWriteChildrenSeparate () const |
return true if tag correspond to an element that can sort their children automatic More... | |
void | checkTagIntegrity () const |
check Tag integrity (this include all their attributes) More... | |
std::vector< 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... | |
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 | 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 | hasMinimumNumberOfChildren () const |
return true if tag correspond to an element that only have a limited number of children More... | |
bool | hasParameters () const |
return true if Tag correspond to an element that supports parameters "key1=value1|key2=value2|...|keyN=valueN" 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 | isDemandElement () const |
return true if tag correspond to a demand element 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 | isPerson () const |
return true if tag correspond to a person element More... | |
bool | isPersonPlan () const |
return true if tag correspond to a person plan More... | |
bool | isPersonStop () const |
return true if tag correspond to a person stop element More... | |
bool | isPersonTrip () const |
return true if tag correspond to a person trip More... | |
bool | isPlacedInRTree () const |
return true if Tag correspond to an element that has has to be placed in RTREE More... | |
bool | isRide () const |
return true if tag correspond to a ride element More... | |
bool | isRoute () const |
return true if tag correspond to a route element 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 | isStop () const |
return true if tag correspond to a stop element 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... | |
bool | isVehicle () const |
return true if tag correspond to a vehicle element More... | |
bool | isVehicleType () const |
return true if tag correspond to a vehicle type element More... | |
bool | isWalk () const |
return true if tag correspond to a walk element More... | |
TagProperties () | |
default constructor More... | |
TagProperties (SumoXMLTag tag, int tagType, int tagProperty, GUIIcon icon, SumoXMLTag parentTag=SUMO_TAG_NOTHING, SumoXMLTag tagSynonym=SUMO_TAG_NOTHING) | |
parameter constructor More... | |
~TagProperties () | |
destructor More... | |
Private Attributes | |
std::vector< AttributeProperties > | myAttributeProperties |
vector 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... | |
SumoXMLTag | myTag |
Sumo XML Tag vinculated wit this tag Property. More... | |
int | myTagProperty |
Attribute properties. 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... | |
int | myTagType |
Attribute Type. More... | |
struct with the attribute Properties
Definition at line 317 of file GNEAttributeCarrier.h.
GNEAttributeCarrier::TagProperties::TagProperties | ( | ) |
default constructor
Definition at line 498 of file GNEAttributeCarrier.cpp.
GNEAttributeCarrier::TagProperties::TagProperties | ( | SumoXMLTag | tag, |
int | tagType, | ||
int | tagProperty, | ||
GUIIcon | icon, | ||
SumoXMLTag | parentTag = SUMO_TAG_NOTHING , |
||
SumoXMLTag | tagSynonym = SUMO_TAG_NOTHING |
||
) |
parameter constructor
Definition at line 508 of file GNEAttributeCarrier.cpp.
GNEAttributeCarrier::TagProperties::~TagProperties | ( | ) |
destructor
Definition at line 519 of file GNEAttributeCarrier.cpp.
void GNEAttributeCarrier::TagProperties::addAttribute | ( | const AttributeProperties & | attributeProperty | ) |
add attribute (duplicated attributed aren't allowed)
Definition at line 590 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::AttributeProperties::getAttr(), GNEAttributeCarrier::AttributeProperties::getAttrStr(), and GNEAttributeCarrier::MAXNUMBEROFATTRIBUTES.
void GNEAttributeCarrier::TagProperties::addDeprecatedAttribute | ( | SumoXMLAttr | attr | ) |
add deprecated Attribute
Definition at line 610 of file GNEAttributeCarrier.cpp.
References toString().
std::vector< GNEAttributeCarrier::AttributeProperties >::const_iterator GNEAttributeCarrier::TagProperties::begin | ( | ) | const |
get begin of attribute values (used for iterate)
Definition at line 636 of file GNEAttributeCarrier.cpp.
bool GNEAttributeCarrier::TagProperties::canAutomaticSortChildren | ( | ) | const |
return true if tag correspond to an element that can sort their children automatic
Definition at line 883 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_AUTOMATICSORTING.
Referenced by GNEHierarchicalChildElements::addChildAdditional(), GNEHierarchicalChildElements::addChildDemandElement(), GNEHierarchicalChildElements::removeChildAdditional(), and GNEHierarchicalChildElements::removeChildDemandElement().
bool GNEAttributeCarrier::TagProperties::canBeReparent | ( | ) | const |
return true if tag correspond to an element that can be reparent
Definition at line 877 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_REPARENT.
bool GNEAttributeCarrier::TagProperties::canBeSortedManually | ( | ) | const |
return true if Tag correspond to an element that can be sorted within their parent
Definition at line 871 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_SORTINGCHILDREN.
bool GNEAttributeCarrier::TagProperties::canBlockMovement | ( | ) | const |
return true if tag correspond to an element that can block their movement
Definition at line 804 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_BLOCKMOVEMENT.
Referenced by GNEFrameAttributesModuls::NeteditAttributes::showNeteditAttributesModul().
bool GNEAttributeCarrier::TagProperties::canBlockShape | ( | ) | const |
return true if tag correspond to an element that can block their shape
Definition at line 810 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_BLOCKSHAPE.
Referenced by GNEFrameAttributesModuls::NeteditAttributes::showNeteditAttributesModul().
bool GNEAttributeCarrier::TagProperties::canCenterCameraAfterCreation | ( | ) | const |
return true if tag correspond to an element that center camera after creation
Definition at line 907 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_CENTERAFTERCREATION.
Referenced by GNEFrameAttributesModuls::NeteditAttributes::showNeteditAttributesModul().
bool GNEAttributeCarrier::TagProperties::canCloseShape | ( | ) | const |
return true if tag correspond to an element that can close their shape
Definition at line 816 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_CLOSESHAPE.
Referenced by GNEFrameAttributesModuls::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 "length"
Definition at line 895 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_MASKSTARTENDPOS.
Referenced by GNEFrameAttributesModuls::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 901 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_MASKXYZPOSITION.
Referenced by GNEAdditional::writeAdditional().
bool GNEAttributeCarrier::TagProperties::canWriteChildrenSeparate | ( | ) | const |
return true if tag correspond to an element that can sort their children automatic
Definition at line 889 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_WRITECHILDRENSEPARATE.
Referenced by GNEAdditional::writeAdditional().
void GNEAttributeCarrier::TagProperties::checkTagIntegrity | ( | ) | const |
check Tag integrity (this include all their attributes)
Definition at line 535 of file GNEAttributeCarrier.cpp.
References SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMO_ATTR_ENDPOS, SUMO_ATTR_STARTPOS, and SUMO_TAG_NOTHING.
std::vector< GNEAttributeCarrier::AttributeProperties >::const_iterator GNEAttributeCarrier::TagProperties::end | ( | ) | const |
get end of attribute values (used for iterate)
Definition at line 642 of file GNEAttributeCarrier.cpp.
const GNEAttributeCarrier::AttributeProperties & GNEAttributeCarrier::TagProperties::getAttributeProperties | ( | SumoXMLAttr | attr | ) | const |
get attribute (throw error if doesn't exist)
Definition at line 623 of file GNEAttributeCarrier.cpp.
References toString().
Referenced by GNEStop::enableAttribute(), GNEAttributeCarrier::getAlternativeValueForDisabledAttributes(), GNEChange_Attribute::redo(), GNENet::replaceInListAttribute(), GNEVehicleType::setAttribute(), and GNEChange_Attribute::undo().
const std::string & GNEAttributeCarrier::TagProperties::getDefaultValue | ( | SumoXMLAttr | attr | ) | const |
return the default value of the attribute of an element
Definition at line 574 of file GNEAttributeCarrier.cpp.
References toString().
Referenced by GNEVehicleType::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNEVehicleType::setAttribute(), GNEPerson::setAttribute(), and GNEVehicle::setAttribute().
GUIIcon GNEAttributeCarrier::TagProperties::getGUIIcon | ( | ) | const |
get GUI icon associated to this Tag
Definition at line 654 of file GNEAttributeCarrier.cpp.
Referenced by GNEAttributeCarrier::getIcon().
int GNEAttributeCarrier::TagProperties::getNumberOfAttributes | ( | ) | const |
get number of attributes
Definition at line 648 of file GNEAttributeCarrier.cpp.
Referenced by GNENetElement::getParameterWindow(), GNEAdditional::getParameterWindow(), GNEDemandElement::getParameterWindow(), and GNEFrame::openHelpAttributesDialog().
SumoXMLTag GNEAttributeCarrier::TagProperties::getParentTag | ( | ) | const |
if Tag owns a parent, return parent tag
Definition at line 660 of file GNEAttributeCarrier.cpp.
Referenced by GNEAdditionalFrame::buildAdditionalWithParent(), and GNEAdditionalFrame::tagSelected().
SumoXMLTag GNEAttributeCarrier::TagProperties::getTag | ( | ) | const |
get Tag vinculated with this attribute Property
Definition at line 523 of file GNEAttributeCarrier.cpp.
Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNEAdditionalFrame::addAdditional(), GNEHierarchicalChildElements::addChildDemandElement(), GNENet::additionalExist(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlan(), GNEStopFrame::addStop(), GNETAZFrame::TAZCurrent::addTAZChild(), GNEVehicleFrame::addVehicle(), GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection(), GNEAdditionalFrame::buildAdditionalCommonAttributes(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverLanes(), GNEAdditionalFrame::buildAdditionalOverView(), GNEAdditionalFrame::buildAdditionalWithParent(), GNEPersonFrame::buildPerson(), GNEPersonFrame::buildPersonOverRoute(), GNEPersonFrame::buildPersonOverStop(), GNEAdditional::changeAdditionalID(), GNEDemandElement::changeDemandElementID(), GNENet::changeShapeID(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNERide::computePath(), GNEPersonTrip::computePath(), GNEWalk::computePath(), GNEVehicle::computePath(), GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::demandElementExist(), GNEPersonFrame::demandElementSelected(), GNEStopFrame::demandElementSelected(), GNEPersonPlanFrame::demandElementSelected(), GNEDetectorEntryExit::drawGL(), GNEDetectorE2::drawGL(), GNEVehicle::drawGL(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNEPersonFrame::edgePathCreated(), GNEVehicleFrame::edgePathCreated(), GNEAdditionalFrame::generateID(), GNEViewNet::getAttributeCarriersInBoundary(), GNEPerson::getBegin(), GNEVehicle::getBegin(), GNEWalk::getDemandElementProblem(), GNEVehicle::getDemandElementProblem(), GNEDemandElement::getFirstAllowedVehicleLane(), GNENetElement::getHierarchyName(), GNERide::getHierarchyName(), GNEPersonTrip::getHierarchyName(), GNEWalk::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEDemandElement::getLastAllowedVehicleLane(), GNEHierarchicalParentElements::getNewListOfParents(), GNEVehicle::getParentName(), GNENetElement::getPopUpID(), GNEEdge::getRouteProbeRelativePosition(), GNEStopFrame::getStopParameter(), GNEAdditionalHandler::GNEAdditionalHandler(), GNENet::insertAdditional(), GNENet::insertDemandElement(), GNENet::insertShape(), GNEInspectorFrame::inspectSingleElement(), GNERide::invalidatePath(), GNEPersonTrip::invalidatePath(), GNEWalk::invalidatePath(), GNEVehicle::invalidatePath(), GNEStop::isDemandElementValid(), GNEWalk::isDemandElementValid(), GNEVehicle::isDemandElementValid(), GNEAdditional::isValidAdditionalID(), GNEDemandElement::isValidDemandElementID(), GNEAdditional::isValidDetectorID(), GNEPersonPlanFrame::personPlanCreated(), GNEPolygonFrame::processClick(), GNEViewNet::processLeftButtonPressNetwork(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEChange_DemandElement::redo(), GNEDeleteFrame::removeAttributeCarrier(), GNEHierarchicalChildElements::removeChildDemandElement(), GNENet::removeShape(), GNEAdditionalHandler::HierarchyInsertedAdditionals::retrieveParentAdditional(), GNENet::retrieveShapes(), GNEInspectorFrame::selectedOverlappedElement(), GNEFrameModuls::DemandElementSelector::setDemandElement(), GNELane::setLaneColor(), GNENet::setViewNet(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEHierarchicalChildElements::sortChildAdditionals(), GNEStoppingPlace::splitEdgeGeometry(), GNECalibrator::splitEdgeGeometry(), GNEDetector::splitEdgeGeometry(), GNEWalk::splitEdgeGeometry(), GNERoute::splitEdgeGeometry(), GNEViewNetHelper::EditShapes::startEditCustomShape(), GNEPersonFrame::tagSelected(), GNEVehicleFrame::tagSelected(), GNEStopFrame::tagSelected(), GNEPolygonFrame::tagSelected(), GNEPersonPlanFrame::tagSelected(), GNEAdditionalFrame::tagSelected(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEChange_DemandElement::undo(), GNENet::updateAdditionalID(), GNENet::updateDemandElementID(), GNEWalk::updateGeometry(), GNEAdditional::writeAdditional(), GNEWalk::writeDemandElement(), GNERoute::writeDemandElement(), GNEPerson::writeDemandElement(), GNEVehicle::writeDemandElement(), GNEChange_Attribute::~GNEChange_Attribute(), and GNEChange_EnableAttribute::~GNEChange_EnableAttribute().
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 529 of file GNEAttributeCarrier.cpp.
Referenced by GNEAdditionalFrame::buildAdditionalWithParent(), GNEPersonFrame::buildPersonOverRoute(), GNEPersonFrame::buildPersonOverStop(), GNEAttributeCarrier::checkParsedAttribute(), GNEPersonFrame::edgePathCreated(), GNEStopFrame::getStopParameter(), GNEAttributeCarrier::getTagStr(), GNEPersonTrip::isValid(), GNEFrame::openHelpAttributesDialog(), GNEAttributeCarrier::parseMaskedPositionAttribute(), GNEPersonPlanFrame::personPlanCreated(), and GNEChange_EnableAttribute::~GNEChange_EnableAttribute().
SumoXMLTag GNEAttributeCarrier::TagProperties::getTagSynonym | ( | ) | const |
get tag synonym
Definition at line 670 of file GNEAttributeCarrier.cpp.
Referenced by GNEAdditional::writeAdditional(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().
bool GNEAttributeCarrier::TagProperties::hasAttribute | ( | SumoXMLAttr | attr | ) | const |
check if current TagProperties owns the attribute attr
Definition at line 680 of file GNEAttributeCarrier.cpp.
Referenced by GNEAdditionalFrame::buildAdditionalCommonAttributes(), GNEAdditionalFrame::buildAdditionalOverLanes(), GNEEdge::drawPartialPersonPlan(), GNEAttributeCarrier::getAlternativeValueForDisabledAttributes(), GNEDemandElement::getFirstAllowedVehicleLane(), GNEDemandElement::getLastAllowedVehicleLane(), GNEAdditional::getPopUpMenu(), GNEChange_Attribute::redo(), GNEVehicleType::setAttribute(), GNEAdditional::startGeometryMoving(), GNEAdditionalFrame::tagSelected(), GNEChange_Attribute::undo(), and GNEAdditional::writeAdditional().
bool GNEAttributeCarrier::TagProperties::hasDialog | ( | ) | const |
return true if tag correspond to an element that can be edited using a dialog
Definition at line 846 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_DIALOG.
Referenced by GNERide::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), and GNEViewNet::onCmdOpenAdditionalDialog().
bool GNEAttributeCarrier::TagProperties::hasGEOPosition | ( | ) | const |
return true if tag correspond to an element that can use a geo position
Definition at line 822 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::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 828 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_GEOSHAPE.
bool GNEAttributeCarrier::TagProperties::hasMinimumNumberOfChildren | ( | ) | const |
return true if tag correspond to an element that only have a limited number of children
Definition at line 852 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_MINIMUMCHILDREN.
Referenced by GNEAdditional::writeAdditional().
bool GNEAttributeCarrier::TagProperties::hasParameters | ( | ) | const |
return true if Tag correspond to an element that supports parameters "key1=value1|key2=value2|...|keyN=valueN"
Definition at line 858 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_NOPARAMETERS.
Referenced by GNEAdditionalHandler::parseParameter(), and GNEFrameAttributesModuls::ParametersEditor::showParametersEditor().
bool GNEAttributeCarrier::TagProperties::hasParent | ( | ) | const |
return true if tag correspond to an element that can had another element as parent
Definition at line 834 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_PARENT.
Referenced by GNEAdditionalFrame::tagSelected().
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 840 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_SYNONYM.
Referenced by GNEAdditional::writeAdditional(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().
bool GNEAttributeCarrier::TagProperties::isAdditional | ( | ) | const |
return true if tag correspond to an additional
Definition at line 698 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::TAGTYPE_ADDITIONAL.
Referenced by GNEChange_EnableAttribute::redo(), GNEChange_Attribute::redo(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEChange_EnableAttribute::undo(), and GNEChange_Attribute::undo().
bool GNEAttributeCarrier::TagProperties::isAttributeDeprecated | ( | SumoXMLAttr | attr | ) | const |
return true if attribute of this tag is deprecated
Definition at line 913 of file GNEAttributeCarrier.cpp.
bool GNEAttributeCarrier::TagProperties::isDemandElement | ( | ) | const |
return true if tag correspond to a demand element
Definition at line 715 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::TAGTYPE_DEMANDELEMENT.
Referenced by GNEFrameAttributesModuls::AttributesEditorRow::AttributesEditorRow(), GNEAttributeCarrier::checkParsedAttribute(), GNENet::getSelectedAttributeCarriers(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEChange_EnableAttribute::redo(), GNEChange_Attribute::redo(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEChange_EnableAttribute::undo(), and GNEChange_Attribute::undo().
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 727 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::TAGTYPE_DETECTOR.
Referenced by GNEAttributeCarrier::checkParsedAttribute(), and GNENet::saveAdditionalsConfirmed().
bool GNEAttributeCarrier::TagProperties::isDrawable | ( | ) | const |
return true if tag correspond to a drawable element
Definition at line 792 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_DRAWABLE.
Referenced by GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNEAdditional::endGeometryMoving(), GNENet::insertAdditional(), GNENet::insertDemandElement(), and GNEAdditional::startGeometryMoving().
bool GNEAttributeCarrier::TagProperties::isNetElement | ( | ) | const |
return true if tag correspond to a netElement
Definition at line 692 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::TAGTYPE_NETELEMENT.
Referenced by GNEChange_EnableAttribute::redo(), GNEChange_Attribute::redo(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEChange_EnableAttribute::undo(), and GNEChange_Attribute::undo().
bool GNEAttributeCarrier::TagProperties::isPerson | ( | ) | const |
return true if tag correspond to a person element
Definition at line 756 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::TAGTYPE_PERSON.
Referenced by GNERouteHandler::buildStop(), GNENet::deleteDemandElement(), GNEViewNet::doPaintGL(), GNENet::insertDemandElement(), and GNEViewNet::onCmdToogleLockPerson().
bool GNEAttributeCarrier::TagProperties::isPersonPlan | ( | ) | const |
return true if tag correspond to a person plan
Definition at line 762 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::TAGTYPE_PERSONPLAN.
Referenced by GNENet::deleteDemandElement(), GNEViewNet::doPaintGL(), GNEStop::drawGL(), and GNEEdge::drawPartialPersonPlan().
bool GNEAttributeCarrier::TagProperties::isPersonStop | ( | ) | const |
return true if tag correspond to a person stop element
Definition at line 786 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::TAGTYPE_PERSONSTOP.
Referenced by GNEPersonFrame::addPerson(), GNEDemandElement::calculatePersonPlanLaneStartEndPos(), GNEDemandElement::calculatePersonPlanPositionStartEndPos(), GNEPersonFrame::demandElementSelected(), GNEViewNet::doPaintGL(), GNEStop::drawGL(), GNEEdge::drawPartialPersonPlan(), GNEStop::getColor(), and GNEPersonFrame::tagSelected().
bool GNEAttributeCarrier::TagProperties::isPersonTrip | ( | ) | const |
return true if tag correspond to a person trip
Definition at line 768 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::TAGTYPE_PERSONTRIP.
Referenced by GNEPersonFrame::demandElementSelected(), GNEPersonPlanFrame::demandElementSelected(), GNEEdge::drawPartialPersonPlan(), GNEPersonFrame::tagSelected(), and GNEPersonPlanFrame::tagSelected().
bool GNEAttributeCarrier::TagProperties::isPlacedInRTree | ( | ) | const |
return true if Tag correspond to an element that has has to be placed in RTREE
Definition at line 865 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_RTREE.
Referenced by GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNEAdditional::endGeometryMoving(), GNENet::insertAdditional(), GNENet::insertDemandElement(), GNENet::insertShape(), GNENet::removeShape(), GNEAdditional::startGeometryMoving(), and GNEChange_Shape::~GNEChange_Shape().
bool GNEAttributeCarrier::TagProperties::isRide | ( | ) | const |
return true if tag correspond to a ride element
Definition at line 780 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::TAGTYPE_RIDE.
Referenced by GNEGeometry::calculateEdgeGeometricPath(), GNEPersonFrame::demandElementSelected(), GNEPersonPlanFrame::demandElementSelected(), GNEEdge::drawPartialPersonPlan(), GNEDemandElement::getFirstAllowedVehicleLane(), GNEDemandElement::getLastAllowedVehicleLane(), GNEPersonFrame::show(), GNEPersonFrame::tagSelected(), and GNEPersonPlanFrame::tagSelected().
bool GNEAttributeCarrier::TagProperties::isRoute | ( | ) | const |
return true if tag correspond to a route element
Definition at line 744 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::TAGTYPE_ROUTE.
Referenced by GNEVehicleFrame::addVehicle().
bool GNEAttributeCarrier::TagProperties::isSelectable | ( | ) | const |
return true if tag correspond to a selectable element
Definition at line 798 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty, and GNEAttributeCarrier::TAGPROPERTY_SELECTABLE.
Referenced by GNEDeleteFrame::ACsToDelete(), GNESelectorFrame::ACsToSelected(), GNESelectorFrame::clearCurrentSelection(), GNESelectorFrame::SelectionOperation::onCmdInvert(), and GNESelectorFrame::SelectionOperation::onCmdLoad().
bool GNEAttributeCarrier::TagProperties::isShape | ( | ) | const |
return true if tag correspond to a shape
Definition at line 703 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::TAGTYPE_SHAPE.
Referenced by GNEChange_EnableAttribute::redo(), GNEChange_Attribute::redo(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEChange_EnableAttribute::undo(), GNEChange_Attribute::undo(), GNEChange_Attribute::~GNEChange_Attribute(), and GNEChange_EnableAttribute::~GNEChange_EnableAttribute().
bool GNEAttributeCarrier::TagProperties::isStop | ( | ) | const |
return true if tag correspond to a stop element
Definition at line 750 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::TAGTYPE_STOP.
Referenced by GNEStop::drawGL().
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 721 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::TAGTYPE_STOPPINGPLACE.
Referenced by GNENet::saveAdditionalsConfirmed().
bool GNEAttributeCarrier::TagProperties::isTAZ | ( | ) | const |
return true if tag correspond to a TAZ
Definition at line 709 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::TAGTYPE_TAZ.
Referenced by GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren().
bool GNEAttributeCarrier::TagProperties::isVehicle | ( | ) | const |
return true if tag correspond to a vehicle element
Definition at line 739 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::TAGTYPE_VEHICLE.
Referenced by GNEStopFrame::addStop(), GNENet::deleteDemandElement(), GNENet::insertDemandElement(), GNENet::updateDemandElementBegin(), and GNENet::updateDemandElementID().
bool GNEAttributeCarrier::TagProperties::isVehicleType | ( | ) | const |
return true if tag correspond to a vehicle type element
Definition at line 733 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::TAGTYPE_VTYPE.
bool GNEAttributeCarrier::TagProperties::isWalk | ( | ) | const |
return true if tag correspond to a walk element
Definition at line 774 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::TAGTYPE_WALK.
Referenced by GNEPersonFrame::demandElementSelected(), GNEPersonPlanFrame::demandElementSelected(), GNEEdge::drawPartialPersonPlan(), GNEPersonFrame::tagSelected(), and GNEPersonPlanFrame::tagSelected().
|
private |
vector with the attribute values vinculated with this Tag
Definition at line 498 of file GNEAttributeCarrier.h.
|
private |
List with the deprecated Attributes.
Definition at line 510 of file GNEAttributeCarrier.h.
|
private |
icon associated to this Tag
Definition at line 501 of file GNEAttributeCarrier.h.
|
private |
parent tag
Definition at line 504 of file GNEAttributeCarrier.h.
|
private |
Sumo XML Tag vinculated wit this tag Property.
Definition at line 486 of file GNEAttributeCarrier.h.
|
private |
Attribute properties.
Definition at line 495 of file GNEAttributeCarrier.h.
|
private |
Sumo XML Tag vinculated wit this tag Property in String format.
Definition at line 489 of file GNEAttributeCarrier.h.
|
private |
Tag written in XML (If is SUMO_TAG_NOTHING), original Tag name will be written)
Definition at line 507 of file GNEAttributeCarrier.h.
|
private |
Attribute Type.
Definition at line 492 of file GNEAttributeCarrier.h.