36 #include "../NIImporter_Vissim.h" 37 #include "../tempstructs/NIVissimExtendedEdgePoint.h" 38 #include "../tempstructs/NIVissimDisturbance.h" 56 if (tag ==
"nureigenestrecke") {
58 }
else if (tag ==
"ort") {
60 }
else if (tag ==
"nummer") {
64 "NIVissimSingleTypeParser_Querverkehrsstoerungsdefinition: format problem");
78 std::string tag =
myRead(from);
99 if (tag !=
"DATAEND") {
102 }
while (tag !=
"DATAEND" && ok);
118 while (tag !=
"ort") {
144 if (tag !=
"DATAEND") {
147 }
while (tag !=
"DATAEND" && ok);
161 std::vector<int> lanes;
172 std::vector<int> types;
174 while (tag !=
"zeitluecke" && tag !=
"durch" && tag !=
"DATAEND" && tag !=
"alle") {
176 if (tag !=
"DATAEND") {
181 }
else if (tag !=
"zeitluecke" && tag !=
"durch" && tag !=
"DATAEND") {
183 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)
std::string readName(std::istream &from)
Reads the structures name We cannot use the "<<" operator, as names may contain more than one word wh...
static int _2int(const E *const data)
converts a char-type array into the integer value described by it