H5Iget_ref
(hid_t obj_id
)
H5Iget_ref
retrieves the reference count of the object
identified by obj_id
.
The reference count for an object ID is attached to the information about an object in memory and has no relation to the number of links to an object on disk.
This function can also be used to check if an object ID is still valid. A non-negative return value from this function indicates that the ID is still valid.
hid_t obj_id |
IN: Object identifier whose reference count will be retrieved. |
SUBROUTINE h5iget_ref_f(obj_id, ref_count, hdferr) IMPLICIT NONE INTEGER(HID_T), INTENT(IN) :: obj_id !Object identifier INTEGER, INTENT(OUT) :: ref_count !Reference count of object ID INTEGER, INTENT(OUT) :: hdferr ! Error code ! 0 on success, and -1 on failure END SUBROUTINE h5iget_ref_f
Release | C | Fortran90 | |
1.6.2 | Function introduced in this release. | Fortran subroutine introduced in this release. |