6 #ifndef ECHELON_SLICE_HPP 7 #define ECHELON_SLICE_HPP 9 #include <echelon/hdf5/slice.hpp> 11 #include <echelon/range.hpp> 39 native_slice_ <<= source;
53 sink <<= source.native_slice_;
57 friend void operator<<=(const hdf5::array_slice<T>& sink,
const slice& source)
59 sink <<= source.native_slice_;
64 const std::vector<hsize_t>&
shape()
const;
echelon's core namespace
Definition: attribute.cpp:10
A slice (rectangular portion) of an HDF5 dataset.
Definition: hdf5/slice.hpp:27
const std::vector< hsize_t > & shape() const
The shape of the slice.
Definition: slice.cpp:17
void operator<<=(const T &source)
Writes the content of a data source into the slice.
Definition: slice.hpp:37
friend void operator<<=(T &sink, const slice &source)
Reads the content of the slice into a data sink.
Definition: slice.hpp:51
A slice (rectangular portion) of an HDF5 dataset.
Definition: slice.hpp:22