114 #ifdef CHECK_MEMORY_LEAKS
116 #endif // CHECK_MEMORY_LEAKS
127 if (!oc.
isSet(
"vissim-file")) {
140 : myVissimParent(parent) {}
157 const std::string& excl) {
159 std::string tmp = myRead(from);
165 (tmp.substr(0, 2) ==
"--" || !myVissimParent.admitContinue(tmp))
175 const std::vector<std::string> &excl) {
176 std::vector<std::string> myExcl;
177 std::vector<std::string>::const_iterator i;
178 for (i = excl.begin(); i != excl.end(); i++) {
180 myExcl.push_back(mes);
182 std::string tmp = myRead(from);
188 for (i = myExcl.begin(); i != myExcl.end() && !equals; i++) {
195 (tmp.substr(0, 2) ==
"--" || !myVissimParent.admitContinue(tmp))
205 const std::string& tag) {
212 if (tmp ==
"beschriftung") {
214 if (tmp ==
"keine") {
235 std::istream& from,
const std::string& next) {
236 std::string tmp = readEndSecure(from);
237 std::vector<int> ret;
242 while (tmp !=
"DATAEND" && tmp != next) {
244 tmp = readEndSecure(from);
252 std::istream& from) {
258 std::vector<int> lanes;
259 while (tag !=
"bei") {
260 tag = readEndSecure(from);
263 lanes.push_back(lane - 1);
268 std::vector<int> dummy;
277 if (name[0] ==
'"') {
278 while (name[name.length() - 1] !=
'"') {
281 name = name +
" " + tmp;
283 name = name.substr(1, name.length() - 2);
291 const std::string& name) {
293 while (tag != name) {
300 const std::string& name) {
302 while (tag != name) {
305 while (tag !=
"DATAEND") {
306 tag = readEndSecure(from);
364 std::ifstream strm(options.
getString(
"vissim-file").c_str());
391 while (strm.good() && ok) {
400 while (!parsed && strm.good() && ok) {
403 ToParserMap::iterator j =
myParsers.find((*i).second);
406 ok = parser->
parse(strm);
416 }
while (strm.good() && (line ==
"" || line[0] ==
' ' || line[0] ==
'-'));