Verifies that the selection is within the extent of the dataspace
Procedure:
H5S_SELECT_VALID ( space_id )
Signature:
htri_t H5Sselect_valid(
hid_t space_id
)
Fortran90 Interface: h5sselect_valid_f
SUBROUTINE h5sselect_valid_f(space_id, flag, hdferr)
IMPLICIT NONE
INTEGER(HID_T), INTENT(IN) :: space_id ! Dataspace identifier
LOGICAL, INTENT(OUT) :: flag ! Positive if the selection is
! contained within the extent,
! Zero otherwise.
INTEGER, INTENT(OUT) :: hdferr ! Error code
! 0 on success and -1 on failure
END SUBROUTINE h5sselect_valid_f
Parameters:
hid_t space_id
IN: Identifier for the dataspace being queried
Description:
H5S_SELECT_VALID verifies that the selection for the dataspace space_id
is within the extent of the dataspace if the current offset for the dataspace is used.
Returns:
Returns a positive value if the selection is contained within the extent.
Returns 0 if the selection is not contained within the extent.
Returns a negative value on error conditions such as the selection or extent not being defined.
Example:
History:
None
--- Last Modified: June 02, 2020 | 11:05 AM