 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
28 #include "../NIImporter_Vissim.h"
54 if (tag !=
"DATAEND") {
60 }
while (tag !=
"DATAEND");
bool add(T val, double prob, bool checkDuplicates=true)
Adds a value with an assigned probability to the distribution.
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.
static double toDouble(const std::string &sData)
converts a string into the double value described by it by calling the char-type converter
Importer for networks stored in Vissim format.
~NIVissimSingleTypeParser_Laengenverteilungsdefinition()
Destructor.
NIVissimSingleTypeParser_Laengenverteilungsdefinition(NIImporter_Vissim &parent)
Constructor.
bool parse(std::istream &from)
Parses the data type from the given stream.
std::string readEndSecure(std::istream &from, const std::string &excl="")
as myRead, but returns "DATAEND" when the current field has ended