64 std::vector<std::string> tmp;
65 tmp.push_back(
"zeit");
66 tmp.push_back(
"fahrzeugklasse");
68 while (tag !=
"DATAEND" && tag !=
"zeit") {
86 const std::vector<int>& lanes = c->
getToLanes();
88 for (std::vector<int>::const_iterator j = lanes.begin(); j != lanes.end(); j++) {
std::string readEndSecure(std::istream &from, const std::string &excl="")
as myRead, but returns "DATAEND" when the current field has ended
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.
const std::vector< int > & getToLanes() const
static bool dictionary(int id, NIVissimConnection *o)
A temporary storage for edges imported from Vissim.
void setSpeed(int lane, int speedDist)
static bool dictionary(int id, const std::string &name, const std::string &type, int noLanes, double zuschlag1, double zuschlag2, double length, const PositionVector &geom, const NIVissimClosedLanesVector &clv)
Adds the described item to the dictionary Builds the edge first.
bool parse(std::istream &from)
Parses the data type from the given stream.
~NIVissimSingleTypeParser_VWunschentscheidungsdefinition()
Destructor.
NIVissimSingleTypeParser_VWunschentscheidungsdefinition(NIImporter_Vissim &parent)
Constructor.
static int toInt(const std::string &sData)
converts a string into the integer value described by it by calling the char-type converter,...