H5Sget_simple_extent_type
(
hid_t space_id
)
H5Sget_simple_extent_type
queries a dataspace to determine the
current class of a dataspace.
The function returns a class name, one of the following:
H5S_SCALAR H5S_SIMPLE H5S_NULL
hid_t space_id |
IN: Dataspace identifier. |
H5S_NO_CLASS
(-1).
SUBROUTINE h5sget_simple_extent_type_f(space_id, classtype, hdferr) IMPLICIT NONE INTEGER(HID_T), INTENT(IN) :: space_id ! Dataspace identifier INTEGER, INTENT(OUT) :: classtype ! Class type ! Possible values are: ! H5S_NO_CLASS_F ! H5S_SCALAR_F ! H5S_SIMPLE_F ! H5S_NULL_F INTEGER, INTENT(OUT) :: hdferr ! Error code ! 0 on success and -1 on failure END SUBROUTINE h5sget_simple_extent_type_f