43 #ifdef CHECK_MEMORY_LEAKS
45 #endif // CHECK_MEMORY_LEAKS
59 myObjectType(objectType) {}
64 bool& ok,
bool report)
const {
65 #ifdef HAVE_SUBSECOND_TIMESTEPS
87 return get<int>(attr, objectid, ok, report);
94 bool& ok,
SUMOTime defaultValue,
bool report)
const {
95 #ifdef HAVE_SUBSECOND_TIMESTEPS
113 return getOpt<int>(attr, objectid, ok, defaultValue, report);
123 std::ostringstream oss;
124 oss <<
"Attribute '" << attrname <<
"' is missing in definition of ";
130 oss <<
" '" << objectid <<
"'";
139 std::ostringstream oss;
140 oss <<
"Attribute '" << attrname <<
"' in definition of ";
146 oss <<
" '" << objectid <<
"'";
155 std::ostringstream oss;
156 oss <<
"Attribute '" << attrname <<
"' in definition of ";
162 oss <<
" '" << objectid <<
"'";
164 oss <<
" is not " << type <<
".";
171 if (def.find(
';') != std::string::npos || def.find(
',') != std::string::npos) {
173 WRITE_WARNING(
"Please note that using ';' and ',' as XML list separators is deprecated.\n From 1.0 onwards, only ' ' will be accepted.");
179 into.push_back(st.
next());
186 if (def.find(
';') != std::string::npos || def.find(
',') != std::string::npos) {
188 WRITE_WARNING(
"Please note that using ';' and ',' as XML list separators is deprecated.\n From 1.0 onwards, only ' ' will be accepted.");
194 into.insert(st.
next());