The HDF5Resource class is a unique_ptr for hdf5 resources.
More...
#include <alsfvm/io/hdf5_utils.hpp>
The HDF5Resource class is a unique_ptr for hdf5 resources.
◆ delete_function
typedef herr_t(* alsfvm::io::HDF5Resource::delete_function) (hid_t) |
◆ HDF5Resource()
alsfvm::io::HDF5Resource::HDF5Resource |
( |
hid_t |
hdf5Resource, |
|
|
delete_function |
deleter |
|
) |
| |
|
inline |
HDF5Resource constructs a new HDF5Resource.
Example usage
- Parameters
-
hdf5Resource | the hdf5 id to store (obtained from say H5Fopen |
deleter | the deleter function (eg. H5Fclose) |
◆ ~HDF5Resource()
alsfvm::io::HDF5Resource::~HDF5Resource |
( |
| ) |
|
|
inlinenoexcept |
◆ hid()
hid_t alsfvm::io::HDF5Resource::hid |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/alsvinn/checkouts/stable/alsfvm/include/alsfvm/io/hdf5_utils.hpp