Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5T_GET_INPAD

Retrieves the internal padding type for unused bits in floating-point datatypes.

Procedure:

H5T_GET_INPAD(dtype_id)

Signature:

H5T_pad_t H5Tget_inpad( hid_t dtype_id )

SUBROUTINE h5tget_inpad_f(type_id, padtype, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: type_id ! Datatype identifier 
  INTEGER, INTENT(OUT) :: padtype       ! Padding type for unused bits 
                                        ! in floating-point datatypes
                                        ! Possible values of padding type are:
                                        !     H5T_PAD_ZERO_F = 0
                                        !     H5T_PAD_ONE_F = 1
                                        !     H5T_PAD_BACKGROUND_F = 2
  INTEGER, INTENT(OUT) :: hdferr        ! Error code
END SUBROUTINE h5tget_inpad_f

Parameters:
hid_t dtype_id    IN: Identifier of datatype to query.

Description:

H5Tget_inpad retrieves the internal padding type for unused bits in floating-point datatypes. Valid padding types are:

H5T_PAD_ZERO (0)Set background to zeros.H5T_PAD_ONE (1)Set background to ones.H5T_PAD_BACKGROUND (2)Leave background alone.

Returns:

Returns a valid padding type if successful; otherwise H5T_PAD_ERROR (-1).

Example:

Coming Soon!

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