Struct Options

Struct Documentation

struct h5pp::Options

Public Functions

std::string string() const
void assertWellDefined() const

Public Members

std::optional<std::string> linkPath = std::nullopt

Path to HDF5 dataset relative to the file root

std::optional<std::string> attrName = std::nullopt

Name of attribute on group or dataset

OptDimsType dataDims = std::nullopt

Data dimensions hint. Required for pointer data

OptDimsType dsetDimsChunk = std::nullopt

(On create) Chunking dimensions. Only valid for H5D_CHUNKED datasets

OptDimsType dsetDimsMax = std::nullopt

(On create) Maximum dimensions. Only valid for H5D_CHUNKED datasets

std::optional<Hyperslab> dsetSlab = std::nullopt

Select hyperslab, a subset of the data to participate in transfers to/from the dataset

std::optional<Hyperslab> attrSlab = std::nullopt

Select hyperslab, a subset of the data to participate in transfers to/from the attribute

std::optional<Hyperslab> dataSlab = std::nullopt

Select hyperslab, a subset of the data to participate in transfers to/from memory

std::optional<hid::h5t> h5Type = std::nullopt

(On create) Type of dataset. Override automatic type detection.

std::optional<H5D_layout_t> h5Layout = std::nullopt

(On create) Layout of dataset. Choose between H5D_CHUNKED,H5D_COMPACT and H5D_CONTIGUOUS

std::optional<unsigned int> compression = std::nullopt

(On create) Compression level 0-9, 0 = off, 9 is gives best compression and is slowest

std::optional<h5pp::ResizeMode> resizeMode = std::nullopt

Type of resizing if needed. Choose INCREASE_ONLY, RESIZE_TO_FIT,DO_NOT_RESIZE