A slice (rectangular portion) of an HDF5 dataset.
More...
#include <slice.hpp>
|
template<typename T > |
void | operator<<= (const T &source) |
| Writes the content of a data source into the slice. More...
|
|
const std::vector< hsize_t > & | shape () const |
| The shape of the slice.
|
|
|
template<typename T > |
void | operator<<= (T &sink, const slice &source) |
| Reads the content of the slice into a data sink. More...
|
|
A slice (rectangular portion) of an HDF5 dataset.
template<typename T >
void echelon::slice::operator<<= |
( |
const T & |
source | ) |
|
|
inline |
Writes the content of a data source into the slice.
The shape of the data source must match the shape of the slice.
- Template Parameters
-
T | type of the container; T must satisfy the data source requirements. |
- Parameters
-
template<typename T >
void operator<<= |
( |
T & |
sink, |
|
|
const slice & |
source |
|
) |
| |
|
friend |
Reads the content of the slice into a data sink.
- Template Parameters
-
T | type of the container; T must satisfy the data sink requirements. |
- Parameters
-
sink | the data sink |
source | the slice, which is used as a source |
The documentation for this class was generated from the following files: