25 return detail::h5d_get_storage_size(
_hid);
34 space.
_hid = detail::h5d_get_space(
_hid);
43 return static_cast<uint64_t
>(detail::h5d_get_offset(
_hid));
48 if (dims.size() != numDimensions) {
50 std::to_string(dims.size()) +
" expected " +
51 std::to_string(numDimensions));
54 std::vector<hsize_t> real_dims(dims.begin(), dims.end());
55 detail::h5d_set_extent(
getId(), real_dims.data());
DataSpace getMemSpace() const
getMemSpace
Definition H5DataSet_misc.hpp:38
void resize(const std::vector< size_t > &dims)
Change the size of the dataset.
Definition H5DataSet_misc.hpp:46
DataType getDataType() const
getDataType
Definition H5DataSet_misc.hpp:28
uint64_t getOffset() const
getOffset
Definition H5DataSet_misc.hpp:42
uint64_t getStorageSize() const
getStorageSize
Definition H5DataSet_misc.hpp:24
DataSpace getSpace() const
getSpace
Definition H5DataSet_misc.hpp:32
Class representing the space (dimensions) of a DataSet.
Definition H5DataSpace.hpp:39
std::vector< size_t > getDimensions() const
Returns the size of the dataset in each dimension.
Definition H5Dataspace_misc.hpp:104
HDF5 Data Type.
Definition H5DataType.hpp:61
hid_t getId() const noexcept
getId
Definition H5Object_misc.hpp:69
hid_t _hid
Definition H5Object.hpp:105
Definition H5_definitions.hpp:22
static void ToException(const std::string &prefix_msg)
Definition H5Exception_misc.hpp:43