Determines the type of the dataspace selection
Procedure:
H5S_GET_SELECT_TYPE ( space_id )
Signature:
H5S_sel_type H5Sget_select_type(hid_t space_id)
Fortran90 Interface: h5sget_select_type_f
SUBROUTINE h5sget_select_type_f(space_id, type, hdferr)
IMPLICIT NONE
INTEGER(HID_T), INTENT(IN) :: space_id ! Dataspace identifier
INTEGER, INTENT(OUT) :: type ! Selection type
! Valid values are:
! H5S_SEL_ERROR_F
! H5S_SEL_NONE_F
! H5S_SEL_POINTS_F
! H5S_SEL_HYPERSLABS_F
! H5S_SEL_ALL_F
INTEGER, INTENT(OUT) :: hdferr ! Error code
END SUBROUTINE h5sget_select_type_f
Parameters:
hid_t space_id
IN: Dataspace identifier
Description:
H5S_GET_SELECT_TYPE retrieves the type of selection currently defined for the dataspace space_id
.
Returns:
Returns the dataspace selection type, a value of the enumerated datatype H5S_sel_type
, if successful. Valid return values are as follows:
H5S_SEL_NONE | No selection is defined |
H5S_SEL_POINTS | A sequence of points is selected |
H5S_SEL_HYPERSLABS | A hyperslab or compound hyperslab is selected |
H5S_SEL_ALL | The entire dataset is selected |
Otherwise returns a negative value.
Example:
Include Bitbucket Server for Confluence: File content cannot be shown
Unauthenticated access to this resource is not allowed. Please login to Confluence first.
History:
Release | Change |
---|
1.6.0 | Function introduced in this release. |
--- Last Modified: May 03, 2019 | 01:59 PM