Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5T_EQUAL

Determines whether two datatype identifiers refer to the same datatype

Procedure:

H5T_EQUAL(dtype_id1, dtype_id2)

Signature:

htri_t H5Tequal( hid_t dtype_id1, hid_t dtype_id2 )

SUBROUTINE h5tequal_f(type1_id, type2_id, flag, hdferr)
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: type1_id ! Datatype identifier 
  INTEGER(HID_T), INTENT(IN) :: type2_id ! Datatype identifier 
  LOGICAL, INTENT(OUT) :: flag           ! TRUE/FALSE flag to indicate 
                                         ! if two datatypes are equal
  INTEGER, INTENT(OUT) :: hdferr         ! Error code
END SUBROUTINE h5tequal_f

Parameters:
hid_t dtype_id1    IN: Identifier of datatype to compare
hid_t dtype_id2IN: Identifier of datatype to compare

Description:

H5T_EQUAL determines whether two datatype identifiers refer to the same datatype.

Returns:

Returns a positive value if the datatype identifiers refer to the same datatype. 
Returns 0 if the datatype identifiers do not refer to the same datatype. 
Returns a negative value when the function fails.

Example:

Coming Soon!

--- Last Modified: May 08, 2018 | 08:30 AM