Returns the datatype of the specified member

Procedure:

H5T_GET_MEMBER_TYPE (dtype_id, field_idx)

Signature:

<pre><code class="language-c">hid_t H5Tget_member_type( hid_t dtype_id, unsigned field_idx )</code></pre>

<pre><code class="language-fortran">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</code></pre>

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:

H5T_GET_MEMBER_TYPE returns the datatype of the specified member. The caller should invoke H5T_CLOSE 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    Change
1.6.4membno parameter type changed to unsigned.