Namespace hdf5::dataspace

Type traits

TypeTrait

template<typename T>
class TypeTrait

type trait for dataspace construction

This trait provides a static function creating a new dataspace for a particular instance of T. To integrate new types just add a specialization of this trait.

Template Parameters

T – type for which to construct a dataspace

Enumerations

Type

enum class hdf5::dataspace::Type : std::underlying_type<H5S_class_t>::type

determine the datatype instance

This enumeration type is primarily used to identify the particular type of dataspace when given only a reference to dataspace::Dataspace.

Values:

enumerator Scalar

the dataspace is an instance of dataspace::Scalar

enumerator Simple

the dataspace is an instance of dataspace::Simple

enumerator NoData

the dataspace is an instance of dataspace::Null

Warning

dataspace::Null is currently not implemented

std::ostream &hdf5::dataspace::operator<<(std::ostream &stream, const Type &t)

SelectionType

enum class hdf5::dataspace::SelectionType : std::underlying_type<H5S_sel_type>::type

selection type

Determines what kind of selection is applied to a datatype. Like datapsace::Type this identifies the particular type of selection when given only a reference to dataspace::Selection.

Values:

enumerator None

nothing is selected

enumerator Points

the selection is a point selection (dataspace::Points)

enumerator Hyperslab

the selection is a hyperslab selection (dataspace::Hyperslab)

enumerator All

everything is selected

std::ostream &hdf5::dataspace::operator<<(std::ostream &stream, const SelectionType &t)

SelectionOperation

enum class hdf5::dataspace::SelectionOperation : std::underlying_type<H5S_seloper_t>::type

selection operator

Values:

enumerator Set

replace all selections by this one

enumerator Or

select all elements which are in this or the previously applied selections

enumerator And

selects the overlapping region of the actual selection and previously applied selections

enumerator XOr

select all elements which are either in this or in the previously applied selections but not in both

enumerator NotB

select those elements which are on the previously applied selections but not in the current one

enumerator NotA

select only those elements which are in the current selection and not in the previous ones

enumerator Append

for point selections: add the point to the end of the current list of points

enumerator Prepend

for point selections: add the point to the beginning of the current list of points

std::ostream &hdf5::dataspace::operator<<(std::ostream &stream, const SelectionOperation &o)