40 #ifdef CHECK_MEMORY_LEAKS
42 #endif // CHECK_MEMORY_LEAKS
57 repetitionNumber(-1), repetitionsDone(-1), repetitionOffset(-1),
58 line(), fromTaz(), toTaz(), setParameter(0) {
64 return oc.
isSet(optionName) && oc.
getBool(
"defaults-override");
102 }
else if (oc.
isSet(
"departlane")) {
138 }
else if (oc.
isSet(
"departpos")) {
159 }
else if (oc.
isSet(
"departspeed")) {
178 }
else if (oc.
isSet(
"arrivallane")) {
199 }
else if (oc.
isSet(
"arrivalpos")) {
217 }
else if (oc.
isSet(
"arrivalspeed")) {
230 #ifdef HAVE_SUBSECOND_TIMESTEPS
248 if (val ==
"random" || val ==
"free" || val ==
"departlane" || val ==
"allowed" || val ==
"best") {
257 WRITE_ERROR(
"Invalid departlane definition;\n must be one of (\"departlane\", \"random\", \"free\", \"allowed\", \"best\", or an int>0)");
264 if (val ==
"random" || val ==
"free" || val ==
"random_free" || val ==
"base" || val ==
"pwagSimple" || val ==
"pwagGeneric" || val ==
"maxSpeedGap") {
273 WRITE_ERROR(
"Invalid departpos definition;\n must be one of (\"random\", \"random_free\", \"free\", \"base\", \"pwagSimple\", \"pwagGeneric\", \"maxSpeedGap\", or a float)");
280 if (val ==
"random" || val ==
"max") {
289 WRITE_ERROR(
"Invalid departspeed definition;\n must be one of (\"random\", \"max\", or a float>0)");
296 if (val ==
"current") {
305 WRITE_ERROR(
"Invalid arrivallane definition;\n must be one of (\"current\", or int>0)");
312 if (val ==
"random" || val ==
"max") {
321 WRITE_ERROR(
"Invalid arrivalpos definition;\n must be one of (\"random\", \"max\", or a float)");
328 if (val ==
"current") {
337 WRITE_ERROR(
"Invalid arrivalspeed definition;\n must be one of (\"current\", or a float>0)");