49 #ifdef CHECK_MEMORY_LEAKS
51 #endif // CHECK_MEMORY_LEAKS
60 myNet(net), myCurrentName(),
61 myCurrentEdge(0), myEdgeBuilder(eb),
62 myHaveWarnedAboutDeprecatedDistrict(false), myHaveWarnedAboutDeprecatedDSource(false), myHaveWarnedAboutDeprecatedDSink(false) {}
148 fromNode =
new RONode(from);
161 if (type ==
"" || type ==
"normal" || type ==
"connector") {
163 }
else if (type ==
"source") {
165 }
else if (type ==
"sink") {
167 }
else if (type ==
"internal") {
208 if (maxSpeed > 0 && length > 0 &&
id.length() > 0) {
248 throw ProcessError(
"An unknown edge occured (id='" +
id +
"').");
261 if (
id ==
"SUMO_NO_DESTINATION") {
280 if (fromID[0] ==
':') {
286 throw ProcessError(
"unknown from-edge '" + fromID +
"' in connection");
289 throw ProcessError(
"unknown to-edge '" + toID +
"' in connection");
311 for (std::vector<std::string>::const_iterator i = desc.begin(); i != desc.end(); ++i) {