![]() |
QMCPACK
|
specialization for std::vector<bool> More...
Public Types | |
using | FileSpace = h5_space_type< char, 1 > |
using | data_type = std::vector< bool > |
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 |
bool | write (const data_type &ref, hid_t grp, const std::string &aname, const std::vector< hsize_t > &dvec, hid_t xfer_plist) const |
Additional Inherited Members | |
![]() | |
static constexpr int | added_rank () |
new rank added due to T More... | |
static auto | get_address (char *a) |
return the address More... | |
static auto | get_address (const char *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 std::vector<bool>
Used with bool which doesn't have a h5 datatype we can use.
using FileSpace = h5_space_type<char, 1> |
|
inline |
Definition at line 71 of file hdf_stl.h.
References h5_space_type< T, 0 >::dims.
|
inline |
Definition at line 73 of file hdf_stl.h.
References h5_space_type< T, 0 >::dims, h5_space_type< T, 0 >::get_address(), qmcplusplus::h5d_read(), and h5_space_type< T, 0 >::rank.
|
inline |
Definition at line 84 of file hdf_stl.h.
References h5_space_type< T, 0 >::dims, h5_space_type< T, 0 >::get_address(), qmcplusplus::h5d_write(), and h5_space_type< T, 0 >::rank.
|
inline |
Definition at line 91 of file hdf_stl.h.
References h5_space_type< T, 0 >::get_address(), and qmcplusplus::h5d_write().