29 #include "../NIImporter_Vissim.h" 56 if (tag ==
"mittelwert") {
57 double mean, deviation;
65 if (tag !=
"DATAEND") {
71 }
while (tag !=
"DATAEND");
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
Importer for networks stored in Vissim format.
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.
~NIVissimSingleTypeParser_Zeitenverteilungsdefinition()
Destructor.
static double toDouble(const std::string &sData)
converts a string into the double value described by it by calling the char-type converter ...
bool add(T val, double prob, bool checkDuplicates=true)
Adds a value with an assigned probability to the distribution.
NIVissimSingleTypeParser_Zeitenverteilungsdefinition(NIImporter_Vissim &parent)
Constructor.