47 if (tag ==
"nureigenestrecke") {
49 }
else if (tag ==
"ort") {
51 }
else if (tag ==
"nummer") {
55 "NIVissimSingleTypeParser_Querverkehrsstoerungsdefinition: format problem");
69 std::string tag =
myRead(from);
90 if (tag !=
"DATAEND") {
93 }
while (tag !=
"DATAEND" && ok);
109 while (tag !=
"ort") {
135 if (tag !=
"DATAEND") {
138 }
while (tag !=
"DATAEND" && ok);
152 std::vector<int> lanes;
163 std::vector<int> types;
165 while (tag !=
"zeitluecke" && tag !=
"durch" && tag !=
"DATAEND" && tag !=
"alle") {
167 if (tag !=
"DATAEND") {
172 }
else if (tag !=
"zeitluecke" && tag !=
"durch" && tag !=
"DATAEND") {
174 types.push_back(tmp);
std::string readEndSecure(std::istream &from, const std::string &excl="")
as myRead, but returns "DATAEND" when the current field has ended
std::string readName(std::istream &from)
Reads the structures name We cannot use the "<<" operator, as names may contain more than one word wh...
std::string myRead(std::istream &from)
reads from the stream and returns the lower case version of the read value
Importer for networks stored in Vissim format.
static bool dictionary(const std::string &name, const NIVissimExtendedEdgePoint &edge, const NIVissimExtendedEdgePoint &by)
static int toInt(const std::string &sData)
converts a string into the integer value described by it by calling the char-type converter,...