Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5T_COMMITTED

Determines whether a datatype is a committed type or a transient type

Procedure:

H5T_COMMITTED(dtype_id)

Signature:

htri_tH5Tcommitted( hid_t dtype_id )

SUBROUTINE h5tcommitted_f(dtype_id, committed, hdferr)
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: dtype_id  
                                    ! A datatype identifier
  LOGICAL, INTENT(OUT) :: committed ! Positive, if the datatype committed
                                    ! Zero, if the datatype not committed.
  INTEGER, INTENT(OUT) :: hdferr    ! Error code
                                    ! 0 on success and -1 on failure
END SUBROUTINE h5tcommitted_f

Parameters:
hid_t dtype_id    IN: Datatype identifier

Description:

H5T_COMMITTED queries a type to determine whether the type specified by the dtype_id identifier is a committed (formerly known as a named) type or a transient type. If this function returns a positive value, then the type is committed (that is, it has been committed, perhaps by some other application). Datasets which return committed datatypes with H5D_GET_TYPE are able to share the datatype with other datasets in the same file.

Returns:

Returns a positive value if the datatype has been committed. 
Returns 0 if the datatype has not been committed. 
Returns a negative value when the function fails.

Example:
History:
ReleaseChange
1.8.0Fortran API was added
1.6 or earlierC function introduced.


--- Last Modified: July 22, 2020 | 04:02 PM