HDF5 documents and links 
Introduction to HDF5 
HDF5 User Guide 
And in this document, the HDF5 Reference Manual 
H5DS   H5IM   H5LT   H5PT   H5TB 
H5   H5A   H5D   H5E   H5F   H5G   H5I 
H5L   H5O   H5P   H5R   H5S   H5T   H5Z 
Tools   Datatypes   Fortran   Compatibility Macros 
(Printable PDF of this Reference Manual) 

H5T: Datatype Interface

Datatype Object API Functions

These functions create and manipulate the datatype which describes elements of a dataset.
In the following lists, italic type indicates a configurable macro.

The C Interfaces:
General Datatype Operations
  • H5Tcreate
  • H5Topen
  • H5Topen1  *
  • H5Topen2
  • H5Tcommit
  • H5Tcommit1  *
  • H5Tcommit2
  • H5Tcommit_anon
  • H5Tcommitted
  • H5Tcopy
  • H5Tequal
  • H5Tlock
  • H5Tget_class
  • H5Tget_create_plist
  • H5Tget_size
  • H5Tget_super
  • H5Tget_native_type
  • H5Tdetect_class
  • H5Tclose

    Conversion Functions
  • H5Tconvert
  • H5Tfind
  • H5Tcompiler_conv
  • H5Tregister
  • H5Tunregister
  • H5Tdecode
  • H5Tencode
  •        Atomic Datatype Properties
  • H5Tset_size
  • H5Tget_order
  • H5Tset_order
  • H5Tget_precision
  • H5Tset_precision
  • H5Tget_offset
  • H5Tset_offset
  • H5Tget_pad
  • H5Tset_pad
  • H5Tget_sign
  • H5Tset_sign
  • H5Tget_fields
  • H5Tset_fields
  • H5Tget_ebias
  • H5Tset_ebias
  • H5Tget_norm
  • H5Tset_norm
  • H5Tget_inpad
  • H5Tset_inpad
  • H5Tget_cset
  • H5Tset_cset
  • H5Tget_strpad
  • H5Tset_strpad

    Array Datatypes
  • H5Tarray_create
  • H5Tarray_create1  *
  • H5Tarray_create2
  • H5Tget_array_ndims
  • H5Tget_array_dims
  • H5Tget_array_dims1  *
  • H5Tget_array_dims2
  •        Compound Datatype Properties
  • H5Tget_nmembers
  • H5Tget_member_class
  • H5Tget_member_name
  • H5Tget_member_index
  • H5Tget_member_offset
  • H5Tget_member_type
  • H5Tinsert
  • H5Tpack

    Variable-length Datatypes
  • H5Tvlen_create
  • H5Tis_variable_str

    Opaque Datatypes
  • H5Tset_tag
  • H5Tget_tag

    Enumeration Datatypes
  • H5Tenum_create
  • H5Tenum_insert
  • H5Tenum_nameof
  • H5Tenum_valueof
  • H5Tget_member_value
  • H5Tget_nmembers
  • H5Tget_member_name
  • H5Tget_member_index
     
     
        *   Use of these functions
              is deprecated in
              Release 1.8.0.

  • Alphabetical Listing
  • H5Tarray_create
  • H5Tarray_create1  *
  • H5Tarray_create2
  • H5Tclose
  • H5Tcommit
  • H5Tcommit1  *
  • H5Tcommit2
  • H5Tcommit_anon
  • H5Tcommitted
  • H5Tcompiler_conv
  • H5Tconvert
  • H5Tcopy
  • H5Tcreate
  • H5Tdecode
  • H5Tdetect_class
  • H5Tencode
  • H5Tenum_create
  • H5Tenum_insert
  • H5Tenum_nameof
  • H5Tenum_valueof
  • H5Tequal
  • H5Tfind
  • H5Tget_array_dims
  • H5Tget_array_dims1  *
  • H5Tget_array_dims2
  •       
  • H5Tget_array_ndims
  • H5Tget_class
  • H5Tget_create_plist
  • H5Tget_cset
  • H5Tget_ebias
  • H5Tget_fields
  • H5Tget_inpad
  • H5Tget_member_class
  • H5Tget_member_index
  • H5Tget_member_name
  • H5Tget_member_offset
  • H5Tget_member_type
  • H5Tget_member_value
  • H5Tget_native_type
  • H5Tget_nmembers
  • H5Tget_norm
  • H5Tget_offset
  • H5Tget_order
  • H5Tget_pad
  • H5Tget_precision
  • H5Tget_sign
  • H5Tget_size
  • H5Tget_strpad
  • H5Tget_super
  • H5Tget_tag
  •       
  • H5Tinsert
  • H5Tis_variable_str
  • H5Tlock
  • H5Topen
  • H5Topen1  *
  • H5Topen2
  • H5Tpack
  • H5Tregister
  • H5Tset_cset
  • H5Tset_ebias
  • H5Tset_fields
  • H5Tset_inpad
  • H5Tset_norm
  • H5Tset_offset
  • H5Tset_order
  • H5Tset_pad
  • H5Tset_precision
  • H5Tset_sign
  • H5Tset_size
  • H5Tset_strpad
  • H5Tset_tag
  • H5Tunregister
  • H5Tvlen_create

  • The FORTRAN90 Interfaces:
    In general, each FORTRAN90 subroutine performs exactly the same task as the corresponding C function.
    General Datatype Operations
  • h5tcreate_f
  • h5tdecode_f
  • h5tencode_f
  • h5topen_f
  • h5tcommit_f
  • h5tcommit_anon_f
  • h5tcommitted_f
  • H5tcompiler_conv_f
  • h5tcopy_f
  • h5tequal_f
  • h5tget_create_plist_f
  • h5tget_class_f
  • h5tget_size_f
  • h5tget_super_f
  • h5tclose_f

    Enumeration Datatypes
  • h5tenum_create_f
  • h5tenum_insert_f
  • h5tenum_nameof_f
  • h5tenum_valueof_f
  • h5tget_member_value_f
  • h5tget_nmembers_f
  • h5tget_member_name_f
  • h5tget_member_index_f
  •        Atomic Datatype Properties
  • h5tset_size_f
  • h5tget_order_f
  • h5tset_order_f
  • h5tget_precision_f
  • h5tset_precision_f
  • h5tget_offset_f
  • h5tset_offset_f
  • h5tget_pad_f
  • h5tset_pad_f
  • h5tget_sign_f
  • h5tset_sign_f
  • h5tget_fields_f
  • h5tset_fields_f
  • h5tget_ebiass_f
  • h5tset_ebiass_f
  • h5tget_norm_f
  • h5tset_norm_f
  • h5tget_inpad_f
  • h5tset_inpad_f
  • h5tget_cset_f
  • h5tset_cset_f
  • h5tget_strpad_f
  • h5tset_strpad_f
  •        Array Datatypes
  • h5tarray_create_f
  • h5tget_array_ndims_f
  • h5tget_array_dims_f

    Compound Datatype Properties
  • h5tget_nmembers_f
  • h5tget_member_class_f
  • h5tget_member_name_f
  • h5tget_member_index_f
  • h5tget_member_offset_f
  • h5tget_member_type_f
  • h5tinsert_f
  • h5tpack_f

    Variable-length Datatypes
  • h5tvlen_create_f
  • h5tis_variable_str_f

    Opaque Datatypes
  • h5tset_tag_f
  • h5tget_tag_f
  • The Datatype interface, H5T, provides a mechanism to describe the storage format of individual data points of a data set and is hopefully designed in such a way as to allow new features to be easily added without disrupting applications that use the data type interface. A dataset (the H5D interface) is composed of a collection or raw data points of homogeneous type organized according to the data space (the H5S interface).

    A datatype is a collection of datatype properties, all of which can be stored on disk, and which when taken as a whole, provide complete information for data conversion to or from that datatype. The interface provides functions to set and query properties of a datatype.

    A data point is an instance of a datatype, which is an instance of a type class. We have defined a set of type classes and properties which can be extended at a later time. The atomic type classes are those which describe types which cannot be decomposed at the datatype interface level; all other classes are compound.

    See The Datatype Interface (H5T) in the HDF5 User's Guide for further information, including a complete list of all supported datatypes.


    Name: H5Tarray_create
    Signatures:
    hid_t H5Tarray_create( hid_t base_type_id, int rank, const hsize_t dims[/*rank*/], const int perm[/*rank*/] )
     
    [1]
    hid_t H5Tarray_create( hid_t base_typ_id, unsigned rank, const hsize_t dims[/*rank*/], ) [2]

    Purpose:
    Creates an array datatype object.

    Description:
    H5Tarray_create is a macro that is mapped to either H5Tarray_create1 or H5Tarray_create2, depending on the needs of the application.

    Such macros are provided to facilitate application compatibility. For example:

    Macro use and mappings are fully described in “API Compatibility Macros in HDF5”; we urge you to read that document closely.

    When both the HDF5 Library and the application are built and installed with no specific compatibility flags, H5Tarray_create is mapped to the most recent version of the function, currently H5Tarray_create2. If the library and/or application is compiled for Release 1.6 emulation, H5Tarray_create will be mapped to H5Tarray_create1. Function-specific flags are available to override these settings on a function-by-function basis when the application is compiled.

    Specific compile-time compatibility flags and the resulting mappings are as follows:

    Compatibility setting H5Tarray_create mapping

    Global settings
    No compatibility flag H5Tarray_create2 
    Enable deprecated symbols H5Tarray_create2 
    Disable deprecated symbols H5Tarray_create2 
    Emulate Release 1.6 interface H5Tarray_create1 

    Function-level macros
    H5Tarray_create_vers = 2     H5Tarray_create2
    H5Tarray_create_vers = 1 H5Tarray_create1

    Interface history:   Signature [1] above is the original H5Tarray_create interface and the only interface available prior to HDF5 Release 1.8.0. This signature and the corresponding function are now deprecated but will remain directly callable as H5Tarray_create1.

    Signature [2] above was introduced with HDF5 Release 1.8.0 and is the recommended and default interface. It is directly callable as H5Tarray_create2.

    See “API Compatibility Macros in HDF5” for circumstances under which either of these functions might not be available in an installed instance of the HDF5 Library.

    Fortran90 Interface: h5tarray_create_f
    SUBROUTINE h5tarray_create_f(base_id, rank, dims, type_id, hdferr)
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: base_id   ! Identifier of array base datatype
      INTEGER, INTENT(IN)        ::  rank     ! Rank of the array
      INTEGER(HSIZE_T), DIMENSION(*), INTENT(IN) :: dims 
                                              ! Sizes of each array dimension
      INTEGER(HID_T), INTENT(OUT) :: type_id  ! Identifier of the array datatype
      INTEGER, INTENT(OUT)        :: hdferr   ! Error code
    END SUBROUTINE h5tarray_create_f
    	

    History:
    Release     C
    1.8.0 The function H5Tarray_create renamed to H5Tarray_create1 and deprecated in this release.
    The macro H5Tarray_create and the function H5Tarray_create2 introduced in this release.

    Name: H5Tarray_create1
    Signature:
    hid_t H5Tarray_create1( hid_t base_type_id, int rank, const hsize_t dims[/*rank*/], const int perm[/*rank*/] )

    Purpose:
    Creates an array datatype object.

    Notice:
    This function is renamed from H5Tarray_create and deprecated in favor of the function H5Tarray_create2 or the new macro H5Tarray_create.

    Description:
    H5Tarray_create1 creates a new array datatype object.

    base_type_id is the datatype of every element of the array, i.e., of the number at each position in the array.

    rank is the number of dimensions and the size of each dimension is specified in the array dims. The value of rank is currently limited to H5S_MAX_RANK and must be greater than 0 (zero). All dimension sizes specified in dims must be greater than 0 (zero).

    The array perm is designed to contain the dimension permutation, i.e. C versus FORTRAN array order.   (The parameter perm is currently unused and is not yet implemented.)

    Parameters:

    Returns:
    Returns a valid datatype identifier if successful; otherwise returns a negative value.

    Fortran90 Interface: h5tarray_create_f
    SUBROUTINE h5tarray_create_f(base_id, rank, dims, type_id, hdferr)
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: base_id   ! Identifier of array base datatype
      INTEGER, INTENT(IN)        ::  rank     ! Rank of the array
      INTEGER(HSIZE_T), DIMENSION(*), INTENT(IN) :: dims 
                                              ! Sizes of each array dimension
      INTEGER(HID_T), INTENT(OUT) :: type_id  ! Identifier of the array datatype
      INTEGER, INTENT(OUT)        :: hdferr   ! Error code
    END SUBROUTINE h5tarray_create_f
    	

    History:

    Name: H5Tarray_create2
    Signature:
    hid_t H5Tarray_create2( hid_t base_typ_id, unsigned rank, const hsize_t dims[/*rank*/], )

    Purpose:
    Creates an array datatype object.

    Description:
    H5Tarray_create2 creates a new array datatype object.

    base_type_id is the datatype of every element of the array, i.e., of the number at each position in the array.

    rank is the number of dimensions and the size of each dimension is specified in the array dims. The value of rank is currently limited to H5S_MAX_RANK and must be greater than 0 (zero). All dimension sizes specified in dims must be greater than 0 (zero).

    Parameters:

    Returns:
    Returns a valid datatype identifier if successful; otherwise returns a negative value.

    Fortran90 Interface:
    None.

    History:

    Name: H5Tclose
    Signature:
    herr_t H5Tclose( hid_t dtype_id )
    Purpose:
    Releases a datatype.
    Description:
    H5Tclose releases a datatype. Further access through the datatype identifier is illegal. Failure to release a datatype with this call will result in resource leaks.
    Parameters:
    Returns:
    Returns a non-negative value if successful; otherwise returns a negative value.
    Fortran90 Interface: h5tclose_f
    SUBROUTINE h5tclose_f(type_id, hdferr) 
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: type_id ! Datatype identifier 
      INTEGER, INTENT(OUT) :: hdferr        ! Error code
                                            ! 0 on success and -1 on failure
    END SUBROUTINE h5tclose_f
    	

    Name: H5Tcommit
    Signature:
    herr_t H5Tcommit( hid_t loc_id, const char * name, hid_t dtype_id )

    hid_t H5Tcommit( hid_t loc_id, const char *name, hid_t dtype_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id )

    Purpose:
    Commits a transient datatype, linking it into the file and creating a new named datatype.

    Description:
    H5Tcommit is a macro that is mapped to either H5Tcommit1 or H5Tcommit2, depending on the needs of the application.

    Such macros are provided to facilitate application compatibility. Their use and mappings are fully described in “API Compatibility Macros in HDF5”; we urge you to read that document closely.

    When both the HDF5 Library and the application are built and installed with no specific compatibility flags, H5Tcommit is mapped to the most recent version of the function, currently H5Tcommit2. If the library and/or application is compiled for Release 1.6 emulation, H5Tcommit will be mapped to H5Tcommit1. Function-specific flags are available to override these settings on a function-by-function basis when the application is compiled.

    Specific compile-time compatibility flags and the resulting mappings are as follows:

    Compatibility setting H5Tcommit mapping

    Global settings
    No compatibility flag H5Tcommit2 
    Enable deprecated symbols H5Tcommit2 
    Disable deprecated symbols H5Tcommit2 
    Emulate Release 1.6 interface     H5Tcommit1 

    Function-level macros
    H5Tcommit_vers = 2 H5Tcommit2
    H5Tcommit_vers = 1 H5Tcommit1

    Fortran90 Interface: h5tcommit_f
    SUBROUTINE h5tcommit_f(loc_id, name, type_id, hdferr, &
                           lcpl_id, tcpl_id, tapl_id ) 
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: loc_id  ! File or group identifier 
      CHARACTER(LEN=*), INTENT(IN) :: name  ! Datatype name within file or group
      INTEGER(HID_T), INTENT(IN) :: type_id ! Datatype identifier 
      INTEGER, INTENT(OUT) :: hdferr        ! Error code
                                            ! 0 on success and -1 on failure
      INTEGER(HID_T), OPTIONAL, INTENT(IN) :: lcpl_id 
                                            ! Link creation property list
      INTEGER(HID_T), OPTIONAL, INTENT(IN) :: tcpl_id 
                                            ! Datatype creation property list
      INTEGER(HID_T), OPTIONAL, INTENT(IN) :: tapl_id 
                                            ! Datatype access property list
    END SUBROUTINE h5tcommit_f
        

    History:
    Release     C
    1.8.0 The function H5Tcommit renamed to H5Tcommit1 and deprecated in this release.
    The macro H5Tcommit and the function H5Tcommit2 introduced in this release.

    Name: H5Tcommit1
    Signature:
    herr_t H5Tcommit1( hid_t loc_id, const char * name, hid_t dtype_id )
    Purpose:
    Commits a transient datatype to a file, creating a new named datatype.

    Notice:
    This function is deprecated in favor of the function H5Tcommit2.

    Description:
    H5Tcommit1 commits the transient datatype (not immutable) to a file, turning it into a named datatype.

    The datatype dtype_id is committed as a named datatype at the location loc_id, which is either a file or group identifier, with the name name.

    name can be a relative path based at loc_id or an absolute path from the root of the file. If any of the groups specified in that path do not already exist, the dataset must be created with H5Tcommit_anon and linked into the file structure with H5Llink.

    As is the case for any object in a group, the length of the name of a named datatype is not limited.

    See H5Tcommit_anon for a discussion of the differences between H5Tcommit and H5Tcommit_anon.

    Parameters:

    Returns:
    Returns a non-negative value if successful; otherwise returns a negative value.

    Fortran90 Interface: See listing under H5Tcommit.

    History:
    Release     C
    1.8.0 The function H5Tcommit renamed to H5Tcommit1 and deprecated in this release.

    Name: H5Tcommit2
    Signature:
    herr_t H5Tcommit2( hid_t loc_id, const char *name, hid_t dtype_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id )

    Purpose:
    Commits a transient datatype, linking it into the file and creating a new named datatype.

    Description:
    H5Tcommit2 saves a transient datatype as an immutable named datatype in a file. The datatype specified by dtype_id is committed to the file with the name name at the location specified by loc_id and with the datatype creation and access property lists tcpl_id and tapl_id, respectively.

    loc_id may be a file identifier, or a group identifier within that file. name may be either an absolute path in the file or a relative path from loc_id naming the newly-commited datatype.

    The link creation property list, lcpl_id, governs creation of the link(s) by which the new named datatype is accessed and the creation of any intermediate groups that may be missing.

    Once commited, this datatype may be used to define the datatype of any other dataset or attribute in the file.

    Parameters:
    hid_t loc_id IN: Location identifier
    const char *name     IN: Name given to committed datatype
    hid_t dtype_id IN: Identifier of datatype to be committed
    hid_t lcpl_id IN: Link creation property list
    hid_t tcpl_id IN: Datatype creation property list
    hid_t tapl_id IN: Datatype access property list

    Returns:
    Returns a non-negative value if successful; otherwise returns a negative value.

    Fortran90 Interface: See listing under H5Tcommit.

    History:
    Release     C
    1.8.0 Function introduced in this release.

    Name: H5Tcommit_anon
    Signature:
    herr_t H5Tcommit_anon( hid_t loc_id, hid_t dtype_id, hid_t tcpl_id, hid_t tapl_id )

    Purpose:
    Commits a transient datatype to a file, creating a new named datatype, but does not link it into the file structure.

    Description:
    H5Tcommit_anon commits a transient datatype (not immutable) to a file, turning it into a named datatype with the specified creation and property lists. With default property lists, H5P_DEFAULT, H5Tcommit_anon provides similar functionality to that of H5Tcommit, with the differences described below.

    The datatype access property list identifier, tapl_id, is provided for future functionality and is not used at this time. This parameter should always be passed as the value H5P_DEFAULT.

    Note that H5Tcommit_anon does not link this newly-committed datatype into the file. After the H5Tcommit_anon call, the datatype identifier dtype_id must be linked into the HDF5 file structure with H5Llink or it will be deleted from the file when the file is closed.

    The differences between this function and H5Tcommit are as follows:

    Parameters:

    Returns:
    Returns a non-negative value if successful; otherwise returns a negative value.

    Fortran90 Interface: h5tcommit_anon_f
    SUBROUTINE h5tcommit_anon_f(loc_id, dtype_id, hdferr, tcpl_id, tapl_id)
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: loc_id ! A file or group identifier specifying 
                                           ! the file in which the new named 
                                           ! datatype is to be created.
      INTEGER(HID_T), INTENT(IN) :: dtype_id  
                                           ! Datatype identifier 
      INTEGER, INTENT(OUT) :: hdferr       ! Error code
                                           ! 0 on success and -1 on failure
      INTEGER(HID_T), OPTIONAL, INTENT(IN) :: tcpl_id 
                                           ! A datatype creation property 
                                           ! list identifier.
                                           !  H5P_DEFAULT_F = default property list
      INTEGER(HID_T), OPTIONAL, INTENT(IN) :: tapl_id 
                                           ! A datatype access property list id
    END SUBROUTINE h5tcommit_anon_f
    

    History:

    Name: H5Tcommitted
    Signature:
    htri_tH5Tcommitted( hid_t dtype_id )
    Purpose:
    Determines whether a datatype is a named type or a transient type.
    Description:
    H5Tcommitted queries a type to determine whether the type specified by the dtype_id identifier is a named type or a transient type. If this function returns a positive value, then the type is named (that is, it has been committed, perhaps by some other application). Datasets which return committed datatypes with H5Dget_type() are able to share the datatype with other datasets in the same file.
    Parameters:
    Returns:
    When successful, returns a positive value, for TRUE, if the datatype has been committed, or 0 (zero), for FALSE, if the datatype has not been committed. Otherwise returns a negative value.
    Fortran90 Interface: h5tcommitted_f
    SUBROUTINE h5tcommitted_f(dtype_id, committed, hdferr)
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: dtype_id  
                                        ! A datatype identifier
      LOGICAL, INTENT(OUT) :: committed ! .TRUE., if the datatype committed
                                        ! .FALSE., if the datatype not committed.
      INTEGER, INTENT(OUT) :: hdferr    ! Error code
                                        ! 0 on success and -1 on failure
    END SUBROUTINE h5tcommitted_f
    	

    Name: H5Tcompiler_conv
    Signature:
    htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
    Purpose:
    Check whether the library’s default conversion is hard conversion.
    Description:
    H5Tcompiler_conv finds out whether the library’s conversion function from type src_id to type dst_id is a compiler (hard) conversion. A compiler conversion uses compiler’s casting; a library (soft) conversion uses the library’s own conversion function.
    Parameters:
    Returns:
    Returns TRUE for compiler conversion, FALSE for library conversion, FAIL for the function’s failure.
    Fortran90 Interface: h5tcompiler_conv_f
    SUBROUTINE h5tcompiler_conv_f( src_id, dst_id, flag, hdferr)
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: src_id ! Id for the source datatype.
      INTEGER(HID_T), INTENT(IN) :: dst_id ! Id for the destination datatype.
      LOGICAL, INTENT(OUT) :: flag         !   .TRUE. for compiler conversion, 
                                           !   .FALSE. for library conversion
      INTEGER, INTENT(OUT) :: hdferr       ! Error code:
                                           ! 0 on success and -1 on failure
    END SUBROUTINE h5tcompiler_conv_f
    

    Name: H5Tconvert
    Signature:
    herr_t H5Tconvert(hid_t src_id, hid_t dst_id, size_t nelmts, void *buf, void *background, hid_t plist_id )
    Purpose:
    Converts data from between specified datatypes.
    Description:
    H5Tconvert converts nelmts elements from the type specified by the src_id identifier to type dst_id. The source elements are packed in buf and on return the destination will be packed in buf. That is, the conversion is performed in place. The optional background buffer is an array of nelmts values of destination type which are merged with the converted values to fill in cracks (for instance, background might be an array of structs with the a and b fields already initialized and the conversion of buf supplies the c and d field values).

    The parameter plist_id contains the dataset transfer property list identifier which is passed to the conversion functions. As of Release 1.2, this parameter is only used to pass along the variable-length datatype custom allocation information.

    Parameters:
    Returns:
    Returns a non-negative value if successful; otherwise returns a negative value.
    Fortran90 Interface:
    None.
    History:

    Name: H5Tcopy
    Signature:
    hid_t H5Tcopy(hid_t dtype_id)
    Purpose:
    Copies an existing datatype.
    Description:
    H5Tcopy copies an existing datatype. The returned type is always transient and unlocked.

    The dtype_id argument can be either a datatype identifier, a predefined datatype (defined in H5Tpublic.h), or a dataset identifier. If dtype_id is a dataset identifier instead of a datatype identifier, then this function returns a transient, modifiable datatype which is a copy of the dataset's datatype.

    The datatype identifier returned should be released with H5Tclose or resource leaks will occur.

    Parameters:
    Returns:
    Returns a datatype identifier if successful; otherwise returns a negative value
    Fortran90 Interface: h5tcopy_f
    SUBROUTINE h5tcopy_f(type_id, new_type_id, hdferr) 
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: type_id      ! Datatype identifier 
      INTEGER(HID_T), INTENT(OUT) :: new_type_id ! Identifier of datatype's copy 
      INTEGER, INTENT(OUT) :: hdferr             ! Error code
                                                 ! 0 on success and -1 on failure
    END SUBROUTINE h5tcopy_f
    	

    Name: H5Tcreate
    Signature:
    hid_t H5Tcreate(H5T_class_t class, size_tsize )
    Purpose:
    Creates a new datatype.
    Description:
    H5Tcreate creates a new datatype of the specified class with the specified number of bytes.

    The following datatype classes are supported with this function:

    Use H5Tcopy to create integer or floating-point datatypes.

    The datatype identifier returned from this function should be released with H5Tclose or resource leaks will result.

    Parameters:
    Returns:
    Returns datatype identifier if successful; otherwise returns a negative value.
    Fortran90 Interface: h5tcreate_f
    SUBROUTINE h5tcreate_f(class, size, type_id, hdferr) 
      IMPLICIT NONE
      INTEGER, INTENT(IN) :: class             ! Datatype class can be one of
                                               !    H5T_COMPOUND_F (6)
                                               !    H5T_ENUM_F     (8)
                                               !    H5T_OPAQUE_F   (9)
      INTEGER(SIZE_T), INTENT(IN) :: size      ! Size of the datatype
      INTEGER(HID_T), INTENT(OUT) :: type_id   ! Datatype identifier
      INTEGER, INTENT(OUT) :: hdferr           ! Error code
                                               ! 0 on success and -1 on failure
    END SUBROUTINE h5tcreate_f
    	

    Name: H5Tdecode
    Signature:
    hid_t H5Tdecode (unsigned char *buf)
    Purpose:
    Decode a binary object description of data type and return a new object handle.
    Description:
    Given an object description of data type in binary in a buffer, H5Tdecode reconstructs the HDF5 data type object and returns a new object handle for it. The binary description of the object is encoded by H5Tencode. User is responsible for passing in the right buffer.
    Parameters:
    Returns:
    Returns an object ID(non-negative) if successful; otherwise returns a negative value.
    Fortran90 Interface: h5tdecode_f
    SUBROUTINE h5tdecode_f(buf, obj_id, hdferr)
      IMPLICIT NONE
      CHARACTER(LEN=*), INTENT(IN) :: buf  ! Data space object buffer to be decoded
      INTEGER(HID_T), INTENT(OUT) :: obj_id! Object ID
      INTEGER, INTENT(OUT) :: hdferr       ! Error code
                                           ! 0 on success and -1 on failure
    END SUBROUTINE h5tdecode_f
    

    Name: H5Tdetect_class
    Signature:
    htri_t H5Tdetect_class(hid_t dtype_id, H5T_class_tdtype_class )
    Purpose:
    Determines whether a datatype contains any datatypes of the given datatype class.
    Description:
    H5Tdetect_class determines whether the datatype specified in dtype_id contains any datatypes of the datatype class specified in dtype_class.

    This function is useful primarily in recursively examining all the fields and/or base types of compound, array, and variable-length datatypes.

    Valid class identifiers are as defined in H5Tget_class.

    Parameters:
    Returns:
    Returns TRUE or FALSE if successful; otherwise returns a negative value.
    Fortran90 Interface:
    None.
    History:

    Name: H5Tencode
    Signature:
    herr_t H5Tencode(hid_t obj_id, unsigned char *buf, size_t *nalloc)
    Purpose:
    Encode a data type object description into a binary buffer.
    Description:
    Given data type ID, H5Tencode converts a data type description into binary form in a buffer. Using this binary form in the buffer, a data type object can be reconstructed using H5Tdecode to return a new object handle (hid_t) for this data type.

    A preliminary H5Tencode call can be made to find out the size of the buffer needed. This value is returned as nalloc. That value can then be assigned to nalloc for a second H5Tencode call, which will retrieve the actual encoded object.

    If the library finds out nalloc is not big enough for the object, it simply returns the size of the buffer needed through nalloc without encoding the provided buffer.

    Parameters:
    Returns:
    Returns a non-negative value if successful; otherwise returns a negative value.
    Fortran90 Interface: h5tencode_f
    SUBROUTINE h5tencode_f(obj_id, buf, nalloc, hdferr)
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: obj_id ! Identifier of the object to be encoded
      CHARACTER(LEN=*), INTENT(OUT) :: buf ! Buffer object to be encoded into
      INTEGER(SIZE_T), INTENT(INOUT) :: nalloc 
                                           ! The size of the allocated buffer
      INTEGER, INTENT(OUT) :: hdferr       ! Error code
                                           ! 0 on success and -1 on failure
    END SUBROUTINE h5tencode_f
    <\pre>
    

    Name: H5Tenum_create
    Signature:
    hid_t H5Tenum_create(hid_t parent_id )
    Purpose:
    Creates a new enumeration datatype.
    Description:
    H5Tenum_create creates a new enumeration datatype based on the specified base datatype, parent_id, which must be an integer type.
    Parameters:
    Returns:
    Returns the datatype identifier for the new enumeration datatype if successful; otherwise returns a negative value.
    Fortran90 Interface: h5tenum_create_f
    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
    	

    Name: H5Tenum_insert
    Signature:
    herr_t H5Tenum_insert( hid_t dtype_id, const char *name, void *value )
    Purpose:
    Inserts a new enumeration datatype member.
    Description:
    H5Tenum_insert inserts a new enumeration datatype member into an enumeration datatype.

    dtype_id is the enumeration datatype, name is the name of the new member, and value points to the value of the new member.

    name and value must both be unique within dtype_id.

    value points to data which is of the datatype defined when the enumeration datatype was created.

    Parameters:
    Returns:
    Returns a non-negative value if successful; otherwise returns a negative value.
    Fortran90 Interface: h5tenum_insert_f
    SUBROUTINE h5tenum_insert_f(type_id,  name, value, hdferr) 
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: type_id ! Datatype identifier 
      CHARACTER(LEN=*), INTENT(IN) :: name  ! Name of the new member
      INTEGER, INTENT(IN) :: value          ! Value of the new member
      INTEGER, INTENT(OUT) :: hdferr        ! Error code
    END SUBROUTINE h5tenum_insert_f
    	

    Name: H5Tenum_nameof
    Signature:
    herr_t H5Tenum_nameof( hid_t dtype_id, void *value, char *name, size_t size )
    Purpose:
    Returns the symbol name corresponding to a specified member of an enumeration datatype.
    Description:
    H5Tenum_nameof finds the symbol name that corresponds to the specified value of the enumeration datatype dtype_id.

    At most size characters of the symbol name are copied into the name buffer. If the entire symbol name and null terminator do not fit in the name buffer, then as many characters as possible are copied (not null terminated) and the function fails.

    Parameters:
    Returns:
    Returns a non-negative value if successful. Otherwise returns a negative value and, if size allows it, the first character of name is set to NULL.
    Fortran90 Interface: h5tenum_nameof_f
    SUBROUTINE h5tenum_nameof_f(type_id,  name, namelen, value, hdferr) 
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: type_id  ! Datatype identifier 
      CHARACTER(LEN=*), INTENT(OUT) :: name  ! Name of the  enumeration datatype
      INTEGER(SIZE_T), INTENT(IN) :: namelen ! Length of the name
      INTEGER, INTENT(IN) :: value           ! Value of the  enumeration datatype
      INTEGER, INTENT(OUT) :: hdferr         ! Error code
    END SUBROUTINE h5tenum_nameof_f
    	

    Name: H5Tenum_valueof
    Signature:
    herr_t H5Tenum_valueof( hid_t dtype_id, char *name, void *value )
    Purpose:
    Returns the value corresponding to a specified member of an enumeration datatype.
    Description:
    H5Tenum_valueof finds the value that corresponds to the specified name of the enumeration datatype dtype_id.

    The value argument should be at least as large as the value of H5Tget_size(type) in order to hold the result.

    Parameters:
    Returns:
    Returns a non-negative value if successful; otherwise returns a negative value.
    Fortran90 Interface: h5tenum_valueof_f
    SUBROUTINE h5tenum_valueof_f(type_id,  name, value, hdferr) 
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: type_id ! Datatype identifier 
      CHARACTER(LEN=*), INTENT(IN) :: name  ! Name of the enumeration datatype
      INTEGER, INTENT(OUT) :: value         ! Value of the enumeration datatype
      INTEGER, INTENT(OUT) :: hdferr        ! Error code
    END SUBROUTINE h5tenum_valueof_f
    	

    Name: H5Tequal
    Signature:
    htri_t H5Tequal( hid_t dtype_id1, hid_t dtype_id2 )
    Purpose:
    Determines whether two datatype identifiers refer to the same datatype.
    Description:
    H5Tequal determines whether two datatype identifiers refer to the same datatype.
    Parameters:
    Returns:
    When successful, returns a positive value, for TRUE, if the datatype identifiers refer to the same datatype, or 0 (zero), for FALSE. Otherwise returns a negative value.
    Fortran90 Interface: h5tequal_f
    SUBROUTINE h5tequal_f(type1_id, type2_id, flag, hdferr)
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: type1_id ! Datatype identifier 
      INTEGER(HID_T), INTENT(IN) :: type2_id ! Datatype identifier 
      LOGICAL, INTENT(OUT) :: flag           ! TRUE/FALSE flag to indicate 
                                             ! if two datatypes are equal
      INTEGER, INTENT(OUT) :: hdferr         ! Error code
    END SUBROUTINE h5tequal_f
    	

    Name: H5Tfind
    Signature:
    H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata )
    Purpose:
    Finds a conversion function.
    Description:
    H5Tfind finds a conversion function that can handle a conversion from type src_id to type dst_id. The pcdata argument is a pointer to a pointer to type conversion data which was created and initialized by the soft type conversion function of this path when the conversion function was installed on the path.
    Parameters:
    Returns:
    Returns a pointer to a suitable conversion function if successful. Otherwise returns NULL.
    Fortran90 Interface:
    None.

    Name: H5Tget_array_dims
    Signatures:
    int H5Tget_array_dims( hid_t adtype_id, hsize_t dims[], int perm[] ) [1]
    int H5Tget_array_dims( hid_t adtype_id, hsize_t dims[] ) [2]

    Purpose:
    Retrieves sizes of array dimensions.

    Description:
    H5Tget_array_dims is a macro that is mapped to either H5Tget_array_dims1 or H5Tget_array_dims2, depending on the needs of the application.

    Such macros are provided to facilitate application compatibility. For example:

    Macro use and mappings are fully described in “API Compatibility Macros in HDF5”; we urge you to read that document closely.

    When both the HDF5 Library and the application are built and installed with no specific compatibility flags, H5Tget_array_dims is mapped to the most recent version of the function, currently H5Tget_array_dims2. If the library and/or application is compiled for Release 1.6 emulation, H5Tget_array_dims will be mapped to H5Tget_array_dims1. Function-specific flags are available to override these settings on a function-by-function basis when the application is compiled.

    Specific compile-time compatibility flags and the resulting mappings are as follows:

    Compatibility setting H5Tget_array_dims mapping

    Global settings
    No compatibility flag H5Tget_array_dims2 
    Enable deprecated symbols H5Tget_array_dims2 
    Disable deprecated symbols H5Tget_array_dims2 
    Emulate Release 1.6 interface H5Tget_array_dims1 

    Function-level macros
    H5Tget_array_dims_vers = 2     H5Tget_array_dims2
    H5Tget_array_dims_vers = 1 H5Tget_array_dims1

    Interface history:   Signature [1] above is the original H5Tget_array_dims interface and the only interface available prior to HDF5 Release 1.8.0. This signature and the corresponding function are now deprecated but will remain directly callable as H5Tget_array_dims1.

    Signature [2] above was introduced with HDF5 Release 1.8.0 and is the recommended and default interface. It is directly callable as H5Tget_array_dims2.

    See “API Compatibility Macros in HDF5” for circumstances under which either of these functions might not be available in an installed instance of the HDF5 Library.

    Fortran90 Interface: h5tarray_create_f
    SUBROUTINE h5tarray_create_f(base_id, rank, dims, type_id, hdferr)
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: base_id   ! Identifier of array base datatype
      INTEGER, INTENT(IN)        ::  rank     ! Rank of the array
      INTEGER(HSIZE_T), DIMENSION(*), INTENT(IN) :: dims 
                                              ! Sizes of each array dimension
      INTEGER(HID_T), INTENT(OUT) :: type_id  ! Identifier of the array datatype
      INTEGER, INTENT(OUT)        :: hdferr   ! Error code
    END SUBROUTINE h5tarray_create_f
    	

    History:
    Release     C
    1.8.0 The function H5Tget_array_dims renamed to H5Tget_array_dims1 and deprecated in this release.
    The macro H5Tget_array_dims and the function H5Tget_array_dims2 introduced in this release.

    Name: H5Tget_array_dims1
    Signature:
    int H5Tget_array_dims1( hid_t adtype_id, hsize_t dims[], int perm[] )

    Purpose:
    Retrieves sizes of array dimensions.

    Notice:
    This function is renamed from H5Tget_array_dims and deprecated in favor of the function H5Tget_array_dims2 or the new macro H5Tget_array_dims.

    Description:
    H5Tget_array_dims1 returns the sizes of the dimensions and the dimension permutations of the specified array datatype object.

    The sizes of the dimensions are returned in the array dims.

    The parameter perm is not used.

    Parameters:

    Returns:
    Returns the non-negative number of dimensions of the array type if successful; otherwise returns a negative value.

    Fortran90 Interface: h5tget_array_dims_f
    SUBROUTINE h5tget_array_dims_f(type_id, dims, hdferr) 
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: type_id      ! Identifier of the array datatype
      INTEGER(HSIZE_T), DIMENSION(*), INTENT(OUT) ::  dims 
                                                 ! Buffer to store array datatype
      INTEGER, INTENT(OUT)  :: hdferr            ! Error code
    END SUBROUTINE h5tget_array_dims_f
    	

    History:

    Name: H5Tget_array_dims2
    Signature:
    int H5Tget_array_dims2( hid_t adtype_id, hsize_t dims[] )

    Purpose:
    Retrieves sizes of array dimensions.

    Description:
    H5Tget_array_dims2 returns the sizes of the dimensions of the specified array datatype object.

    The sizes of the dimensions are returned in the array dims.

    Parameters:

    Returns:
    Returns the non-negative number of dimensions of the array type if successful; otherwise returns a negative value.

    Fortran90 Interface:
    None.

    History:

    Name: H5Tget_array_ndims
    Signature:
    int H5Tget_array_ndims( hid_t adtype_id )
    Purpose:
    Returns the rank of an array datatype.
    Description:
    H5Tget_array_ndims returns the rank, the number of dimensions, of an array datatype object.
    Parameters:
    Returns:
    Returns the rank of the array if successful; otherwise returns a negative value.
    Fortran90 Interface: h5tget_array_ndims_f
    SUBROUTINE h5tget_array_ndims_f(type_id, ndims, hdferr) 
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: type_id  ! Identifier of the array datatype
      INTEGER, INTENT(OUT)       ::  ndims   ! Number of array dimensions
      INTEGER, INTENT(OUT)       :: hdferr   ! Error code
    END SUBROUTINE h5tget_array_ndims_f
    	
    History:

    Name: H5Tget_class
    Signature:
    H5T_class_t H5Tget_class( hid_t dtype_id )
    Purpose:
    Returns the datatype class identifier.
    Description:
    H5Tget_class returns the datatype class identifier.

    Valid class identifiers, as defined in H5Tpublic.h, are:

    Note that the library returns H5T_STRING for both fixed-length and variable-length strings.

    Unsupported datatype: The time datatype class, H5T_TIME, is not supported. If H5T_TIME is used, the resulting data will be readable and modifiable only on the originating computing platform; it will not be portable to other platforms.

    Parameters:
    Returns:
    Returns datatype class identifier if successful; otherwise H5T_NO_CLASS (-1).
    Fortran90 Interface: h5tget_class_f
    SUBROUTINE h5tget_class_f(type_id, class, hdferr) 
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: type_id  ! Datatype identifier 
      INTEGER, INTENT(OUT) :: class          ! Datatype class, possible values are:
                                             !    H5T_NO_CLASS_F 
                                             !    H5T_INTEGER_F 
                                             !    H5T_FLOAT_F
    
                                             !    H5T_STRING_F
                                             !    H5T_BITFIELD_F
                                             !    H5T_OPAQUE_F
                                             !    H5T_COMPOUND_F
                                             !    H5T_REFERENCE_F
                                             !    H5T_ENUM_F
      INTEGER, INTENT(OUT) :: hdferr         ! Error code
                                             ! 0 on success and -1 on failure
    END SUBROUTINE h5tget_class_f
    	

    Name: H5Tget_create_plist
    Signature:
    hid_t H5Tget_create_plist( hid_t dtype_id )

    Purpose:
    Returns a copy of a datatype creation property list.

    Description:
    H5Tget_create_plist returns a property list identifier for the datatype creation property list associated with the datatype specified by dtype_id.

    The creation property list identifier should be released with H5Pclose.

    Parameter:
    hid_t dtype_id     IN: Datatype identifier.

    Returns:
    Returns a datatype property list identifier if successful; otherwise returns a negative value.

    Fortran90 Interface: h5tget_create_plist_f
    SUBROUTINE h5tget_create_plist_f(dtype_id, dtpl_id, hdferr)
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: dtype_id ! Datatype identifier
      INTEGER(HID_T), INTENT(OUT) :: dtpl_id ! Datatype property list identifier.
      INTEGER, INTENT(OUT) :: hdferr         ! Error code:
                                             ! 0 on success and -1 on failure
    END SUBROUTINE h5tget_create_plist_f 
        

    History:
    Release     C
    1.8.0 Function introduced in this release.

    Name: H5Tget_cset
    Signature:
    H5T_cset_t H5Tget_cset( hid_t dtype_id )
    Purpose:
    Retrieves the character set type of a string datatype.
    Description:
    H5Tget_cset retrieves the character set type of a string datatype. Valid character set types are:
             H5T_CSET_ASCII   (0)      Character set is US ASCII.
    Parameters:
    Returns:
    Returns a valid character set type if successful; otherwise H5T_CSET_ERROR (-1).
    Fortran90 Interface: h5tget_cset_f
    SUBROUTINE h5tget_cset_f(type_id, cset, hdferr) 
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: type_id ! Datatype identifier 
      INTEGER, INTENT(OUT) :: cset          ! Character set type of a string 
                                            ! datatype 
                                            ! Possible values of padding type are:
                                            !    H5T_CSET_ASCII_F = 0
      INTEGER, INTENT(OUT) :: hdferr        ! Error code
    END SUBROUTINE h5tget_cset_f
    	

    Name: H5Tget_ebias
    Signature:
    size_t H5Tget_ebias( hid_t dtype_id )
    Purpose:
    Retrieves the exponent bias of a floating-point type.
    Description:
    H5Tget_ebias retrieves the exponent bias of a floating-point type.
    Parameters:
    Returns:
    Returns the bias if successful; otherwise 0.
    Fortran90 Interface: h5tget_ebias_f
    SUBROUTINE h5tget_ebias_f(type_id, ebias, hdferr) 
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: type_id ! Datatype identifier 
      INTEGER(SIZE_T), INTENT(OUT) :: ebias ! Datatype exponent bias 
                                            ! of a floating-point type
      INTEGER, INTENT(OUT) :: hdferr        ! Error code
    END SUBROUTINE h5tget_ebias_f
    	

    Name: H5Tget_fields
    Signature:
    herr_t H5Tget_fields( hid_t dtype_id, size_t *spos, size_t *epos, size_t *esize, size_t *mpos, size_t *msize )
    Purpose:
    Retrieves floating point datatype bit field information.
    Description:
    H5Tget_fields retrieves information about the locations of the various bit fields of a floating point datatype. The field positions are bit positions in the significant region of the datatype. Bits are numbered with the least significant bit number zero. Any (or even all) of the arguments can be null pointers.
    Parameters:
    Returns:
    Returns a non-negative value if successful; otherwise returns a negative value.
    Fortran90 Interface: h5tget_fields_f
    SUBROUTINE h5tget_fields_f(type_id, spos, epos, esize, mpos, msize, hdferr)
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: type_id ! Datatype identifier
      INTEGER(SIZE_T), INTENT(OUT) :: spos  ! sign bit-position 
      INTEGER(SIZE_T), INTENT(OUT) :: epos  ! exponent bit-position 
      INTEGER(SIZE_T), INTENT(OUT) :: esize ! size of exponent in bits
      INTEGER(SIZE_T), INTENT(OUT) :: mpos  ! mantissa bit-position 
      INTEGER(SIZE_T), INTENT(OUT) :: msize ! size of mantissa in bits
      INTEGER, INTENT(OUT) :: hdferr        ! Error code
    END SUBROUTINE h5tget_fields_f
    	

    Name: H5Tget_inpad
    Signature:
    H5T_pad_t H5Tget_inpad( hid_t dtype_id )
    Purpose:
    Retrieves the internal padding type for unused bits in floating-point datatypes.
    Description:
    H5Tget_inpad retrieves the internal padding type for unused bits in floating-point datatypes. Valid padding types are:
    Parameters:
    Returns:
    Returns a valid padding type if successful; otherwise H5T_PAD_ERROR (-1).
    Fortran90 Interface: h5tget_inpad_f
    SUBROUTINE h5tget_inpad_f(type_id, padtype, hdferr) 
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: type_id ! Datatype identifier 
      INTEGER, INTENT(OUT) :: padtype       ! Padding type for unused bits 
                                            ! in floating-point datatypes
                                            ! Possible values of padding type are:
                                            !     H5T_PAD_ZERO_F = 0
                                            !     H5T_PAD_ONE_F = 1
                                            !     H5T_PAD_BACKGROUND_F = 2
      INTEGER, INTENT(OUT) :: hdferr        ! Error code
    END SUBROUTINE h5tget_inpad_f
    	

    Name: H5Tget_member_class
    Signature:
    H5T_class_t H5Tget_member_class( hid_t cdtype_id, unsigned member_no )
    Purpose:
    Returns datatype class of compound datatype member.
    Description:
    Given a compound datatype, cdtype_id, the function H5Tget_member_class returns the datatype class of the compound datatype member specified by member_no.

    Valid class identifiers are as defined in H5Tget_class.

    Parameters:
    Returns:
    Returns the datatype class, a non-negative value, if successful; otherwise returns a negative value.
    Fortran90 Interface: h5tget_member_class_f
    SUBROUTINE h5tget_member_class_f(type_id, member_no, class, hdferr) 
      INTEGER(HID_T), INTENT(IN) :: type_id       ! Datatype identifier 
      INTEGER, INTENT(IN) :: member_no            ! Member number
      INTEGER, INTENT(OUT) :: class               ! Member class
      INTEGER, INTENT(OUT) :: hdferr              ! Error code
    END SUBROUTINE h5tget_member_class_f
            
    History:

    Name: H5Tget_member_index
    Signature:
    int H5Tget_member_index( hid_t dtype_id, const char * field_name )
    Purpose:
    Retrieves the index of a compound or enumeration datatype member.
    Description:
    H5Tget_member_index retrieves the index of a field of a compound datatype or an element of an enumeration datatype.

    The name of the target field or element is specified in field_name.

    Fields are stored in no particular order with index values of 0 through N-1, where N is the value returned by H5Tget_nmembers.

    Parameters:
    Returns:
    Returns a valid field or member index if successful; otherwise returns a negative value.
    Fortran90 Interface: h5tget_member_index_f
    SUBROUTINE h5tget_member_index_f(type_id, name, index, hdferr) 
      INTEGER(HID_T), INTENT(IN) :: type_id  ! Datatype identifier 
      CHARACTER(LEN=*), INTENT(IN) :: name   ! Member name
      INTEGER, INTENT(OUT) :: index          ! Member index
      INTEGER, INTENT(OUT) :: hdferr         ! Error code
    END SUBROUTINE h5tget_member_index_f
    	
    History:

    Name: H5Tget_member_name
    Signature:
    char * H5Tget_member_name( hid_t dtype_id, unsigned field_idx )
    Purpose:
    Retrieves the name of a compound or enumeration datatype member.
    Description:
    H5Tget_member_name retrieves the name of a field of a compound datatype or an element of an enumeration datatype.

    The index of the target field or element is specified in field_idx. Compound datatype fields and enumeration datatype elements are stored in no particular order with index values of 0 through N-1, where N is the value returned by H5Tget_nmembers.

    A buffer to receive the name of the field is allocated with malloc() and the caller is responsible for freeing the memory used.

    Parameters:
    Returns:
    Returns a valid pointer to a string allocated with malloc() if successful; otherwise returns NULL.
    Fortran90 Interface: h5tget_member_name_f
    SUBROUTINE h5tget_member_name_f(type_id,index, member_name,  namelen, hdferr) 
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: type_id        ! Datatype identifier 
      INTEGER, INTENT(IN) :: index                 ! Field index (0-based) of 
                                                   ! the field name to retrieve 
      CHARACTER(LEN=*), INTENT(OUT) :: member_name ! Name of a field of
                                                   ! a compound datatype 
      INTEGER, INTENT(OUT) :: namelen              ! Length of the name 
      INTEGER, INTENT(OUT) :: hdferr               ! Error code
    END SUBROUTINE h5tget_member_name_f
    	
    History:

    Name: H5Tget_member_offset
    Signature:
    size_t H5Tget_member_offset( hid_t dtype_id, unsigned memb_no )
    Purpose:
    Retrieves the offset of a field of a compound datatype.
    Description:
    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 data type datum.
    Parameters:
    Returns:
    Returns the byte offset of the field if successful; otherwise returns 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.
    Fortran90 Interface: h5tget_member_offset_f
    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
    	
    History:

    Name: H5Tget_member_type
    Signature:
    hid_t H5Tget_member_type( hid_t dtype_id, unsigned field_idx )
    Purpose:
    Returns the datatype of the specified member.
    Description:
    H5Tget_member_type returns the datatype of the specified member. The caller should invoke H5Tclose() to release resources associated with the type.
    Parameters:
    Returns:
    Returns the identifier of a copy of the datatype of the field if successful; otherwise returns a negative value.
    Fortran90 Interface: h5tget_member_type_f
    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
    	
    History:

    Name: H5Tget_member_value
    Signature:
    herr_t H5Tget_member_value( hid_t dtype_id unsigned memb_no, void *value )
    Purpose:
    Returns the value of an enumeration datatype member.
    Description:
    H5Tget_member_value returns the value of the enumeration datatype member memb_no.

    The member value is returned in a user-supplied buffer pointed to by value.

    Parameters:
    Returns:
    Returns a non-negative value if successful; otherwise returns a negative value.
    Fortran90 Interface: h5tget_member_value_f
    SUBROUTINE h5tget_member_value_f(type_id,  member_no, value, hdferr) 
      IMPLICIT NONE
      INTEGER(HID_T), INTENT(IN) :: type_id ! Datatype identifier 
      INTEGER, INTENT(IN) :: member_no      ! Number of the enumeration 
                                            ! datatype member
      INTEGER, INTENT(OUT) :: value         ! Value of the enumeration datatype
      IN