Opens the HDF5 attribute referenced
Procedure:
H5R_OPEN_ATTR ( ref_ptr, rapl_id, aapl_id )
Signature:
hid_t H5Ropen_attr ( H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t aapl_id )
Parameters:
H5R_ref_t * ref_ptr | IN: Pointer to attribute reference to open H5R_ref_t is defined in H5Rpublic.h as: typedef unsigned char H5R_ref_t[H5R_REF_BUF_SIZE]; |
hid_t rapl_id | IN: Valid reference access property list identifier |
hid_t aapl_id | IN: Valid attribute access property list identifier |
Description:
Given a reference, ref_ptr
, to an attribute attached to an object, H5R_OPEN_ATTR opens the attribute attached to that object and returns an identifier.
The parameter rapl id
is a reference access property list identifier for the reference. The access property list can be used to access external files that the reference points to (through a file access property list).
The parameter aapl_id
is an attribute access property list identifier for the referenced attribute.
The attribute opened with this function should be closed with H5A_CLOSE when it is no longer needed.
Returns:
Returns a valid attribute identifier if successful; otherwise returns a negative value.
Example:
History:
Release | Change |
---|
1.12.0 | C function introduced in this release. |
--- Last Modified: July 10, 2020 | 08:52 AM