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++. More... | |
bool | check_file (const std::string theFileName) |
std::string | read_line (std::ifstream &in_stream, const bool next=true) |
reads a whole line More... | |
Variables | |
const size_t | theMaxLineLen = 82 |
bool UNV::beginning_of_dataset | ( | std::istream & | in_file, |
const std::string & | ds_name | ||
) |
false
when error occurred, true
otherwise. Adjusts the in_stream
to the beginning of the dataset ds_name
. Referenced by UNV2411::Read(), UNV2412::Read(), UNV164::Read(), and UNV2420::Read().
bool UNV::check_file | ( | const std::string | theFileName | ) |
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", Referenced by DriverUNV_W_SMDS_Mesh::Perform().
double UNV::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++.
Referenced by UNV2411::Read(), UNV164::Read(), and UNV2420::Read().
std::string UNV::read_line | ( | std::ifstream & | in_stream, |
const bool | next = true |
||
) |
reads a whole line
in_stream | - source stream |
next | - if true, first reads the current line up to the end which is necessary after reading using >> operator |
std::string | - the result line |
Referenced by UNV2411::Read(), and UNV2420::Read().
const size_t UNV::theMaxLineLen = 82 |
Referenced by UNV164::Read().