51 #ifdef CHECK_MEMORY_LEAKS
53 #endif // CHECK_MEMORY_LEAKS
62 myNet(net), myCurrentName(),
63 myCurrentEdge(0), myProcess(true), myEdgeBuilder(eb) {}
117 if (edge != 0 && from != 0 && to != 0) {
168 fromNode =
new RONode(from);
234 if (permissions !=
SVCAll) {
238 if (maxSpeed > 0 && length > 0 &&
id.length() > 0) {
279 throw ProcessError(
"unknown from-edge '" + fromID +
"' in connection");
282 throw ProcessError(
"unknown to-edge '" + toID +
"' in connection");
287 if (from->getLanes().size() <= (size_t)fromLane) {
288 throw ProcessError(
"invalid fromLane '" +
toString(fromLane) +
"' in connection from '" + fromID +
"'.");
290 if (to->
getLanes().size() <= (size_t)toLane) {
291 throw ProcessError(
"invalid toLane '" +
toString(toLane) +
"' in connection to '" + toID +
"'.");
293 from->getLanes()[fromLane]->addOutgoingLane(to->
getLanes()[toLane]);
294 from->addFollower(to, dir);
340 for (std::vector<std::string>::const_iterator i = desc.begin(); i != desc.end(); ++i) {