Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5T_GET_MEMBER_TYPE

Returns the datatype of the specified member.

Procedure:

H5T_GET_MEMBER_TYPE(dtype_id, field_idx)

Signature:

hid_t H5Tget_member_type( hid_t dtype_id, unsigned field_idx )

SUBROUTINE h5tget_member_type_f(type_id,  field_idx, datatype, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: type_id   ! Datatype identifier 
  INTEGER, INTENT(IN) :: field_idx        ! Field index (0-based) of the 
                                          ! field type to retrieve
  INTEGER(HID_T), INTENT(OUT) :: datatype ! Identifier of a copy of 
                                          ! the datatype of the field 
  INTEGER, INTENT(OUT) :: hdferr          ! Error code
END SUBROUTINE h5tget_member_type_f

Parameters:
hid_t dtype_id    IN: Identifier of datatype to query.
unsigned field_idx   IN: Field index (0-based) of the field type to retrieve.

Description:

H5Tget_member_type returns the datatype of the specified member. The caller should invoke H5Tclose() to release resources associated with the type.

Returns:

Returns the identifier of a copy of the datatype of the field if successful; otherwise returns a negative value.

Example:

Coming Soon!

History:
Release    C
1.6.4membno parameter type changed to unsigned.

--- Last Modified: December 04, 2017 | 07:00 AM