![]() |
QMCPACK
|
specialization for std::vector<T> More...
Inheritance diagram for h5data_proxy< std::vector< T > >:
Collaboration diagram for h5data_proxy< std::vector< T > >:Public Types | |
| using | FileSpace = h5_space_type< T, 1 > |
| using | data_type = std::vector< T > |
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 Public Member Functions inherited from h5_space_type< T, 1 > | |
| static constexpr int | added_rank () |
| new rank added due to T More... | |
| static auto | get_address (T *a) |
| return the address More... | |
| static auto | get_address (const T *a) |
Public Attributes inherited from h5_space_type< T, 1 > | |
| hsize_t | dims [RANK > 0 ? RANK :1] |
| shape of the dataspace, protected for zero size array, hdf5 support scalar as rank = 0 More... | |
Static Public Attributes inherited from h5_space_type< T, 1 > | |
| static constexpr hsize_t | rank |
| rank of the multidimensional dataspace More... | |
specialization for std::vector<T>
Used with any T with a proper h5_space_type, e.g., intrinsic, TinyVector<T,D>, Tensor<T,D>
| using FileSpace = h5_space_type<T, 1> |
|
inline |
Definition at line 35 of file hdf_stl.h.
References h5_space_type< T, 0 >::dims.
|
inline |
Definition at line 37 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 44 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 49 of file hdf_stl.h.
References h5_space_type< T, 0 >::get_address(), and qmcplusplus::h5d_write().