H5Tget_member_offset
(
hid_t dtype_id
,
unsigned memb_no
)
H5Tget_member_offset
retrieves the
byte offset of the beginning of a field within a
compound datatype with respect to the beginning
of the compound datatype datum.
hid_t dtype_id |
IN: Identifier of datatype to query. |
unsigned memb_no |
IN: Number of the field whose offset is requested. |
0
(zero).
Note that zero is a valid offset and that this function
will fail only if a call to H5Tget_member_class()
fails with the same arguments.
SUBROUTINE h5tget_member_offset_f(type_id, member_no, offset, hdferr) IMPLICIT NONE INTEGER(HID_T), INTENT(IN) :: type_id ! Datatype identifier INTEGER, INTENT(IN) :: member_no ! Number of the field ! whose offset is requested INTEGER(SIZE_T), INTENT(OUT) :: offset ! Byte offset of the the ! beginning of the field INTEGER, INTENT(OUT) :: hdferr ! Error code END SUBROUTINE h5tget_member_offset_f
Release | C |
1.6.4 |
membno parameter type changed to
unsigned. |