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 timegap, waygap, vmax);
104 if (tag !=
"DATAEND") {
107 }
while (tag !=
"DATAEND" && ok);
123 while (tag !=
"ort") {
149 timegap, waygap, vmax);
150 if (tag !=
"DATAEND") {
153 }
while (tag !=
"DATAEND" && ok);
167 std::vector<int> lanes;
178 std::vector<int> types;
180 while (tag !=
"zeitluecke" && tag !=
"durch" && tag !=
"DATAEND" && tag !=
"alle") {
182 if (tag !=
"DATAEND") {
187 }
else if (tag !=
"zeitluecke" && tag !=
"durch" && tag !=
"DATAEND") {
189 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(int id, const std::string &name, const NIVissimExtendedEdgePoint &edge, const NIVissimExtendedEdgePoint &by, SUMOReal timegap, SUMOReal waygap, SUMOReal vmax)
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)