9 #ifndef utils_H5Utils_hpp
10 #define utils_H5Utils_hpp
21 static herr_t
close( hid_t & h )
29 static herr_t
close( hid_t & h )
37 static herr_t
close( hid_t & h )
45 static herr_t
close( hid_t & h )
53 static herr_t
close( hid_t & h )
109 if(
_hand == 0)
return 0;
111 herr_t rv = T::close(
_hand);
A somewhat smart HDF5 handle.
~H5Handle()
Destructor. Calls the close function.
herr_t close()
Close the handle.
hid_t _hand
The underlying handle.
H5Handle(const H5Handle &)=delete
hid_t & operator=(const hid_t &hand)
Assignment from a basic hdf5 handle.
H5Handle & operator=(const H5Handle &)=delete
H5Handle< H5PropertyT > H5Handle_P
Handle for an HDF5 property list.
H5Handle< H5AttributeT > H5Handle_A
Handle for an HDF5 attribute.
H5Handle< H5DatasetT > H5Handle_D
Handle for an HDF5 dataset.
H5Handle< H5DataspaceT > H5Handle_S
Handle for an HDF5 dataspace.
H5Handle< H5FileT > H5Handle_F
Handle for an HDF5 file.
static herr_t close(hid_t &h)
static herr_t close(hid_t &h)
static herr_t close(hid_t &h)
static herr_t close(hid_t &h)
static herr_t close(hid_t &h)