Given a reference,
ref_ptr, to an object, a region in an object or an attribute attached to an object, H5R_OPEN_OBJECT opens that object and returns an identifier.
oapl_id is an object access property list identifier for the referenced object. The access property list must be of the same type as the object being referenced, that is a group or dataset property list.
The object opened with this function should be closed when it is no longer needed so that resource leaks will not develop. Use the appropriate close function such as H5O_CLOSE or H5D_CLOSE for datasets.