47 #ifdef CHECK_MEMORY_LEAKS
49 #endif // CHECK_MEMORY_LEAKS
57 myIntervalBegin(0), myIntervalEnd(
SUMOTime_MAX), myEdge(0),
58 myHaveWarnedAboutDeprecatedSources(false),
59 myHaveWarnedAboutDeprecatedSinks(false),
60 myHaveWarnedAboutDeprecatedFromEdge(false),
61 myHaveWarnedAboutDeprecatedToEdge(false) {}
97 std::string
id = st.
next();
100 throw ProcessError(
"The edge '" +
id +
"' declared as a sink is not known.");
111 std::string
id = st.
next();
114 throw ProcessError(
"The edge '" +
id +
"' declared as a source is not known.");
128 const std::string& chars) {
133 throw ProcessError(
"The edge '" + chars +
"' declared as a sink is not known.");
137 WRITE_WARNING(
"Using characters for sinks is deprecated; use attribute 'edges' instead.");
145 throw ProcessError(
"The edge '" + chars +
"' declared as a source is not known.");
149 WRITE_WARNING(
"Using characters for sources is deprecated; use attribute 'edges' instead.");
172 WRITE_ERROR(
"The edge '" +
id +
"' is not known within the network (within a 'from-edge' tag).");
192 WRITE_ERROR(
"The edge '" +
id +
"' is not known within the network (within a 'to-edge' tag).");
197 if (probability < 0) {
198 WRITE_ERROR(
"'probability' must be positive (in definition of to-edge '" +
id +
"').");