QMCPACK
hdf_wrapper_functions.h File Reference

free template functions wrapping HDF5 calls. More...

+ Include dependency graph for hdf_wrapper_functions.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 qmcplusplus
 helper functions for EinsplineSetBuilder
 

Functions

template<typename T , typename IT >
bool getDataShape (hid_t grp, const std::string &aname, std::vector< IT > &sizes_out)
 free template function to read the (user) dimension and shape of the dataset. More...
 
template<typename T >
bool checkShapeConsistency (hid_t grp, const std::string &aname, int rank, hsize_t *dims)
 free function to check dimension More...
 
template<typename T >
bool h5d_read (hid_t grp, const std::string &aname, T *first, hid_t xfer_plist)
 return true, if successful More...
 
bool h5d_check_existence (hid_t grp, const std::string &aname)
 
template<typename T >
bool h5d_check_type (hid_t grp, const std::string &aname)
 
template<typename T >
bool h5d_write (hid_t grp, const std::string &aname, hsize_t ndims, const hsize_t *dims, const T *first, hid_t xfer_plist)
 
template<typename T >
bool h5d_read (hid_t grp, const std::string &aname, hsize_t ndims, const hsize_t *gcounts, const hsize_t *counts, const hsize_t *offsets, T *first, hid_t xfer_plist)
 return true, if successful More...
 
template<typename T >
bool h5d_write (hid_t grp, const std::string &aname, hsize_t ndims, const hsize_t *gcounts, const hsize_t *counts, const hsize_t *offsets, const T *first, hid_t xfer_plist)
 
template<typename T >
bool h5d_read (hid_t grp, const std::string &aname, hsize_t ndims, const hsize_t *gcounts, const hsize_t *counts, const hsize_t *offsets, hsize_t mem_ndims, const hsize_t *mem_gcounts, const hsize_t *mem_counts, const hsize_t *mem_offsets, T *first, hid_t xfer_plist)
 return true, if successful More...
 
template<typename T >
bool h5d_write (hid_t grp, const std::string &aname, hsize_t ndims, const hsize_t *gcounts, const hsize_t *counts, const hsize_t *offsets, hsize_t mem_ndims, const hsize_t *mem_gcounts, const hsize_t *mem_counts, const hsize_t *mem_offsets, const T *first, hid_t xfer_plist)
 
template<typename T >
bool h5d_append (hid_t grp, const std::string &aname, hsize_t &current, hsize_t ndims, const hsize_t *const dims, const T *const first, hsize_t chunk_size=1, hid_t xfer_plist=H5P_DEFAULT)
 

Detailed Description

free template functions wrapping HDF5 calls.

Definition in file hdf_wrapper_functions.h.