16 int status = rename((fname +
".generating").c_str(), fname.c_str());
18 throw Exception(
"Trouble renaming the file " + fname +
19 ".generating to " + fname);
28 remove(fname.c_str());
51 remove((fname +
".generating").c_str());
57 Os <<
"HdfFileGenerating: \n" 58 <<
" File name: " << fname <<
"\n";
This is the base of the exception hierarchy for Full Physics code.
void abandon()
Abandon a file and clean it up.
void close()
Close a file, changing the name to the final name.
This class reads and writes a HDF5 file.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
void print(std::ostream &Os) const