36 #include "../NIImporter_Vissim.h"
37 #include "../tempstructs/NIVissimExtendedEdgePoint.h"
38 #include "../tempstructs/NIVissimDisturbance.h"
41 #ifdef CHECK_MEMORY_LEAKS
43 #endif // CHECK_MEMORY_LEAKS
60 if (tag ==
"nureigenestrecke") {
62 }
else if (tag ==
"ort") {
64 }
else if (tag ==
"nummer") {
68 "NIVissimSingleTypeParser_Querverkehrsstoerungsdefinition: format problem");
82 std::string tag =
myRead(from);
103 if (tag !=
"DATAEND") {
106 }
while (tag !=
"DATAEND" && ok);
122 while (tag !=
"ort") {
148 if (tag !=
"DATAEND") {
151 }
while (tag !=
"DATAEND" && ok);
165 std::vector<int> lanes;
176 std::vector<int> types;
178 while (tag !=
"zeitluecke" && tag !=
"durch" && tag !=
"DATAEND" && tag !=
"alle") {
180 if (tag !=
"DATAEND") {
185 }
else if (tag !=
"zeitluecke" && tag !=
"durch" && tag !=
"DATAEND") {
187 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)