12#ifndef __cxz_h5_dataset_cc_h__
13#define __cxz_h5_dataset_cc_h__
37 CXZ_ERROR(
"Got array type with non-trivial format; non-contiguous data formats are not supported yet!");
52 dims[
i] = mDataRange->sub(
i)->size();
55 dims.data(),
nullptr);
60 <<
"', errorcode :" <<
err);
67 template <
class I,
typename M>
70 CXZ_ASSERT(
beg.dim() == mDataRange->dim(),
"got index of inconsistent dimension, got"
71 <<
beg.dim() <<
", expected " << mDataRange->dim());
80 dims.data(),
nullptr);
85 <<
"', errorcode :" <<
err);
92 template <
class I,
typename M>
100 for(SizeT
i = 0;
i !=
beg.dim(); ++
i){
101 fpos[
i] =
beg.THIS().pack().get(
i)->lex();
#define CXZ_ERROR(errmsg)
#define CXZ_ASSERT(statement, errmsg)
virtual RangePtr range() const
bool formatIsTrivial() const
Dataset & init(const RangePtr &dataRange, hid_t type)
SDataset(const String &name, const ContentBase *_parent)
Sptr< RangeBase > RangePtr
std::vector< T, Allocator< T > > Vector
Sptr< Range > rangeCast(const RangePtr r)
static constexpr bool value