#include <H5Slice_traits.hpp>
Public Member Functions | |
template<typename T > | |
void | read (T &array) const |
template<typename T > | |
void | read (T *array) const |
Selection | select (const std::vector< size_t > &offset, const std::vector< size_t > &count, const std::vector< size_t > &stride=std::vector< size_t >()) const |
Selection | select (const std::vector< size_t > &columns) const |
Selection | select (const ElementSet &elements) const |
template<typename T > | |
void | write (const T &buffer) |
template<typename T > | |
void | write (const T *buffer) |
Private Types | |
typedef Derivate | derivate_type |
Definition at line 26 of file H5Slice_traits.hpp.
|
private |
Definition at line 106 of file H5Slice_traits.hpp.
|
inline |
Read the entire dataset into a buffer An exception is raised is if the numbers of dimension of the buffer and of the dataset are different
The array type can be a N-pointer or a N-vector. For plain pointers not dimensionality checking will be performed, it is the user's responsibility to ensure that the right amount of space has been allocated.
Definition at line 149 of file H5Slice_traits_misc.hpp.
|
inline |
Read the entire dataset into a raw buffer
No dimensionality checks will be performed, it is the user's responsibility to ensure that the right amount of space has been allocated.
Definition at line 189 of file H5Slice_traits_misc.hpp.
|
inline |
select a region in the current Slice/Dataset of 'count' points at 'offset' separated by 'stride'. If strides are not provided they will default to 1 in all dimensions. vector offset and count have to be from the same dimension
Definition at line 66 of file H5Slice_traits_misc.hpp.
|
inline |
select a set of columns in the last dimension of this dataset. The column indices must be smaller than the dimension size.
Definition at line 92 of file H5Slice_traits_misc.hpp.
|
inline |
select a region in the current Slice/Dataset out of a list of elements
Definition at line 121 of file H5Slice_traits_misc.hpp.
|
inline |
Write the integrality N-dimension buffer to this dataset An exception is raised is if the numbers of dimension of the buffer and of the dataset are different
The array type can be a N-pointer or a N-vector ( e.g int** integer two dimensional array )
Definition at line 210 of file H5Slice_traits_misc.hpp.
|
inline |
Write from a raw buffer into this dataset
No dimensionality checks will be performed, it is the user's responsibility to ensure that the buffer holds the right amount of elements. For n-dimensional matrices the buffer layout follows H5 default conventions.
Definition at line 245 of file H5Slice_traits_misc.hpp.