CNORXZ
Container with Native Operation Routines and Expressions
|
#include <h5_dataset.h>
Additional Inherited Members | |
Protected Attributes inherited from CNORXZ::hdf5::Dataset | |
RangePtr | mDataRange |
hid_t | mType |
hid_t | mFilespace |
Protected Attributes inherited from CNORXZ::hdf5::ContentBase | |
String | mName |
const ContentBase * | mParent = nullptr |
hid_t | mId = 0 |
Class to handle hdf5 datasets, the value type is known at compile time.
T | Dataset value type. |
Definition at line 76 of file h5_dataset.h.
CNORXZ::hdf5::SDataset< T >::SDataset | ( | const String & | name, |
const ContentBase * | _parent ) |
Construct the class.
name | Dataset name. |
_parent | Parent content object. |
Definition at line 43 of file h5_dataset.cc.h.
Default constructors and assignments.
Read the dataset.
Definition at line 48 of file h5_dataset.cc.h.
MArray< T > CNORXZ::hdf5::SDataset< T >::read | ( | const IndexInterface< I, M > & | beg, |
const IndexInterface< I, M > & | end ) const |
Read a given subset of the dataset. The subset needs to be hypercubic.
beg | Index indicating the begin edge of the hypercube. |
end | Index indicating the end edge of the hypercube (inclusive). |
Definition at line 68 of file h5_dataset.cc.h.