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:
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:
History:
Release | Change |
---|
1.6.4 | membno parameter type changed to unsigned. |
--- Last Modified: May 16, 2019 | 09:47 AM