 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
28 #include "../NIImporter_Vissim.h"
29 #include "../tempstructs/NIVissimExtendedEdgePoint.h"
30 #include "../tempstructs/NIVissimDisturbance.h"
48 if (tag ==
"nureigenestrecke") {
50 }
else if (tag ==
"ort") {
52 }
else if (tag ==
"nummer") {
56 "NIVissimSingleTypeParser_Querverkehrsstoerungsdefinition: format problem");
70 std::string tag =
myRead(from);
91 if (tag !=
"DATAEND") {
94 }
while (tag !=
"DATAEND" && ok);
110 while (tag !=
"ort") {
136 if (tag !=
"DATAEND") {
139 }
while (tag !=
"DATAEND" && ok);
153 std::vector<int> lanes;
164 std::vector<int> types;
166 while (tag !=
"zeitluecke" && tag !=
"durch" && tag !=
"DATAEND" && tag !=
"alle") {
168 if (tag !=
"DATAEND") {
173 }
else if (tag !=
"zeitluecke" && tag !=
"durch" && tag !=
"DATAEND") {
175 types.push_back(tmp);
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 bool dictionary(const std::string &name, const NIVissimExtendedEdgePoint &edge, const NIVissimExtendedEdgePoint &by)
Importer for networks stored in Vissim format.
std::string readEndSecure(std::istream &from, const std::string &excl="")
as myRead, but returns "DATAEND" when the current field has ended
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 myRead(std::istream &from)
reads from the stream and returns the lower case version of the read value