Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5T_OPEN1

Opens a named datatype.

This function is deprecated in favor of the function H5T_OPEN2.

Procedure:

H5T_OPEN1(loc_id, name)

Signature:

hid_t H5Topen1( hid_t loc_id, const char * name )

SUBROUTINE h5topen_f(loc_id, name, type_id, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: loc_id    ! File or group identifier 
  CHARACTER(LEN=*), INTENT(IN) :: name    ! Datatype name within file or
                                          ! group
  INTEGER(HID_T), INTENT(out) :: type_id  ! Datatype identifier 
  INTEGER, INTENT(OUT) :: hdferr          ! Error code
                                          ! 0 on success and -1 on failure
END SUBROUTINE h5topen_f

Parameters:
hid_t loc_idIN: A file or group identifier.
const char * name    IN: A datatype name, defined within the file or group identified by loc_id.

Description:

H5Topen1 opens a named datatype at the location specified by loc_id and returns an identifier for the datatype. loc_id is either a file or group identifier. The identifier should eventually be closed by calling H5Tclose to release resources.

Returns:

Returns a named datatype identifier if successful; otherwise returns a negative value.

Example:

Coming Soon!

History:
Release    C
1.8.0The function H5Topen renamed to H5Topen1 and deprecated in this release.

--- Last Modified: January 24, 2018 | 10:55 AM