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 identifier is attached to the information about an object in memory and has no relation to the number of links to an object on disk.
The function
H5Iis_valid
is used to determine whether a specific object identifier is 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 identifier
INTEGER, INTENT(OUT) :: hdferr ! Error code
! 0 on success, and -1 on failure
END SUBROUTINE h5iget_ref_f
| Release | C |
| 1.6.2 |
Function introduced in this release. Fortran subroutine introduced in this release. |