Package UNV


Data Structures

class  PrefixPrinter

Functions

bool beginning_of_dataset (std::istream &in_file, const std::string &ds_name)
double D_to_e (std::string &number)
 Method for converting exponential notation from "D" to "e", for example 3.141592654D+00 --> 3.141592654e+00 in order to make it readable for C++.
bool check_file (const std::string theFileName)


Function Documentation

bool UNV.beginning_of_dataset std::istream &  in_file,
const std::string &  ds_name
 

Returns:
false when error occured, true otherwise. Adjusts the in_stream to the beginning of the dataset ds_name.

double UNV.D_to_e std::string &  number  ) 
 

bool UNV.check_file const std::string  theFileName  ) 
 

Returns:
false when file is incorrect, true otherwise. Check file with name theFileName for correct terminate string, i.e. the next to the last line is equal to " -1",