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:

H5T_GET_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: May 16, 2019 | 10:09 AM