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 ! .TRUE., if the datatype committed
                                    ! .FALSE., 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:

H5Tcommitted 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 H5Dget_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:

Coming Soon!

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