H5Pget_obj_track_times(
hid_t ocpl_id,
hbool_t *track_times
)
H5get_obj_track_times queries the
object creation property list, ocpl_id,
to determine whether object times are being recorded.
If track_times is returned as TRUE,
times are being recorded;
if track_times is returned as FALSE,
times are not being recorded.
Time data can be retrieved with
H5Oget_info,
which will return it in the H5O_info_t struct.
If times are not tracked, they will be reported as follows
when queried:
12:00 AM UDT, Jan. 1, 1970
See
H5Pset_obj_track_times
for further discussion.
hid_t ocpl_id |
IN: Object creation property list identifier |
hbool_t *track_times |
OUT: Boolean value,
TRUE or FALSE,
specifying whether object times are being recorded |
SUBROUTINE h5pget_obj_track_times_f(plist_id, flag, hdferr)
IMPLICIT NONE
INTEGER(HID_T), INTENT(IN) :: plist_id
! Dataset creation property
! list identifier
LOGICAL, INTENT(OUT) :: flag ! Object timestamp setting
INTEGER, INTENT(OUT) :: hdferr ! Error code
! 0 on success and -1 on failure
END SUBROUTINE h5pget_obj_track_times_f
| Release | C |
| 1.8.0 | Function introduced in this release. |