58 if (tag !=
"DATAEND") {
64 }
while (tag !=
"DATAEND");
static bool dictionary(const std::string &type, const std::string &id, Distribution *d)
Adds a distribution of the given type and name to the container.
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...
Importer for networks stored in Vissim format.
bool parse(std::istream &from)
Parses the data type from the given stream.
~NIVissimSingleTypeParser_Geschwindigkeitsverteilungsdefinition()
Destructor.
NIVissimSingleTypeParser_Geschwindigkeitsverteilungsdefinition(NIImporter_Vissim &parent)
Constructor.
bool add(T val, double prob, bool checkDuplicates=true)
Adds a value with an assigned probability to the distribution.
static double toDouble(const std::string &sData)
converts a string into the double value described by it by calling the char-type converter