Returns datatype class of compound datatype member

Procedure:

H5T_GET_MEMBER_CLASS (cdtype_id, member_no)

Signature:

<pre><code class="language-c">H5T_class_t H5Tget_member_class( hid_t cdtype_id, unsigned member_no )</code></pre>

<pre><code class="language-fortran">SUBROUTINE h5tget_member_class_f(type_id, member_no, class, hdferr) 
  INTEGER(HID_T), INTENT(IN) :: type_id       ! Datatype identifier 
  INTEGER, INTENT(IN) :: member_no            ! Member number
  INTEGER, INTENT(OUT) :: class               ! Member class
  INTEGER, INTENT(OUT) :: hdferr              ! Error code
END SUBROUTINE h5tget_member_class_f</code></pre>

Parameters:
hid_t cdtype_id    IN: Datatype identifier of compound object
unsigned member_noIN: Compound object member number

Description:

Given a compound datatype, cdtype_id, the function H5T_GET_MEMBER_CLASS  returns the datatype class of the compound datatype member specified by member_no.

Valid class identifiers are as defined in H5T_GET_CLASS

Returns:

Returns the datatype class, a non-negative value, if successful; otherwise returns a negative value.

Example:

Coming Soon!

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