29 #include "../NIImporter_Vissim.h" 30 #include "../tempstructs/NIVissimExtendedEdgePoint.h" 31 #include "../tempstructs/NIVissimDisturbance.h" 49 if (tag ==
"nureigenestrecke") {
51 }
else if (tag ==
"ort") {
53 }
else if (tag ==
"nummer") {
57 "NIVissimSingleTypeParser_Querverkehrsstoerungsdefinition: format problem");
71 std::string tag =
myRead(from);
92 if (tag !=
"DATAEND") {
95 }
while (tag !=
"DATAEND" && ok);
111 while (tag !=
"ort") {
137 if (tag !=
"DATAEND") {
140 }
while (tag !=
"DATAEND" && ok);
154 std::vector<int> lanes;
165 std::vector<int> types;
167 while (tag !=
"zeitluecke" && tag !=
"durch" && tag !=
"DATAEND" && tag !=
"alle") {
169 if (tag !=
"DATAEND") {
174 }
else if (tag !=
"zeitluecke" && tag !=
"durch" && tag !=
"DATAEND") {
176 types.push_back(tmp);
std::string myRead(std::istream &from)
reads from the stream and returns the lower case version of the read value
std::string readEndSecure(std::istream &from, const std::string &excl="")
as myRead, but returns "DATAEND" when the current field has ended
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...
std::string readName(std::istream &from)
Reads the structures name We cannot use the "<<" operator, as names may contain more than one word wh...