![]() |
QMCPACK
|
specialization for bool, convert to int More...
Public Types | |
using | data_type = bool |
using | FileSpace = h5_space_type< int, 0 > |
Public Member Functions | |
h5data_proxy (const data_type &a) | |
bool | read (data_type &ref, hid_t grp, const std::string &aname, hid_t xfer_plist=H5P_DEFAULT) |
bool | write (const data_type &ref, hid_t grp, const std::string &aname, hid_t xfer_plist=H5P_DEFAULT) const |
Additional Inherited Members | |
![]() | |
static constexpr int | added_rank () |
new rank added due to T More... | |
static auto | get_address (int *a) |
return the address More... | |
static auto | get_address (const int *a) |
![]() | |
hsize_t | dims [RANK > 0 ? RANK :1] |
shape of the dataspace, protected for zero size array, hdf5 support scalar as rank = 0 More... | |
![]() | |
static constexpr hsize_t | rank |
rank of the multidimensional dataspace More... | |
specialization for bool, convert to int
Definition at line 56 of file hdf_dataproxy.h.
using data_type = bool |
Definition at line 58 of file hdf_dataproxy.h.
using FileSpace = h5_space_type<int, 0> |
Definition at line 59 of file hdf_dataproxy.h.
|
inline |
Definition at line 63 of file hdf_dataproxy.h.
|
inline |
Definition at line 65 of file hdf_dataproxy.h.
References copy(), h5_space_type< T, 0 >::get_address(), qmcplusplus::h5d_read(), and qmcplusplus::okay.
|
inline |
Definition at line 73 of file hdf_dataproxy.h.
References copy(), h5_space_type< T, 0 >::dims, h5_space_type< T, 0 >::get_address(), qmcplusplus::h5d_write(), and h5_space_type< T, 0 >::rank.