SALOME - SMESH
UNV Namespace Reference

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)
 

Function Documentation

◆ beginning_of_dataset()

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.

Definition at line 50 of file UNV_Utilities.hxx.

◆ D_to_e()

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++.

Definition at line 82 of file UNV_Utilities.hxx.

◆ check_file()

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",

Definition at line 100 of file UNV_Utilities.hxx.