H5Aopen_by_idx

fnhid_t H5Aopen_by_idx(hid_t loc_id, const char * obj_name, int idx_type, int order, hsize_t n, hid_t aapl_id, hid_t lapl_id)

Opens an attribute by index.

Parameters

loc_idLocation identifier
obj_nameName of the object
idx_typeIndex type (H5_INDEX)
orderIteration order (H5_ITER_ORDER)
nAttribute index
aapl_idAttribute access property list identifier
lapl_idLink access property list identifier

Returns

An attribute identifier on success, or H5I_INVALID_HID on failure.