Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5T_GET_NMEMBERS

Retrieves the number of elements in a compound or enumeration datatype.

Procedure:

H5T_GET_NMEMBERS(dtype_id)

Signature:

int H5Tget_nmembers( hid_t dtype_id )

SUBROUTINE h5tget_nmembers_f(type_id, num_members, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: type_id ! Datatype identifier 
  INTEGER, INTENT(OUT) :: num_members   ! Number of fields in a 
                                        ! compound datatype 
  INTEGER, INTENT(OUT) :: hdferr        ! Error code
END SUBROUTINE h5tget_nmembers_f

Parameters:
hid_t dtype_id    IN: Identifier of datatype to query.

Description:

H5Tget_nmembers retrieves the number of fields in a compound datatype or the number of members of an enumeration datatype.

Returns:

Returns the number of elements if successful; otherwise returns a negative value.

Example:

Coming Soon!

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