9 #ifndef H5SLICE_TRAITS_HPP
10 #define H5SLICE_TRAITS_HPP
25 template <
typename Derivate>
30 explicit ElementSet(
const std::vector<std::size_t>& element_ids);
33 std::vector<std::size_t>
_ids;
35 template <
typename Derivate>
39 template <
typename Derivate>
49 const std::vector<size_t>& count,
50 const std::vector<size_t>& stride = std::vector<size_t>())
74 void read(T& array)
const;
83 void read(T* array)
const;
93 void write(
const T& buffer);
102 template <
typename T>
103 void write(
const T* buffer);
110 #endif // H5SLICE_TRAITS_HPP