Eclipse SUMO - Simulation of Urban MObility
|
#include <GNETagProperties.h>
Public Types | |
enum | Conflicts { NO_CONFLICTS = 1 << 0 , POS_LANE = 1 << 1 , POS_LANE_START = 1 << 2 , POS_LANE_END = 1 << 3 , NO_ADDITIONAL_CHILDREN = 1 << 4 } |
enum | TagParents { NO_PARENTS = 1 << 0 , VEHICLE_ROUTE = 1 << 1 , VEHICLE_ROUTE_EMBEDDED = 1 << 2 , VEHICLE_EDGES = 1 << 3 , VEHICLE_JUNCTIONS = 1 << 4 , VEHICLE_TAZS = 1 << 5 , PLAN_CONSECUTIVE_EDGES = 1 << 6 , PLAN_ROUTE = 1 << 7 , PLAN_EDGE = 1 << 8 , PLAN_BUSSTOP = 1 << 9 , PLAN_TRAINSTOP = 1 << 10 , PLAN_CONTAINERSTOP = 1 << 11 , PLAN_FROM_EDGE = 1 << 12 , PLAN_FROM_TAZ = 1 << 13 , PLAN_FROM_JUNCTION = 1 << 14 , PLAN_FROM_BUSSTOP = 1 << 15 , PLAN_FROM_TRAINSTOP = 1 << 16 , PLAN_FROM_CONTAINERSTOP = 1 << 17 , PLAN_TO_EDGE = 1 << 18 , PLAN_TO_TAZ = 1 << 19 , PLAN_TO_JUNCTION = 1 << 20 , PLAN_TO_BUSSTOP = 1 << 21 , PLAN_TO_TRAINSTOP = 1 << 22 , PLAN_TO_CONTAINERSTOP = 1 << 23 } |
tag parents More... | |
enum | TagProperty { NO_PROPERTY = 1 << 0 , NOTDRAWABLE = 1 << 1 , CLOSESHAPE = 1 << 2 , GEOSHAPE = 1 << 3 , DIALOG = 1 << 4 , CHILD = 1 << 5 , REPARENT = 1 << 6 , NOTSELECTABLE = 1 << 7 , MASKSTARTENDPOS = 1 << 8 , NOPARAMETERS = 1 << 9 , RTREE = 1 << 10 , CENTERAFTERCREATION = 1 << 11 , REQUIRE_PROJ = 1 << 12 , VCLASS_ICON = 1 << 13 , SYMBOL = 1 << 14 } |
general tag properties More... | |
enum | TagType { NETWORKELEMENT = 1 << 0 , ADDITIONALELEMENT = 1 << 1 , DEMANDELEMENT = 1 << 2 , DATAELEMENT = 1 << 3 , STOPPINGPLACE = 1 << 4 , DETECTOR = 1 << 5 , CALIBRATOR = 1 << 6 , SHAPE = 1 << 7 , TAZELEMENT = 1 << 8 , WIRE = 1 << 9 , JUPEDSIM = 1 << 10 , VTYPE = 1 << 11 , VEHICLE = 1 << 12 , ROUTE = 1 << 13 , VEHICLESTOP = 1 << 14 , VEHICLEWAYPOINT = 1 << 15 , FLOW = 1 << 16 , PERSON = 1 << 17 , PERSONPLAN = 1 << 18 , PERSONTRIP = 1 << 19 , WALK = 1 << 20 , RIDE = 1 << 21 , STOPPERSON = 1 << 22 , CONTAINER = 1 << 23 , CONTAINERPLAN = 1 << 24 , TRANSPORT = 1 << 25 , TRANSHIP = 1 << 26 , STOPCONTAINER = 1 << 27 , GENERICDATA = 1 << 28 , MEANDATA = 1 << 29 , INTERNALLANE = 1 << 30 } |
tag types More... | |
Public Member Functions | |
void | addAttribute (const GNEAttributeProperties &attributeProperty) |
add attribute (duplicated attributed aren't allowed) More... | |
const GNEAttributeProperties & | at (int index) const |
get attribute value More... | |
std::vector< GNEAttributeProperties >::const_iterator | begin () const |
get begin of attribute values (used for iterate) More... | |
bool | canBeReparent () const |
return true if tag correspond to an element that can be reparent 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... | |
void | checkTagIntegrity () const |
check Tag integrity (this include all their attributes) More... | |
std::vector< GNEAttributeProperties >::const_iterator | end () const |
get end of attribute values (used for iterate) More... | |
const GNEAttributeProperties & | getAttributeProperties (SumoXMLAttr attr) const |
get attribute (throw error if doesn't exist) More... | |
unsigned int | getBackGroundColor () const |
get background color More... | |
const std::string & | getDefaultValue (SumoXMLAttr attr) const |
return the default value of the attribute of an element More... | |
const std::string & | getFieldString () const |
get field string (by default tag in string format) More... | |
GUIIcon | getGUIIcon () const |
get GUI icon associated to this Tag More... | |
int | getNumberOfAttributes () const |
get number of attributes More... | |
const std::vector< SumoXMLTag > & | getParentTags () const |
get parent tags More... | |
Supermode | getSupermode () const |
get supermode associated with this 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... | |
const std::string & | getTooltipText () const |
get tooltip text More... | |
SumoXMLTag | getXMLTag () const |
get XML tag More... | |
GNETagProperties () | |
default constructor More... | |
GNETagProperties (const SumoXMLTag tag, const int tagType, const int tagProperty, const int tagParents, const int conflicts, const GUIIcon icon, const SumoXMLTag XMLTag, const std::string tooltip, std::vector< SumoXMLTag > parentTags={}, const unsigned int backgroundColor=FXRGBA(255, 255, 255, 255), const std::string fieldString="") | |
parameter constructor 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 | hasGEOShape () const |
return true if tag correspond to an element that can use a geo shape More... | |
bool | hasParameters () const |
return true if Tag correspond to an element that supports parameters "key1=value1|key2=value2|...|keyN=valueN" More... | |
bool | isChild () const |
return true if tag correspond to an element child of another element (Example: E3->Entry/Exit) More... | |
bool | isDrawable () const |
return true if tag correspond to a drawable element More... | |
bool | isInternalLane () const |
return true if tag correspond to an internal lane More... | |
bool | isPlacedInRTree () const |
return true if Tag correspond to an element that has to be placed in RTREE More... | |
bool | isSelectable () const |
return true if tag correspond to a selectable element More... | |
bool | isSymbol () const |
return true if tag correspond to a symbol element More... | |
bool | requireProj () const |
return true if tag correspond to an element that requires a geo projection More... | |
bool | vClassIcon () const |
return true if tag correspond to an element that has vClass icons More... | |
~GNETagProperties () | |
destructor More... | |
bool | isNetworkElement () const |
element sets More... | |
bool | isAdditionalElement () const |
return true if tag correspond to an additional element (note: this include TAZ, shapes and wires) More... | |
bool | isAdditionalPureElement () const |
return true if tag correspond to a pure additional element More... | |
bool | isDemandElement () const |
return true if tag correspond to a demand element More... | |
bool | isDataElement () const |
return true if tag correspond to a data element More... | |
bool | isStoppingPlace () const |
additional elements More... | |
bool | isDetector () const |
return true if tag correspond to a shape (Only used to group all detectors in the XML) More... | |
bool | isCalibrator () const |
return true if tag correspond to a calibrator (Only used to group all detectors in the XML) More... | |
bool | isShapeElement () const |
return true if tag correspond to a shape More... | |
bool | isTAZElement () const |
return true if tag correspond to a TAZ element More... | |
bool | isWireElement () const |
return true if tag correspond to a Wire element More... | |
bool | isJuPedSimElement () const |
return true if tag correspond to a JuPedSim element More... | |
bool | isType () const |
demand elements More... | |
bool | isTypeDist () const |
return true if tag correspond to a type distribution element More... | |
bool | isVehicle () const |
return true if tag correspond to a vehicle element More... | |
bool | isRoute () const |
return true if tag correspond to a route element More... | |
bool | isVehicleStop () const |
return true if tag correspond to a vehicle stop element More... | |
bool | isVehicleWaypoint () const |
return true if tag correspond to a vehicle waypoint element More... | |
bool | isFlow () const |
return true if tag correspond to a flow element More... | |
bool | isPerson () const |
return true if tag correspond to a person element More... | |
bool | isContainer () const |
return true if tag correspond to a container element More... | |
bool | isPlan () const |
plans More... | |
bool | isPlanPerson () const |
return true if tag correspond to a person plan More... | |
bool | isPlanContainer () const |
return true if tag correspond to a container plan More... | |
bool | isPersonTrip () const |
return true if tag correspond to a person trip More... | |
bool | isPlanWalk () const |
return true if tag correspond to a walk plan More... | |
bool | isPlanRide () const |
return true if tag correspond to a ride plan More... | |
bool | isPlanTransport () const |
return true if tag correspond to a transport More... | |
bool | isPlanTranship () const |
return true if tag correspond to a tranship More... | |
bool | isPlanStop () const |
return true if tag correspond to a stop plan More... | |
bool | isPlanStopPerson () const |
return true if tag correspond to a person stop plan More... | |
bool | isPlanStopContainer () const |
return true if tag correspond to a container stop plan More... | |
bool | isGenericData () const |
data elements More... | |
bool | isMeanData () const |
return true if tag correspond to a mean data element More... | |
bool | vehicleRoute () const |
plan parents More... | |
bool | vehicleRouteEmbedded () const |
return true if tag correspond to a vehicle placed over an embedded route More... | |
bool | vehicleEdges () const |
return true if tag correspond to a vehicle placed over from-to edges More... | |
bool | vehicleJunctions () const |
return true if tag correspond to a vehicle placed over from-to junctions More... | |
bool | vehicleTAZs () const |
return true if tag correspond to a vehicle placed over from-to TAZs More... | |
bool | planConsecutiveEdges () const |
plan parents More... | |
bool | planRoute () const |
return true if tag correspond to a plan placed over route More... | |
bool | planEdge () const |
return true if tag correspond to a plan placed over edge More... | |
bool | planBusStop () const |
return true if tag correspond to a plan placed over busStop More... | |
bool | planTrainStop () const |
return true if tag correspond to a plan placed over trainStop More... | |
bool | planContainerStop () const |
return true if tag correspond to a plan placed over containerStop More... | |
bool | planStoppingPlace () const |
return true if tag correspond to a plan placed in stoppingPlace More... | |
bool | planFromTo () const |
return true if tag correspond to a plan with from-to parents More... | |
bool | planFromEdge () const |
return true if tag correspond to a plan that starts in edge More... | |
bool | planFromTAZ () const |
return true if tag correspond to a plan that starts in TAZ More... | |
bool | planFromJunction () const |
return true if tag correspond to a plan that starts in junction More... | |
bool | planFromStoppingPlace () const |
return true if tag correspond to a plan that starts in stoppingPlace More... | |
bool | planFromBusStop () const |
return true if tag correspond to a plan that starts in busStop More... | |
bool | planFromTrainStop () const |
return true if tag correspond to a plan that starts in trainStop More... | |
bool | planFromContainerStop () const |
return true if tag correspond to a plan that starts in containerStop More... | |
bool | planToEdge () const |
return true if tag correspond to a plan that starts in edge More... | |
bool | planToTAZ () const |
return true if tag correspond to a plan that starts in TAZ More... | |
bool | planToJunction () const |
return true if tag correspond to a plan that starts in junction More... | |
bool | planToStoppingPlace () const |
return true if tag correspond to a plan that ends in stoppingPlace More... | |
bool | planToBusStop () const |
return true if tag correspond to a plan that starts in busStop More... | |
bool | planToTrainStop () const |
return true if tag correspond to a plan that starts in trainStop More... | |
bool | planToContainerStop () const |
return true if tag correspond to a plan that starts in containerStop More... | |
Private Attributes | |
std::vector< GNEAttributeProperties > | myAttributeProperties |
vector with the attribute values vinculated with this Tag More... | |
unsigned int | myBackgroundColor = 0 |
background color (used in labels and textFields, by default white) More... | |
int | myConflicts = -1 |
conflicts More... | |
std::string | myFieldString |
field string More... | |
GUIIcon | myIcon = GUIIcon::EMPTY |
icon associated to this Tag More... | |
std::vector< SumoXMLTag > | myParentTags |
vector with master tags (used by child elements) More... | |
SumoXMLTag | myTag = SUMO_TAG_NOTHING |
Sumo XML Tag vinculated wit this tag Property. More... | |
int | myTagParents = -1 |
tag parents More... | |
int | myTagProperty = -1 |
tag properties More... | |
std::string | myTagStr |
Sumo XML Tag vinculated wit this tag Property in String format. More... | |
int | myTagType = -1 |
tag Types More... | |
std::string | myTooltipText |
tooltip text More... | |
SumoXMLTag | myXMLTag = SUMO_TAG_NOTHING |
Tag written in XML and used in GNENetHelper::AttributeCarriers. More... | |
Definition at line 38 of file GNETagProperties.h.
Enumerator | |
---|---|
NO_CONFLICTS | |
POS_LANE | |
POS_LANE_START | |
POS_LANE_END | |
NO_ADDITIONAL_CHILDREN |
Definition at line 134 of file GNETagProperties.h.
tag parents
Definition at line 104 of file GNETagProperties.h.
general tag properties
Enumerator | |
---|---|
NO_PROPERTY | |
NOTDRAWABLE | |
CLOSESHAPE | |
GEOSHAPE | |
DIALOG | |
CHILD | |
REPARENT | |
NOTSELECTABLE | |
MASKSTARTENDPOS | |
NOPARAMETERS | |
RTREE | |
CENTERAFTERCREATION | |
REQUIRE_PROJ | |
VCLASS_ICON | |
SYMBOL |
Definition at line 85 of file GNETagProperties.h.
tag types
Definition at line 43 of file GNETagProperties.h.
GNETagProperties::GNETagProperties | ( | ) |
default constructor
Definition at line 38 of file GNETagProperties.cpp.
GNETagProperties::GNETagProperties | ( | const SumoXMLTag | tag, |
const int | tagType, | ||
const int | tagProperty, | ||
const int | tagParents, | ||
const int | conflicts, | ||
const GUIIcon | icon, | ||
const SumoXMLTag | XMLTag, | ||
const std::string | tooltip, | ||
std::vector< SumoXMLTag > | parentTags = {} , |
||
const unsigned int | backgroundColor = FXRGBA(255, 255, 255, 255) , |
||
const std::string | fieldString = "" |
||
) |
parameter constructor
Definition at line 42 of file GNETagProperties.cpp.
GNETagProperties::~GNETagProperties | ( | ) |
destructor
Definition at line 61 of file GNETagProperties.cpp.
void GNETagProperties::addAttribute | ( | const GNEAttributeProperties & | attributeProperty | ) |
add attribute (duplicated attributed aren't allowed)
Definition at line 173 of file GNETagProperties.cpp.
References GNEAttributeProperties::getAttr(), GNEAttributeProperties::getAttrStr(), MAXNUMBEROFATTRIBUTES, myAttributeProperties, and TLF.
const GNEAttributeProperties & GNETagProperties::at | ( | int | index | ) | const |
get attribute value
Definition at line 234 of file GNETagProperties.cpp.
References myAttributeProperties.
std::vector< GNEAttributeProperties >::const_iterator GNETagProperties::begin | ( | ) | const |
get begin of attribute values (used for iterate)
Definition at line 222 of file GNETagProperties.cpp.
References myAttributeProperties.
Referenced by GNEAttributeProperties::getPositionListed().
bool GNETagProperties::canBeReparent | ( | ) | const |
return true if tag correspond to an element that can be reparent
Definition at line 705 of file GNETagProperties.cpp.
References myTagProperty, and REPARENT.
Referenced by checkTagIntegrity().
bool GNETagProperties::canCenterCameraAfterCreation | ( | ) | const |
return true if tag correspond to an element that center camera after creation
Definition at line 717 of file GNETagProperties.cpp.
References CENTERAFTERCREATION, and myTagProperty.
Referenced by GNENeteditAttributes::showNeteditAttributesModule().
bool GNETagProperties::canCloseShape | ( | ) | const |
return true if tag correspond to an element that can close their shape
Definition at line 674 of file GNETagProperties.cpp.
References CLOSESHAPE, and myTagProperty.
Referenced by GNENeteditAttributes::showNeteditAttributesModule().
bool GNETagProperties::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 711 of file GNETagProperties.cpp.
References MASKSTARTENDPOS, and myTagProperty.
Referenced by checkTagIntegrity(), and GNENeteditAttributes::showNeteditAttributesModule().
void GNETagProperties::checkTagIntegrity | ( | ) | const |
check Tag integrity (this include all their attributes)
Definition at line 89 of file GNETagProperties.cpp.
References canBeReparent(), canMaskStartEndPos(), GNE_ATTR_STOPOEXCEPTION, hasAttribute(), isAdditionalElement(), isChild(), isDataElement(), isDemandElement(), isInternalLane(), isMeanData(), isNetworkElement(), isShapeElement(), isTAZElement(), isWireElement(), myAttributeProperties, myConflicts, myParentTags, myTagParents, myTagProperty, myTagType, SUMO_ATTR_ALLOW, SUMO_ATTR_CHANGE_LEFT, SUMO_ATTR_CHANGE_RIGHT, SUMO_ATTR_DISALLOW, SUMO_ATTR_ENDPOS, SUMO_ATTR_STARTPOS, SUMO_ATTR_VCLASS, TL, and vClassIcon().
std::vector< GNEAttributeProperties >::const_iterator GNETagProperties::end | ( | ) | const |
get end of attribute values (used for iterate)
Definition at line 228 of file GNETagProperties.cpp.
References myAttributeProperties.
Referenced by GNEAttributeProperties::getPositionListed().
const GNEAttributeProperties & GNETagProperties::getAttributeProperties | ( | SumoXMLAttr | attr | ) | const |
get attribute (throw error if doesn't exist)
Definition at line 209 of file GNETagProperties.cpp.
References myAttributeProperties, TLF, and toString().
Referenced by GNEChargingStation::isValid(), GNEStop::isValid(), GNEChange_Attribute::redo(), GNENet::replaceInListAttribute(), GNEVType::setAttribute(), and GNEChange_Attribute::undo().
unsigned int GNETagProperties::getBackGroundColor | ( | ) | const |
get background color
Definition at line 203 of file GNETagProperties.cpp.
References myBackgroundColor.
const std::string & GNETagProperties::getDefaultValue | ( | SumoXMLAttr | attr | ) | const |
return the default value of the attribute of an element
Definition at line 157 of file GNETagProperties.cpp.
References myAttributeProperties, TLF, and toString().
Referenced by GNECalibratorFlow::getAttribute(), GNEContainer::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNEVType::getAttribute(), GNEVType::getAttributeDouble(), GNECalibratorFlow::setAttribute(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEVType::setAttribute(), GNEDemandElementFlow::setDefaultFlowAttributes(), GNEBusStop::writeAdditional(), GNEChargingStation::writeAdditional(), GNEContainerStop::writeAdditional(), GNELaneAreaDetector::writeAdditional(), GNEMultiEntryExitDetector::writeAdditional(), GNEParkingArea::writeAdditional(), GNEParkingSpace::writeAdditional(), and GNETractionSubstation::writeAdditional().
const std::string & GNETagProperties::getFieldString | ( | ) | const |
get field string (by default tag in string format)
Definition at line 191 of file GNETagProperties.cpp.
References myFieldString.
GUIIcon GNETagProperties::getGUIIcon | ( | ) | const |
get GUI icon associated to this Tag
Definition at line 246 of file GNETagProperties.cpp.
References myIcon.
Referenced by GNEUndoList::begin(), GNEAttributeCarrier::getACIcon(), and GNEDistributionFrame::DistributionEditor::onCmdCreateDistribution().
int GNETagProperties::getNumberOfAttributes | ( | ) | const |
get number of attributes
Definition at line 240 of file GNETagProperties.cpp.
References myAttributeProperties.
Referenced by GNEFrame::openHelpAttributesDialog().
const std::vector< SumoXMLTag > & GNETagProperties::getParentTags | ( | ) | const |
get parent tags
Definition at line 258 of file GNETagProperties.cpp.
References myParentTags.
Referenced by GNEAdditionalFrame::createBaseAdditionalObject().
Supermode GNETagProperties::getSupermode | ( | ) | const |
get supermode associated with this tag
Definition at line 71 of file GNETagProperties.cpp.
References DATA, DEMAND, isDataElement(), isDemandElement(), isMeanData(), and NETWORK.
SumoXMLTag GNETagProperties::getTag | ( | ) | const |
get Tag vinculated with this attribute Property
Definition at line 65 of file GNETagProperties.cpp.
References myTag.
Referenced by GNETagSelector::ACTemplate::ACTemplate(), GNEContainerFrame::addContainer(), GNEContainerPlanFrame::addContainerPlanElement(), GNENetHelper::AttributeCarriers::addDefaultVTypes(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), GNERouteHandler::addReverse(), GNEStopFrame::addStop(), GNEPlanCreator::addStoppingPlace(), GNETAZFrame::CurrentTAZ::addTAZChild(), GNEVehicleFrame::addVehicle(), GNENet::adjustPersonPlans(), GNEAdditionalFrame::buildAdditionalCommonAttributes(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEContainerFrame::buildContainer(), GNERouteHandler::buildContainerPlan(), GNEPersonFrame::buildPerson(), GNERouteHandler::buildPersonPlan(), GNERouteHandler::buildStop(), GNEVehicleFrame::buildVehicleOverRoute(), GNEWireFrame::buildWireOverView(), GNEPathManager::PathCalculator::busStopConnected(), GNERouteHandler::canReverse(), GNEConnection::checkDrawConnection(), GNEAdditional::checkDrawFromContour(), GNEAdditional::checkDrawOverContour(), GNEDemandElement::checkDrawOverContour(), GNEAdditional::checkDrawToContour(), GNERoute::computePathElement(), GNEVehicle::copyVehicle(), GNEAdditionalFrame::createBaseAdditionalObject(), GNEWireFrame::createBaseWireObject(), GNEVehicleFrame::createPath(), GNEElementTree::createPopUpMenu(), GNENetHelper::AttributeCarriers::deleteAdditional(), GNENetHelper::AttributeCarriers::deleteDemandElement(), GNENet::deleteDemandElement(), GNENetHelper::AttributeCarriers::deleteGenericData(), GNENetHelper::AttributeCarriers::deleteMeanData(), GNENet::deleteNetworkElement(), GNEContainerFrame::demandElementSelected(), GNEPersonFrame::demandElementSelected(), GNEGenericData::drawAttribute(), GNEEntryExitDetector::drawEntryLogo(), GNEBusStop::drawGL(), GNEEntryExitDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNELaneAreaDetector::drawJunctionPartialGL(), GNERoute::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNELaneAreaDetector::drawLanePartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GNEDemandElementPlan::drawPlanJunctionPartial(), GNEDemandElementPlan::drawPlanLanePartial(), GNERoute::drawRoutePartialJunction(), GNERoute::drawRoutePartialLane(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNETLSEditorFrame::editTLS(), GNEAttributesCreatorRow::generateID(), GNEPlanCreator::getBusStop(), GNEPlanCreator::getContainerStop(), GNEDemandElement::getDistributionParents(), GNERoute::getFirstPathLane(), GNEPlanCreator::getFromBusStop(), GNEPlanCreator::getFromContainerStop(), GNEPlanCreator::getFromTrainStop(), GNEContainer::getHierarchyName(), GNENetworkElement::getHierarchyName(), GNERoute::getLastPathLane(), GNEDetector::getMoveOperation(), GNEStop::getMoveOperation(), GNEHierarchicalElement::getNewListOfParents(), GNENetworkElement::getPopUpID(), GNEEdge::getRouteProbeRelativePosition(), GNEStopFrame::getStopParameter(), GNETagSelector::getTemplateAC(), GNEPlanCreator::getToBusStop(), GNEPlanCreator::getToContainerStop(), GNEPlanCreator::getToTrainStop(), GNEPlanCreator::getTrainStop(), GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu(), GNENetHelper::AttributeCarriers::insertAdditional(), GNENetHelper::AttributeCarriers::insertDemandElement(), GNENetHelper::AttributeCarriers::insertGenericData(), GNENetHelper::AttributeCarriers::insertMeanData(), GNEInspectorFrame::inspectSingleElement(), GNEStop::isAttributeEnabled(), GNENetHelper::AttributeCarriers::isNetworkElementAroundShape(), GNEMeanData::isValid(), GNEAdditional::isValidAdditionalID(), GNEDemandElement::isValidDemandElementID(), GNEAdditional::isValidDetectorID(), GNEAttributesCreatorRow::isValidID(), GNEGenericData::isVisibleInspectDeleteSelect(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEViewNet::onCmdClearConnections(), GNEElementTree::onCmdDeleteItem(), GNEInspectorFrame::AdditionalDialog::onCmdOpenAdditionalDialog(), GNEViewNet::onCmdResetConnections(), GNEShapeFrame::processClick(), GNEChange_Attribute::redo(), GNEChange_DemandElement::redo(), GNERoute::setAttribute(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), GNEDemandElementSelector::setDemandElement(), GNELane::setLaneColor(), GNEInspectorFrame::NeteditAttributesEditor::setNewParent(), GNEShapeFrame::shapeDrawed(), GNEInspectorFrame::AdditionalDialog::showAdditionalDialog(), GNEElementTree::showAttributeCarrierParents(), GNEElementTree::showHierarchicalElementChildren(), GNEPathCreator::showPathCreatorModule(), GNECalibrator::splitEdgeGeometry(), GNEDetector::splitEdgeGeometry(), GNEStoppingPlace::splitEdgeGeometry(), GNETranship::splitEdgeGeometry(), GNEWalk::splitEdgeGeometry(), GNEShapeFrame::tagSelected(), GNEChange_Attribute::undo(), GNEChange_DemandElement::undo(), GNELaneAreaDetector::updateGeometry(), GNELaneAreaDetector::writeAdditional(), GNETAZSourceSink::writeAdditional(), GNERoute::writeDemandElement(), and GNEChange_MeanData::~GNEChange_MeanData().
const std::string & GNETagProperties::getTagStr | ( | ) | const |
get Tag vinculated with this attribute Property in String Format (used to avoid multiple calls to toString(...)
Definition at line 83 of file GNETagProperties.cpp.
References myTagStr.
Referenced by GNEDemandElement::buildMenuAddReverse(), GNEAdditionalFrame::createBaseAdditionalObject(), GNEContainerFrame::createPath(), GNEContainerPlanFrame::createPath(), GNEPersonFrame::createPath(), GNEPersonPlanFrame::createPath(), GNEStopFrame::getStopParameter(), GNEAttributeCarrier::getTagStr(), GNEChange_Distribution::GNEChange_Distribution(), GNEChange_ToggleAttribute::GNEChange_ToggleAttribute(), GNEContainer::isValid(), GNEPersonTrip::isValid(), GNEVehicle::isValid(), GNEDemandElementFlow::isValidFlowAttribute(), GNEFrame::openHelpAttributesDialog(), GNECalibratorFlow::setAttribute(), GNEContainer::setAttribute(), GNEVehicle::setAttribute(), GNEDemandElementFlow::setFlowAttribute(), GNEAttributesCreator::showWarningMessage(), GNEChange_Distribution::~GNEChange_Distribution(), and GNEChange_ToggleAttribute::~GNEChange_ToggleAttribute().
const std::string & GNETagProperties::getTooltipText | ( | ) | const |
SumoXMLTag GNETagProperties::getXMLTag | ( | ) | const |
get XML tag
Definition at line 252 of file GNETagProperties.cpp.
References myXMLTag.
Referenced by GNEContainer::writeDemandElement(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().
bool GNETagProperties::hasAttribute | ( | SumoXMLAttr | attr | ) | const |
check if current TagProperties owns the attribute "attr"
Definition at line 264 of file GNETagProperties.cpp.
References myAttributeProperties.
Referenced by GNENet::adjustPersonPlans(), GNEAdditionalFrame::buildAdditionalCommonAttributes(), checkTagIntegrity(), GNEAdditional::drawAdditionalID(), GNEAdditional::drawAdditionalName(), GNEAdditional::getPopUpMenu(), GNEStopFrame::getStopParameter(), GNEAttributeCarrier::hasAttribute(), GNEStop::isDemandElementValid(), GNEChange_Attribute::redo(), GNEVType::setAttribute(), GNEChange_Attribute::undo(), and GNEStopPlan::writeDemandElement().
bool GNETagProperties::hasDialog | ( | ) | const |
return true if tag correspond to an element that can be edited using a dialog
Definition at line 686 of file GNETagProperties.cpp.
References DIALOG, and myTagProperty.
Referenced by GNEAdditional::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), and GNEViewNet::onCmdOpenAdditionalDialog().
bool GNETagProperties::hasGEOShape | ( | ) | const |
return true if tag correspond to an element that can use a geo shape
Definition at line 680 of file GNETagProperties.cpp.
References GEOSHAPE, and myTagProperty.
bool GNETagProperties::hasParameters | ( | ) | const |
return true if Tag correspond to an element that supports parameters "key1=value1|key2=value2|...|keyN=valueN"
Definition at line 692 of file GNETagProperties.cpp.
References myTagProperty, and NOPARAMETERS.
Referenced by GNEFrameAttributeModules::ParametersEditor::onCmdEditParameters(), GNEFrameAttributeModules::ParametersEditor::onCmdSetParameters(), and GNEFrameAttributeModules::ParametersEditor::refreshParametersEditor().
bool GNETagProperties::isAdditionalElement | ( | ) | const |
return true if tag correspond to an additional element (note: this include TAZ, shapes and wires)
Definition at line 282 of file GNETagProperties.cpp.
References ADDITIONALELEMENT, and myTagType.
Referenced by GNEViewNetHelper::LockIcon::checkDrawing(), checkTagIntegrity(), GNEAttributeCarrier::drawUsingSelectColor(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNEAttributesCreatorRow::generateID(), GNENetHelper::AttributeCarriers::getSelectedAttributeCarriers(), isAdditionalPureElement(), GNENetHelper::AttributeCarriers::isNetworkElementAroundShape(), GNEFrameAttributeModules::isSupermodeValid(), GNEAttributesCreatorRow::isValidID(), GNEChange_Attribute::redo(), GNEChange_ToggleAttribute::redo(), GNEElementTree::showAttributeCarrierParents(), GNEElementTree::showHierarchicalElementChildren(), GNEChange_Attribute::undo(), and GNEChange_ToggleAttribute::undo().
bool GNETagProperties::isAdditionalPureElement | ( | ) | const |
return true if tag correspond to a pure additional element
Definition at line 288 of file GNETagProperties.cpp.
References isAdditionalElement(), isShapeElement(), isTAZElement(), and isWireElement().
Referenced by GNESelectorFrame::SelectionOperation::processNetworkElementSelection(), and GNENet::writeOtherAdditionalsComment().
bool GNETagProperties::isCalibrator | ( | ) | const |
return true if tag correspond to a calibrator (Only used to group all detectors in the XML)
Definition at line 318 of file GNETagProperties.cpp.
References CALIBRATOR, and myTagType.
Referenced by GNENet::writeCalibratorComment(), GNEVehicle::writeDemandElement(), and GNENet::writeOtherAdditionalsComment().
bool GNETagProperties::isChild | ( | ) | const |
return true if tag correspond to an element child of another element (Example: E3->Entry/Exit)
Definition at line 643 of file GNETagProperties.cpp.
References CHILD, and myTagProperty.
Referenced by checkTagIntegrity(), and GNEAdditionalFrame::createBaseAdditionalObject().
bool GNETagProperties::isContainer | ( | ) | const |
return true if tag correspond to a container element
Definition at line 394 of file GNETagProperties.cpp.
References CONTAINER, and myTagType.
Referenced by GNEContainerPlanFrame::addContainerPlanElement(), GNERouteHandler::buildStop(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNEDemandElementSelector::getPreviousPlanElement(), GNEViewNet::onCmdToggleLockContainer(), GNEDemandElement::setDemandElementID(), GNENetHelper::AttributeCarriers::updateDemandElementFrames(), and GNEDemandElementFlow::writeFlowAttributes().
bool GNETagProperties::isDataElement | ( | ) | const |
return true if tag correspond to a data element
Definition at line 300 of file GNETagProperties.cpp.
References DATAELEMENT, and myTagType.
Referenced by GNEViewNetHelper::LockIcon::checkDrawing(), checkTagIntegrity(), GNENetHelper::AttributeCarriers::getSelectedAttributeCarriers(), getSupermode(), GNEFrameAttributeModules::isSupermodeValid(), GNESelectorFrame::SelectionOperation::loadFromFile(), GNEChange_Attribute::redo(), GNEChange_ToggleAttribute::redo(), GNEElementTree::showAttributeCarrierParents(), GNEElementTree::showHierarchicalElementChildren(), GNEChange_Attribute::undo(), and GNEChange_ToggleAttribute::undo().
bool GNETagProperties::isDemandElement | ( | ) | const |
return true if tag correspond to a demand element
Definition at line 294 of file GNETagProperties.cpp.
References DEMANDELEMENT, and myTagType.
Referenced by GNEViewNetHelper::LockIcon::checkDrawing(), checkTagIntegrity(), GNEAttributeCarrier::drawUsingSelectColor(), GNEAttributesCreatorRow::generateID(), GNENetHelper::AttributeCarriers::getSelectedAttributeCarriers(), getSupermode(), GNEFrameAttributeModules::isSupermodeValid(), GNEAttributesCreatorRow::isValidID(), GNESelectorFrame::SelectionOperation::loadFromFile(), GNEChange_Attribute::redo(), GNEChange_ToggleAttribute::redo(), GNEElementTree::showAttributeCarrierParents(), GNEElementTree::showHierarchicalElementChildren(), GNEChange_Attribute::undo(), and GNEChange_ToggleAttribute::undo().
bool GNETagProperties::isDetector | ( | ) | const |
return true if tag correspond to a shape (Only used to group all detectors in the XML)
Definition at line 312 of file GNETagProperties.cpp.
References DETECTOR, and myTagType.
Referenced by GNENet::writeDetectorComment(), and GNENet::writeOtherAdditionalsComment().
bool GNETagProperties::isDrawable | ( | ) | const |
return true if tag correspond to a drawable element
Definition at line 661 of file GNETagProperties.cpp.
References myTagProperty, and NOTDRAWABLE.
bool GNETagProperties::isFlow | ( | ) | const |
return true if tag correspond to a flow element
Definition at line 382 of file GNETagProperties.cpp.
References FLOW, and myTagType.
Referenced by GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEDemandElementFlow::setDefaultFlowAttributes(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), and GNEDemandElementFlow::writeFlowAttributes().
bool GNETagProperties::isGenericData | ( | ) | const |
data elements
return true if tag correspond to a generic data element
Definition at line 466 of file GNETagProperties.cpp.
References GENERICDATA, and myTagType.
Referenced by GNEAttributeCarrier::drawUsingSelectColor(), GNEChange_Attribute::redo(), and GNEChange_Attribute::undo().
bool GNETagProperties::isInternalLane | ( | ) | const |
return true if tag correspond to an internal lane
Definition at line 655 of file GNETagProperties.cpp.
References INTERNALLANE, and myTagType.
Referenced by checkTagIntegrity().
bool GNETagProperties::isJuPedSimElement | ( | ) | const |
return true if tag correspond to a JuPedSim element
Definition at line 342 of file GNETagProperties.cpp.
References JUPEDSIM, and myTagType.
Referenced by GNEPoly::drawPolygon(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNENet::writeJuPedSimComment(), and GNENet::writeShapesComment().
bool GNETagProperties::isMeanData | ( | ) | const |
return true if tag correspond to a mean data element
Definition at line 472 of file GNETagProperties.cpp.
References MEANDATA, and myTagType.
Referenced by checkTagIntegrity(), getSupermode(), GNEFrameAttributeModules::isSupermodeValid(), GNEChange_Attribute::redo(), GNEChange_ToggleAttribute::redo(), GNEChange_Attribute::undo(), and GNEChange_ToggleAttribute::undo().
bool GNETagProperties::isNetworkElement | ( | ) | const |
element sets
return true if tag correspond to a network element
Definition at line 276 of file GNETagProperties.cpp.
References myTagType, and NETWORKELEMENT.
Referenced by GNEViewNetHelper::LockIcon::checkDrawing(), checkTagIntegrity(), GNEAttributeCarrier::drawUsingSelectColor(), GNENetHelper::AttributeCarriers::getSelectedAttributeCarriers(), GNEFrameAttributeModules::isSupermodeValid(), GNEChange_Attribute::redo(), GNEChange_ToggleAttribute::redo(), GNEElementTree::showAttributeCarrierParents(), GNEElementTree::showHierarchicalElementChildren(), GNEChange_Attribute::undo(), and GNEChange_ToggleAttribute::undo().
bool GNETagProperties::isPerson | ( | ) | const |
return true if tag correspond to a person element
Definition at line 388 of file GNETagProperties.cpp.
References myTagType, and PERSON.
Referenced by GNEPersonPlanFrame::addPersonPlanElement(), GNERouteHandler::buildStop(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNEDemandElementSelector::getPreviousPlanElement(), GNEViewNet::onCmdToggleLockPerson(), GNEDemandElement::setDemandElementID(), GNENetHelper::AttributeCarriers::updateDemandElementFrames(), and GNEDemandElementFlow::writeFlowAttributes().
bool GNETagProperties::isPersonTrip | ( | ) | const |
return true if tag correspond to a person trip
Definition at line 418 of file GNETagProperties.cpp.
References myTagType, and PERSONTRIP.
Referenced by GNERouteHandler::buildPersonPlan(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), and GNEPlanCreator::planCanBeCreated().
bool GNETagProperties::isPlacedInRTree | ( | ) | const |
return true if Tag correspond to an element that has to be placed in RTREE
Definition at line 699 of file GNETagProperties.cpp.
References myTagProperty, and RTREE.
Referenced by GNEDataInterval::addGenericDataChild(), GNENet::addGLObjectIntoGrid(), GNENetHelper::AttributeCarriers::deleteAdditional(), GNENetHelper::AttributeCarriers::deleteMeanData(), GNENetHelper::AttributeCarriers::insertAdditional(), GNEViewNet::recalculateBoundaries(), GNEDataInterval::removeGenericDataChild(), and GNENet::removeGLObjectFromGrid().
bool GNETagProperties::isPlan | ( | ) | const |
plans
return true if tag correspond to a plan
Definition at line 400 of file GNETagProperties.cpp.
References isPlanContainer(), and isPlanPerson().
Referenced by GNEDemandElement::deleteGLObject(), and GNEElementTree::onCmdDeleteItem().
bool GNETagProperties::isPlanContainer | ( | ) | const |
return true if tag correspond to a container plan
Definition at line 412 of file GNETagProperties.cpp.
References CONTAINERPLAN, and myTagType.
Referenced by GNEDemandElementPlan::checkDrawContainerPlan(), and isPlan().
bool GNETagProperties::isPlanPerson | ( | ) | const |
return true if tag correspond to a person plan
Definition at line 406 of file GNETagProperties.cpp.
References myTagType, and PERSONPLAN.
Referenced by GNEDemandElementPlan::checkDrawPersonPlan(), and isPlan().
bool GNETagProperties::isPlanRide | ( | ) | const |
return true if tag correspond to a ride plan
Definition at line 430 of file GNETagProperties.cpp.
References myTagType, and RIDE.
Referenced by GNERouteHandler::buildPersonPlan(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), and GNEPlanCreator::planCanBeCreated().
bool GNETagProperties::isPlanStop | ( | ) | const |
return true if tag correspond to a stop plan
Definition at line 448 of file GNETagProperties.cpp.
References isPlanStopContainer(), and isPlanStopPerson().
bool GNETagProperties::isPlanStopContainer | ( | ) | const |
return true if tag correspond to a container stop plan
Definition at line 460 of file GNETagProperties.cpp.
References myTagType, and STOPCONTAINER.
Referenced by GNERouteHandler::buildContainerPlan(), GNEContainerFrame::demandElementSelected(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNEContainer::getAttributePosition(), isPlanStop(), GNEPlanCreator::planCanBeCreated(), and GNEContainerFrame::tagSelected().
bool GNETagProperties::isPlanStopPerson | ( | ) | const |
return true if tag correspond to a person stop plan
Definition at line 454 of file GNETagProperties.cpp.
References myTagType, and STOPPERSON.
Referenced by GNERouteHandler::buildPersonPlan(), GNEPersonFrame::demandElementSelected(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNEPerson::getAttributePosition(), isPlanStop(), GNEPlanCreator::planCanBeCreated(), and GNEPersonFrame::tagSelected().
bool GNETagProperties::isPlanTranship | ( | ) | const |
return true if tag correspond to a tranship
Definition at line 442 of file GNETagProperties.cpp.
References myTagType, and TRANSHIP.
Referenced by GNERouteHandler::buildContainerPlan(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), and GNEPlanCreator::planCanBeCreated().
bool GNETagProperties::isPlanTransport | ( | ) | const |
return true if tag correspond to a transport
Definition at line 436 of file GNETagProperties.cpp.
References myTagType, and TRANSPORT.
Referenced by GNERouteHandler::buildContainerPlan(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), and GNEPlanCreator::planCanBeCreated().
bool GNETagProperties::isPlanWalk | ( | ) | const |
return true if tag correspond to a walk plan
Definition at line 424 of file GNETagProperties.cpp.
References myTagType, and WALK.
Referenced by GNERouteHandler::buildPersonPlan(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), and GNEPlanCreator::planCanBeCreated().
bool GNETagProperties::isRoute | ( | ) | const |
return true if tag correspond to a route element
Definition at line 364 of file GNETagProperties.cpp.
References myTagType, and ROUTE.
Referenced by GNEDemandElement::buildMenuCommandRouteLength(), GNEVehicleFrame::buildVehicleOverRoute(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNEPathCreator::showPathCreatorModule(), and GNENetHelper::AttributeCarriers::updateDemandElementFrames().
bool GNETagProperties::isSelectable | ( | ) | const |
return true if tag correspond to a selectable element
Definition at line 667 of file GNETagProperties.cpp.
References myTagProperty, and NOTSELECTABLE.
Referenced by GNESelectorFrame::SelectionOperation::loadFromFile(), GNESelectorFrame::SelectionOperation::processNetworkElementSelection(), GNEAttributeCarrier::selectAttributeCarrier(), and GNEAttributeCarrier::unselectAttributeCarrier().
bool GNETagProperties::isShapeElement | ( | ) | const |
return true if tag correspond to a shape
Definition at line 324 of file GNETagProperties.cpp.
References myTagType, and SHAPE.
Referenced by checkTagIntegrity(), isAdditionalPureElement(), GNEViewParent::onCmdLocate(), and GNENet::writeShapesComment().
bool GNETagProperties::isStoppingPlace | ( | ) | const |
additional elements
return true if tag correspond to a detector (Only used to group all stoppingPlaces in the output XML)
Definition at line 306 of file GNETagProperties.cpp.
References myTagType, and STOPPINGPLACE.
Referenced by GNEContainerFrame::addContainer(), GNEContainerPlanFrame::addContainerPlanElement(), GNEPersonPlanFrame::addPersonPlanElement(), GNENet::writeOtherAdditionalsComment(), and GNENet::writeStoppingPlaceComment().
bool GNETagProperties::isSymbol | ( | ) | const |
return true if tag correspond to a symbol element
Definition at line 649 of file GNETagProperties.cpp.
References myTagProperty, and SYMBOL.
bool GNETagProperties::isTAZElement | ( | ) | const |
return true if tag correspond to a TAZ element
Definition at line 330 of file GNETagProperties.cpp.
References myTagType, and TAZELEMENT.
Referenced by checkTagIntegrity(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), isAdditionalPureElement(), GNEViewParent::onCmdLocate(), and GNEElementTree::showAttributeCarrierParents().
bool GNETagProperties::isType | ( | ) | const |
demand elements
return true if tag correspond to a vehicle/person/container type element
Definition at line 348 of file GNETagProperties.cpp.
References myTagType, and VTYPE.
Referenced by GNEElementTree::createPopUpMenu(), and GNENetHelper::AttributeCarriers::updateDemandElementFrames().
bool GNETagProperties::isTypeDist | ( | ) | const |
return true if tag correspond to a type distribution element
Definition at line 353 of file GNETagProperties.cpp.
References myTag, and SUMO_TAG_VTYPE_DISTRIBUTION.
bool GNETagProperties::isVehicle | ( | ) | const |
return true if tag correspond to a vehicle element
Definition at line 358 of file GNETagProperties.cpp.
References myTagType, and VEHICLE.
Referenced by GNERouteHandler::addReverse(), GNEStopFrame::addStop(), GNERouteHandler::buildStop(), and GNEApplicationWindowHelper::LockMenuCommands::editLocking().
bool GNETagProperties::isVehicleStop | ( | ) | const |
return true if tag correspond to a vehicle stop element
Definition at line 370 of file GNETagProperties.cpp.
References myTagType, and VEHICLESTOP.
Referenced by GNEStopFrame::addStop(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), GNEDemandElement::getInvalidStops(), and GNEAttributesCreatorRow::onCmdSetAttribute().
bool GNETagProperties::isVehicleWaypoint | ( | ) | const |
return true if tag correspond to a vehicle waypoint element
Definition at line 376 of file GNETagProperties.cpp.
References myTagType, and VEHICLEWAYPOINT.
Referenced by GNEStop::drawStopOverLane(), and GNEStop::getColor().
bool GNETagProperties::isWireElement | ( | ) | const |
return true if tag correspond to a Wire element
Definition at line 336 of file GNETagProperties.cpp.
References myTagType, and WIRE.
Referenced by checkTagIntegrity(), GNEApplicationWindowHelper::LockMenuCommands::editLocking(), isAdditionalPureElement(), and GNESelectorFrame::SelectionOperation::processNetworkElementSelection().
bool GNETagProperties::planBusStop | ( | ) | const |
return true if tag correspond to a plan placed over busStop
Definition at line 526 of file GNETagProperties.cpp.
References myTagParents, and PLAN_BUSSTOP.
Referenced by planStoppingPlace().
bool GNETagProperties::planConsecutiveEdges | ( | ) | const |
plan parents
return true if tag correspond to a plan placed over edges
Definition at line 508 of file GNETagProperties.cpp.
References myTagParents, and PLAN_CONSECUTIVE_EDGES.
bool GNETagProperties::planContainerStop | ( | ) | const |
return true if tag correspond to a plan placed over containerStop
Definition at line 538 of file GNETagProperties.cpp.
References myTagParents, and PLAN_CONTAINERSTOP.
Referenced by planStoppingPlace().
bool GNETagProperties::planEdge | ( | ) | const |
return true if tag correspond to a plan placed over edge
Definition at line 520 of file GNETagProperties.cpp.
References myTagParents, and PLAN_EDGE.
bool GNETagProperties::planFromBusStop | ( | ) | const |
return true if tag correspond to a plan that starts in busStop
Definition at line 583 of file GNETagProperties.cpp.
References myTagParents, and PLAN_FROM_BUSSTOP.
Referenced by planFromStoppingPlace().
bool GNETagProperties::planFromContainerStop | ( | ) | const |
return true if tag correspond to a plan that starts in containerStop
Definition at line 595 of file GNETagProperties.cpp.
References myTagParents, and PLAN_FROM_CONTAINERSTOP.
Referenced by planFromStoppingPlace().
bool GNETagProperties::planFromEdge | ( | ) | const |
return true if tag correspond to a plan that starts in edge
Definition at line 559 of file GNETagProperties.cpp.
References myTagParents, and PLAN_FROM_EDGE.
Referenced by GNEDemandElementPlan::computePlanPathElement(), and planFromTo().
bool GNETagProperties::planFromJunction | ( | ) | const |
return true if tag correspond to a plan that starts in junction
Definition at line 571 of file GNETagProperties.cpp.
References myTagParents, and PLAN_FROM_JUNCTION.
Referenced by GNEDemandElementPlan::computePlanPathElement(), GNEContainer::getAttributePosition(), GNEPerson::getAttributePosition(), and planFromTo().
bool GNETagProperties::planFromStoppingPlace | ( | ) | const |
return true if tag correspond to a plan that starts in stoppingPlace
Definition at line 577 of file GNETagProperties.cpp.
References planFromBusStop(), planFromContainerStop(), and planFromTrainStop().
Referenced by GNEDemandElementPlan::computePlanPathElement(), and planFromTo().
bool GNETagProperties::planFromTAZ | ( | ) | const |
return true if tag correspond to a plan that starts in TAZ
Definition at line 565 of file GNETagProperties.cpp.
References myTagParents, and PLAN_FROM_TAZ.
Referenced by GNEContainer::getAttributePosition(), GNEPerson::getAttributePosition(), and planFromTo().
bool GNETagProperties::planFromTo | ( | ) | const |
return true if tag correspond to a plan with from-to parents
Definition at line 550 of file GNETagProperties.cpp.
References planFromEdge(), planFromJunction(), planFromStoppingPlace(), planFromTAZ(), planToEdge(), planToJunction(), planToStoppingPlace(), and planToTAZ().
bool GNETagProperties::planFromTrainStop | ( | ) | const |
return true if tag correspond to a plan that starts in trainStop
Definition at line 589 of file GNETagProperties.cpp.
References myTagParents, and PLAN_FROM_TRAINSTOP.
Referenced by planFromStoppingPlace().
bool GNETagProperties::planRoute | ( | ) | const |
return true if tag correspond to a plan placed over route
Definition at line 514 of file GNETagProperties.cpp.
References myTagParents, and PLAN_ROUTE.
bool GNETagProperties::planStoppingPlace | ( | ) | const |
return true if tag correspond to a plan placed in stoppingPlace
Definition at line 544 of file GNETagProperties.cpp.
References planBusStop(), planContainerStop(), and planTrainStop().
Referenced by GNEDemandElementPlan::computePlanPathElement().
bool GNETagProperties::planToBusStop | ( | ) | const |
return true if tag correspond to a plan that starts in busStop
Definition at line 625 of file GNETagProperties.cpp.
References myTagParents, and PLAN_TO_BUSSTOP.
Referenced by planToStoppingPlace().
bool GNETagProperties::planToContainerStop | ( | ) | const |
return true if tag correspond to a plan that starts in containerStop
Definition at line 637 of file GNETagProperties.cpp.
References myTagParents, and PLAN_TO_CONTAINERSTOP.
Referenced by planToStoppingPlace().
bool GNETagProperties::planToEdge | ( | ) | const |
return true if tag correspond to a plan that starts in edge
Definition at line 601 of file GNETagProperties.cpp.
References myTagParents, and PLAN_TO_EDGE.
Referenced by GNEDemandElementPlan::computePlanPathElement(), and planFromTo().
bool GNETagProperties::planToJunction | ( | ) | const |
return true if tag correspond to a plan that starts in junction
Definition at line 613 of file GNETagProperties.cpp.
References myTagParents, and PLAN_TO_JUNCTION.
Referenced by GNEDemandElementPlan::computePlanPathElement(), and planFromTo().
bool GNETagProperties::planToStoppingPlace | ( | ) | const |
return true if tag correspond to a plan that ends in stoppingPlace
Definition at line 619 of file GNETagProperties.cpp.
References planToBusStop(), planToContainerStop(), and planToTrainStop().
Referenced by GNEDemandElementPlan::computePlanPathElement(), and planFromTo().
bool GNETagProperties::planToTAZ | ( | ) | const |
return true if tag correspond to a plan that starts in TAZ
Definition at line 607 of file GNETagProperties.cpp.
References myTagParents, and PLAN_TO_TAZ.
Referenced by planFromTo().
bool GNETagProperties::planToTrainStop | ( | ) | const |
return true if tag correspond to a plan that starts in trainStop
Definition at line 631 of file GNETagProperties.cpp.
References myTagParents, and PLAN_TO_TRAINSTOP.
Referenced by planToStoppingPlace().
bool GNETagProperties::planTrainStop | ( | ) | const |
return true if tag correspond to a plan placed over trainStop
Definition at line 532 of file GNETagProperties.cpp.
References myTagParents, and PLAN_TRAINSTOP.
Referenced by planStoppingPlace().
bool GNETagProperties::requireProj | ( | ) | const |
return true if tag correspond to an element that requires a geo projection
Definition at line 723 of file GNETagProperties.cpp.
References myTagProperty, and REQUIRE_PROJ.
bool GNETagProperties::vClassIcon | ( | ) | const |
return true if tag correspond to an element that has vClass icons
Definition at line 729 of file GNETagProperties.cpp.
References myTagProperty, and VCLASS_ICON.
Referenced by checkTagIntegrity(), and GNEAttributeCarrier::getACIcon().
bool GNETagProperties::vehicleEdges | ( | ) | const |
return true if tag correspond to a vehicle placed over from-to edges
Definition at line 490 of file GNETagProperties.cpp.
References myTagParents, and VEHICLE_EDGES.
Referenced by GNEDemandElement::buildMenuCommandRouteLength(), GNERouteHandler::canReverse(), GNEVehicle::computePathElement(), GNEVehicle::copyVehicle(), GNEVehicle::getDemandElementProblem(), GNEVehicle::getHierarchyName(), GNEVehicle::getParentName(), GNEVehicle::isDemandElementValid(), GNEVehicle::setAttribute(), GNEPathCreator::showPathCreatorModule(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), and GNEVehicle::writeDemandElement().
bool GNETagProperties::vehicleJunctions | ( | ) | const |
return true if tag correspond to a vehicle placed over from-to junctions
Definition at line 496 of file GNETagProperties.cpp.
References myTagParents, and VEHICLE_JUNCTIONS.
Referenced by GNERouteHandler::canReverse(), GNEVehicle::computePathElement(), GNEVehicle::copyVehicle(), GNEVehicle::drawJunctionPartialGL(), GNEVehicle::getDemandElementProblem(), GNEVehicle::getParentName(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu(), GNEVehicle::isDemandElementValid(), GNERouteHandler::reverse(), GNEPathCreator::showPathCreatorModule(), and GNEVehicle::writeDemandElement().
bool GNETagProperties::vehicleRoute | ( | ) | const |
plan parents
return true if tag correspond to a vehicle placed over a route
Definition at line 478 of file GNETagProperties.cpp.
References myTagParents, and VEHICLE_ROUTE.
Referenced by GNEVehicleFrame::addVehicle(), GNEDemandElement::buildMenuCommandRouteLength(), GNERouteHandler::canReverse(), GNEVehicle::copyVehicle(), GNEVehicle::getDemandElementProblem(), GNEVehicle::getFirstPathLane(), GNEVehicle::getLastPathLane(), GNEVehicle::getParentName(), GNEVehicle::isDemandElementValid(), GNEVehicle::isValid(), GNERouteHandler::reverse(), GNEVehicle::setAttribute(), GNEPathCreator::showPathCreatorModule(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), and GNEVehicle::writeDemandElement().
bool GNETagProperties::vehicleRouteEmbedded | ( | ) | const |
return true if tag correspond to a vehicle placed over an embedded route
Definition at line 484 of file GNETagProperties.cpp.
References myTagParents, and VEHICLE_ROUTE_EMBEDDED.
Referenced by GNEDemandElement::buildMenuCommandRouteLength(), GNERouteHandler::canReverse(), GNEVehicle::copyVehicle(), GNEVehicle::getDemandElementProblem(), GNEVehicle::getFirstPathLane(), GNEVehicle::getLastPathLane(), GNEVehicle::isDemandElementValid(), GNERouteHandler::reverse(), GNEVehicle::setAttribute(), GNEPathCreator::showPathCreatorModule(), GNEVehicleFrame::tagSelected(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), and GNERouteHandler::transformToVehicle().
bool GNETagProperties::vehicleTAZs | ( | ) | const |
return true if tag correspond to a vehicle placed over from-to TAZs
Definition at line 502 of file GNETagProperties.cpp.
References myTagParents, and VEHICLE_TAZS.
Referenced by GNERouteHandler::canReverse(), GNEVehicle::copyVehicle(), GNEVehicle::getParentName(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu(), GNEVehicle::isDemandElementValid(), GNERouteHandler::reverse(), and GNEPathCreator::showPathCreatorModule().
|
private |
vector with the attribute values vinculated with this Tag
Definition at line 485 of file GNETagProperties.h.
Referenced by addAttribute(), at(), begin(), checkTagIntegrity(), end(), getAttributeProperties(), getDefaultValue(), getNumberOfAttributes(), and hasAttribute().
|
private |
background color (used in labels and textFields, by default white)
Definition at line 503 of file GNETagProperties.h.
Referenced by getBackGroundColor().
|
private |
|
private |
|
private |
icon associated to this Tag
Definition at line 488 of file GNETagProperties.h.
Referenced by getGUIIcon().
|
private |
vector with master tags (used by child elements)
Definition at line 497 of file GNETagProperties.h.
Referenced by checkTagIntegrity(), and getParentTags().
|
private |
Sumo XML Tag vinculated wit this tag Property.
Definition at line 467 of file GNETagProperties.h.
Referenced by getTag(), and isTypeDist().
|
private |
tag parents
Definition at line 479 of file GNETagProperties.h.
Referenced by checkTagIntegrity(), planBusStop(), planConsecutiveEdges(), planContainerStop(), planEdge(), planFromBusStop(), planFromContainerStop(), planFromEdge(), planFromJunction(), planFromTAZ(), planFromTrainStop(), planRoute(), planToBusStop(), planToContainerStop(), planToEdge(), planToJunction(), planToTAZ(), planToTrainStop(), planTrainStop(), vehicleEdges(), vehicleJunctions(), vehicleRoute(), vehicleRouteEmbedded(), and vehicleTAZs().
|
private |
tag properties
Definition at line 476 of file GNETagProperties.h.
Referenced by canBeReparent(), canCenterCameraAfterCreation(), canCloseShape(), canMaskStartEndPos(), checkTagIntegrity(), hasDialog(), hasGEOShape(), hasParameters(), isChild(), isDrawable(), isPlacedInRTree(), isSelectable(), isSymbol(), requireProj(), and vClassIcon().
|
private |
Sumo XML Tag vinculated wit this tag Property in String format.
Definition at line 470 of file GNETagProperties.h.
Referenced by getTagStr().
|
private |
tag Types
Definition at line 473 of file GNETagProperties.h.
Referenced by checkTagIntegrity(), isAdditionalElement(), isCalibrator(), isContainer(), isDataElement(), isDemandElement(), isDetector(), isFlow(), isGenericData(), isInternalLane(), isJuPedSimElement(), isMeanData(), isNetworkElement(), isPerson(), isPersonTrip(), isPlanContainer(), isPlanPerson(), isPlanRide(), isPlanStopContainer(), isPlanStopPerson(), isPlanTranship(), isPlanTransport(), isPlanWalk(), isRoute(), isShapeElement(), isStoppingPlace(), isTAZElement(), isType(), isVehicle(), isVehicleStop(), isVehicleWaypoint(), and isWireElement().
|
private |
|
private |
Tag written in XML and used in GNENetHelper::AttributeCarriers.
Definition at line 491 of file GNETagProperties.h.
Referenced by getXMLTag().