48 while (tag !=
"von") {
58 while (tag !=
"nach") {
59 std::string x =
myRead(from);
60 std::string y =
myRead(from);
79 double dxeinordnen = 0;
80 double zuschlag1, zuschlag2;
81 zuschlag1 = zuschlag2 = 0;
85 while (tag !=
"fahrzeugklassen" && tag !=
"sperrung" && tag !=
"auswertung" && tag !=
"DATAEND") {
86 if (tag ==
"rechts") {
88 }
else if (tag ==
"links") {
90 }
else if (tag ==
"alle") {
92 }
else if (tag ==
"dxnothalt") {
94 }
else if (tag ==
"dxeinordnen") {
96 }
else if (tag ==
"segment") {
100 if (tag ==
"zuschlag") {
103 if (tag ==
"zuschlag") {
112 std::vector<int> assignedVehicles;
113 if (tag ==
"fahrzeugklassen") {
115 while (tag !=
"DATAEND" && tag !=
"sperrung" && tag !=
"auswertung") {
117 assignedVehicles.push_back(classes);
123 if (tag !=
"DATAEND") {
127 if (tag ==
"keinspurwechsel") {
128 while (tag !=
"DATAEND") {
131 }
else if (tag ==
"spur") {
137 std::vector<int> assigned;
139 if (tag ==
"fahrzeugklassen") {
142 while (tag !=
"DATAEND" && tag !=
"spur" && tag !=
"keinspurwechsel") {
144 assigned.push_back(classes);
151 }
while (tag !=
"DATAEND");
154 assignedVehicles, clv);
std::vector< NIVissimClosedLaneDef * > NIVissimClosedLanesVector
std::string readEndSecure(std::istream &from, const std::string &excl="")
as myRead, but returns "DATAEND" when the current field has ended
NIVissimExtendedEdgePoint readExtEdgePointDef(std::istream &from)
std::string readName(std::istream &from)
Reads the structures name We cannot use the "<<" operator, as names may contain more than one word wh...
std::string overrideOptionalLabel(std::istream &from, const std::string &tag="")
overrides the optional label definition; returns the next tag as done by readEndSecure
std::string myRead(std::istream &from)
reads from the stream and returns the lower case version of the read value
Importer for networks stored in Vissim format.
static bool dictionary(int id, NIVissimConnection *o)
bool parse(std::istream &from)
Parses the data type from the given stream.
~NIVissimSingleTypeParser_Verbindungsdefinition()
Destructor.
NIVissimSingleTypeParser_Verbindungsdefinition(NIImporter_Vissim &parent)
Constructor.
A point in 2D or 3D with translation and scaling methods.
void push_back_noDoublePos(const Position &p)
insert in back a non double position
static double toDouble(const std::string &sData)
converts a string into the double value described by it by calling the char-type converter
static int toInt(const std::string &sData)
converts a string into the integer value described by it by calling the char-type converter,...