Function parpe::hdf5CreateFile¶
Defined in File hdf5Misc.h
Function Documentation¶
-
H5::H5File
parpe
::
hdf5CreateFile
(std::string const &filename, bool overwrite = false)¶ Create and open HDF5 file for writing.
Creates parent path if it doesn’t exist before creating the file. Throws HDF5Exception on failure.
- Return
HDF5 file handle of the created/opened file
- Parameters
filename
: Filename, optionally including path of the new fileoverwrite
: Overwrite file if exists. If false and file exists, throws HDF5Exception on failure.