H5Tenum_create(
hid_t dtype_id
)
H5Tenum_create creates a new enumeration datatype
based on the specified base datatype, dtype_id,
which must be a native integer datatype.
If a particular architecture datatype is required,
a little endian or big endian datatype for example,
use a native datatype as the base datatype and use
H5Tconvert
on values as they are read from or written to a dataset.
hid_t parent_id |
IN: Datatype identifier for the base datatype. |
SUBROUTINE h5tenum_create_f(parent_id, new_type_id, hdferr)
IMPLICIT NONE
INTEGER(HID_T), INTENT(IN) :: parent_id ! Datatype identifier for
! the base datatype
INTEGER(HID_T), INTENT(OUT) :: new_type_id ! Datatype identifier for the
! new enumeration datatype
INTEGER, INTENT(OUT) :: hdferr ! Error code
END SUBROUTINE h5tenum_create_f
H5Tenum_insert