Class Hyperslab

Class Documentation

class h5pp::Hyperslab

Public Functions

Hyperslab() = default
Hyperslab(const DimsType &offset, const DimsType &extent, OptDimsType stride = std::nullopt, OptDimsType blocks = std::nullopt)
Hyperslab(const hid::h5s &space)
bool empty() const
std::string string() const

Public Members

OptDimsType offset = std::nullopt

The start position of a hyperslab

OptDimsType extent = std::nullopt

The extent (or “count”) of a hyperslab

OptDimsType stride = std::nullopt

The stride of a hyperslab. Empty means contiguous

OptDimsType blocks = std::nullopt

The blocks size of each element in the hyperslab. Empty means 1x1

std::optional<H5S_sel_type> select_type = std::nullopt