35 #include "../NIImporter_Vissim.h" 62 if (tag ==
"mittelwert") {
63 double mean, deviation;
71 if (tag !=
"DATAEND") {
77 }
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 _2double(const E *const data)
converts a char-type array into the double value described by it
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.