9 #ifndef H5SELECTION_MISC_HPP
10 #define H5SELECTION_MISC_HPP
14 inline Selection::Selection(
const DataSpace& memspace,
15 const DataSpace& file_space,
const DataSet& set)
16 : _mem_space(memspace)
17 , _file_space(file_space)
20 inline DataSpace Selection::getSpace() const noexcept {
24 inline DataSpace Selection::getMemSpace() const noexcept {
28 inline DataSet& Selection::getDataset() noexcept {
32 inline const DataSet& Selection::getDataset() const noexcept {
37 inline const DataType Selection::getDataType()
const {
38 return _set.getDataType();
Class representing a dataset.
Definition: H5DataSet.hpp:31
Class representing the space (dimensions) of a dataset.
Definition: H5DataSpace.hpp:37
HDF5 Data Type.
Definition: H5DataType.hpp:42
Definition: H5_definitions.hpp:15