Reference.openRegion

hid_t openRegion(hid_t rapl = H5P_DEFAULT, hid_t oapl = H5P_DEFAULT)

Opens the referenced region as a dataspace.

The caller is responsible for closing the returned handle using H5Sclose() or wrapping it in a Dataspace wrapper.

Parameters

raplReference access property list (default: H5P_DEFAULT)
oaplObject access property list (default: H5P_DEFAULT)

Returns

Handle to the opened dataspace representing the region

Throws

HDF5Exception if opening fails or reference is invalid