35 #include "../NIImporter_Vissim.h" 36 #include "../tempstructs/NIVissimExtendedEdgePoint.h" 37 #include "../tempstructs/NIVissimDisturbance.h" 55 if (tag ==
"nureigenestrecke") {
57 }
else if (tag ==
"ort") {
59 }
else if (tag ==
"nummer") {
63 "NIVissimSingleTypeParser_Querverkehrsstoerungsdefinition: format problem");
77 std::string tag =
myRead(from);
98 if (tag !=
"DATAEND") {
101 }
while (tag !=
"DATAEND" && ok);
117 while (tag !=
"ort") {
143 if (tag !=
"DATAEND") {
146 }
while (tag !=
"DATAEND" && ok);
160 std::vector<int> lanes;
171 std::vector<int> types;
173 while (tag !=
"zeitluecke" && tag !=
"durch" && tag !=
"DATAEND" && tag !=
"alle") {
175 if (tag !=
"DATAEND") {
180 }
else if (tag !=
"zeitluecke" && tag !=
"durch" && tag !=
"DATAEND") {
182 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