Home
last modified time | relevance | path

Searched refs:SUMO_ATTR_ALLOW (Results 1 – 21 of 21) sorted by relevance

/dports/cad/sumo/sumo-1.2.0/src/netedit/additionals/
H A DGNEClosingLaneReroute.cpp101 case SUMO_ATTR_ALLOW: in getAttribute()
123 case SUMO_ATTR_ALLOW: in setAttribute()
141 case SUMO_ATTR_ALLOW: in isValid()
176 case SUMO_ATTR_ALLOW: in setAttribute()
H A DGNEClosingReroute.cpp100 case SUMO_ATTR_ALLOW: in getAttribute()
122 case SUMO_ATTR_ALLOW: in setAttribute()
140 case SUMO_ATTR_ALLOW: in isValid()
176 case SUMO_ATTR_ALLOW: in setAttribute()
H A DGNEAdditionalHandler.cpp1528 …rseAttributeFromXML<std::string>(attrs, "", SUMO_TAG_CLOSING_LANE_REROUTE, SUMO_ATTR_ALLOW, abort); in parseAndBuildRerouterClosingLaneReroute()
1564 …r::parseAttributeFromXML<std::string>(attrs, "", SUMO_TAG_CLOSING_REROUTE, SUMO_ATTR_ALLOW, abort); in parseAndBuildRerouterClosingReroute()
/dports/cad/sumo/sumo-1.2.0/src/netedit/dialogs/
H A DGNEDialog_AllowDisallow.cpp58 …FXDialogBox(viewNet->getApp(), ("Edit " + toString(SUMO_ATTR_ALLOW) + " " + toString(SUMO_ATTR_VCL… in FXIMPLEMENT()
61 assert(AC->getTagProperty().hasAttribute(SUMO_ATTR_ALLOW)); in FXIMPLEMENT()
189 … myAC->setAttribute(SUMO_ATTR_ALLOW, joinToString(allowedVehicles, " "), myViewNet->getUndoList()); in onCmdAccept()
206 if (myAC->getAttribute(SUMO_ATTR_ALLOW) == "all") { in onCmdReset()
213 …std::string>& allowStringVector = StringTokenizer(myAC->getAttribute(SUMO_ATTR_ALLOW)).getVector(); in onCmdReset()
H A DGNERerouterIntervalDialog.cpp470 …} else if (closingLaneReroute->isValid(SUMO_ATTR_ALLOW, myClosingLaneRerouteTable->getItem(i, 1)->… in onCmdEditClosingLaneReroute()
478 …RerouteTable->getItem(i, 1)->getText().text() != closingLaneReroute->getAttribute(SUMO_ATTR_ALLOW); in onCmdEditClosingLaneReroute()
489 …aneRerouteTable->getItem(i, 1)->setText(closingLaneReroute->getAttribute(SUMO_ATTR_ALLOW).c_str()); in onCmdEditClosingLaneReroute()
510 …} else if (closingReroute->isValid(SUMO_ATTR_ALLOW, myClosingRerouteTable->getItem(i, 1)->getText(… in onCmdEditClosingReroute()
518 …singRerouteTable->getItem(i, 1)->getText().text() != closingReroute->getAttribute(SUMO_ATTR_ALLOW); in onCmdEditClosingReroute()
523 …closingReroute->setAttribute(SUMO_ATTR_ALLOW, myClosingRerouteTable->getItem(i, 1)->getText().text… in onCmdEditClosingReroute()
529 …ClosingRerouteTable->getItem(i, 1)->setText(closingReroute->getAttribute(SUMO_ATTR_ALLOW).c_str()); in onCmdEditClosingReroute()
657 myClosingLaneRerouteTable->setColumnText(1, toString(SUMO_ATTR_ALLOW).c_str()); in updateClosingLaneReroutesTable()
670 … item = new FXTableItem(myClosingLaneReroutesEdited.at(i)->getAttribute(SUMO_ATTR_ALLOW).c_str()); in updateClosingLaneReroutesTable()
704 myClosingRerouteTable->setColumnText(1, toString(SUMO_ATTR_ALLOW).c_str()); in updateClosingReroutesTable()
[all …]
/dports/cad/sumo/sumo-1.2.0/src/netimport/
H A DNIXMLTypesHandler.cpp68 const std::string allowS = attrs.getOpt<std::string>(SUMO_ATTR_ALLOW, id, ok, ""); in myStartElement()
88 SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMO_ATTR_ONEWAY, in myStartElement()
H A DNIXMLEdgesHandler.cpp274 if (attrs.hasAttribute(SUMO_ATTR_ALLOW) || attrs.hasAttribute(SUMO_ATTR_DISALLOW)) { in addEdge()
275 …std::string allowS = attrs.hasAttribute(SUMO_ATTR_ALLOW) ? attrs.getStringSecure(SUMO_ATTR_ALLOW, … in addEdge()
356 if (attrs.hasAttribute(SUMO_ATTR_ALLOW) || attrs.hasAttribute(SUMO_ATTR_DISALLOW)) { in addLane()
357 const std::string allowed = attrs.getOpt<std::string>(SUMO_ATTR_ALLOW, nullptr, ok, ""); in addLane()
H A DNIImporter_SUMO.cpp619 … myCurrentLane->allow = attrs.getOpt<std::string>(SUMO_ATTR_ALLOW, id.c_str(), ok, "", false); in addLane()
H A DNIImporter_VISUM.cpp242 myNetBuilder.getTypeCont().markAsSet(myCurrentID, SUMO_ATTR_ALLOW); in parse_Types()
/dports/cad/sumo/sumo-1.2.0/src/netedit/netelements/
H A DGNEEdge.cpp870 …myLanes[i]->setAttribute(SUMO_ATTR_ALLOW, tpl->myLanes[i]->getAttribute(SUMO_ATTR_ALLOW), undoList… in copyTemplate()
930 case SUMO_ATTR_ALLOW: in getAttribute()
981 …if ((key == SUMO_ATTR_ALLOW || key == SUMO_ATTR_DISALLOW) && result.find("all") != std::string::np… in getAttributeForSelection()
993 case SUMO_ATTR_ALLOW: in setAttribute()
1128 case SUMO_ATTR_ALLOW: in isValid()
1290 case SUMO_ATTR_ALLOW: in setAttribute()
H A DGNELane.cpp832 case SUMO_ATTR_ALLOW: in getAttribute()
858 …if ((key == SUMO_ATTR_ALLOW || key == SUMO_ATTR_DISALLOW) && result.find("all") != std::string::np… in getAttributeForSelection()
871 case SUMO_ATTR_ALLOW: in setAttribute()
896 case SUMO_ATTR_ALLOW: in isValid()
996 case SUMO_ATTR_ALLOW: in setAttribute()
/dports/cad/sumo/sumo-1.2.0/src/microsim/trigger/
H A DMSTriggeredRerouter.cpp156 …const std::string allow = attrs.getOpt<std::string>(SUMO_ATTR_ALLOW, getID().c_str(), ok, "", fals… in myStartElement()
170 if (attrs.hasAttribute(SUMO_ATTR_ALLOW) || attrs.hasAttribute(SUMO_ATTR_DISALLOW)) { in myStartElement()
171 …const std::string allow = attrs.getOpt<std::string>(SUMO_ATTR_ALLOW, getID().c_str(), ok, "", fals… in myStartElement()
/dports/cad/sumo/sumo-1.2.0/src/netbuild/
H A DNBTypeCont.cpp134 if (type.attrs.count(SUMO_ATTR_DISALLOW) > 0 || type.attrs.count(SUMO_ATTR_ALLOW) > 0) { in writeTypes()
/dports/cad/sumo/sumo-1.2.0/src/utils/common/
H A DSUMOVehicleClass.cpp325 into.writeAttr(SUMO_ATTR_ALLOW, getVehicleClassNames(permissions)); in writePermissions()
/dports/cad/sumo/sumo-1.2.0/src/netedit/
H A DGNEAttributeCarrier.cpp520 if ((i.first != SUMO_ATTR_ALLOW) && (i.first != SUMO_ATTR_DISALLOW)) { in checkTagIntegrity()
522 } else if ((i.first == SUMO_ATTR_ALLOW) && !hasAttribute(SUMO_ATTR_DISALLOW)) { in checkTagIntegrity()
524 } else if ((i.first == SUMO_ATTR_DISALLOW) && !hasAttribute(SUMO_ATTR_ALLOW)) { in checkTagIntegrity()
1371 attrProperty = AttributeProperties(SUMO_ATTR_ALLOW, in fillNetElements()
1519 attrProperty = AttributeProperties(SUMO_ATTR_ALLOW, in fillNetElements()
2617 attrProperty = AttributeProperties(SUMO_ATTR_ALLOW, in fillAdditionals()
2638 attrProperty = AttributeProperties(SUMO_ATTR_ALLOW, in fillAdditionals()
H A DGNENet.cpp681 i->setAttribute(SUMO_ATTR_ALLOW, getVehicleClassNames(allOldWithoutPeds), undoList); in restrictLane()
690 lane->setAttribute(SUMO_ATTR_ALLOW, toString(vclass), undoList); in restrictLane()
1861 newEdge->getLanes().back()->setAttribute(SUMO_ATTR_ALLOW, in splitJunction()
1862 in->getLanes()[c.fromLane]-> getAttribute(SUMO_ATTR_ALLOW), undoList); in splitJunction()
/dports/cad/sumo/sumo-1.2.0/src/router/
H A DRONetHandler.cpp210 std::string allow = attrs.getOpt<std::string>(SUMO_ATTR_ALLOW, id.c_str(), ok, ""); in parseLane()
/dports/cad/sumo/sumo-1.2.0/src/utils/xml/
H A DSUMOXMLDefinitions.h749 SUMO_ATTR_ALLOW, enumerator
H A DSUMOXMLDefinitions.cpp502 { "allow", SUMO_ATTR_ALLOW },
/dports/cad/sumo/sumo-1.2.0/src/netedit/frames/
H A DGNEFrame.cpp1177 …std::string allowed = myAttributesEditorParent->myEditedACs.front()->getAttribute(SUMO_ATTR_ALLOW); in onCmdOpenAttributeDialog()
1180 …it_ac->setAttribute(SUMO_ATTR_ALLOW, allowed, myAttributesEditorParent->myFrameParent->getViewNet(… in onCmdOpenAttributeDialog()
/dports/cad/sumo/sumo-1.2.0/src/netload/
H A DNLHandler.cpp435 const std::string allow = attrs.getOpt<std::string>(SUMO_ATTR_ALLOW, id.c_str(), ok, "", false); in addLane()