Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5T_COMPILER_CONV

Check whether the library’s default conversion is hard conversion.

Procedure:

H5T_COMPILER_CONV(src_id, dst_id)

Signature:

htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)

SUBROUTINE h5tcompiler_conv_f( src_id, dst_id, flag, hdferr)
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: src_id ! Id for the source datatype.
  INTEGER(HID_T), INTENT(IN) :: dst_id ! Id for the destination datatype.
  LOGICAL, INTENT(OUT) :: flag         !   .TRUE. for compiler conversion, 
                                       !   .FALSE. for library conversion
  INTEGER, INTENT(OUT) :: hdferr       ! Error code:
                                       ! 0 on success and -1 on failure
END SUBROUTINE h5tcompiler_conv_f

Parameters:
hid_t src_id    IN: Identifier for the source datatype.
hid_t dst_idIN: Identifier for the destination datatype.

Description:

H5Tcompiler_conv finds out whether the library’s conversion function from type src_id to type dst_id is a compiler (hard) conversion. A compiler conversion uses compiler’s casting; a library (soft) conversion uses the library’s own conversion function.

Returns:

Returns a positive value if a compiler conversion was used. 
Returns 0 if a library conversion was used. 
Returns a negative value when the function fails.

Example:

Coming Soon!

--- Last Modified: December 04, 2017 | 06:55 AM