Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5S_SELECT_VALID

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            ! TRUE if the selection is
                                          ! contained within the extent,
                                          ! FALSE 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:

H5Sselect_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:

Coming Soon!

History:
None

--- Last Modified: December 04, 2017 | 08:09 AM