Reference.openAttribute

hid_t openAttribute(hid_t rapl = H5P_DEFAULT, hid_t aapl = H5P_DEFAULT)

Opens the referenced attribute.

The caller is responsible for closing the returned handle using H5Aclose() or wrapping it in an Attribute wrapper.

Parameters

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

Returns

Handle to the opened attribute

Throws

HDF5Exception if opening fails or reference is invalid