Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5T_GET_SUPER

Returns the base datatype from which a datatype is derived

Procedure:

H5T_GET_SUPER (dtype_id)

Signature:

hid_t H5Tget_super( hid_t dtype_id )

SUBROUTINE h5tget_super_f(type_id, base_type_id, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: type_id  ! Datatype identifier 
  INTEGER(HID_T), INTENT(OUT) :: type_id ! Base datatype identifier 
  INTEGER, INTENT(OUT) :: hdferr         ! Error code
END SUBROUTINE h5tget_super_f

Parameters:
hid_t dtype_id    IN: Datatype identifier for the derived datatype

Description:

H5T_GET_SUPER returns the base datatype from which the datatype dtype_id is derived.

In the case of an enumeration type, the return value is an integer type.

The datatype identifier returned by this function can be released with H5T_CLOSE  when the identifier is no longer needed so that resource leaks will not develop.

Returns:

Returns the datatype identifier for the base datatype if successful; otherwise returns a negative value.

Example:

Coming Soon!

--- Last Modified: May 17, 2019 | 03:23 PM