Hi Johannes,

On May 11, 2010, at 9:43 AM, Stamminger, Johannes wrote:

> Hi,
> 
> for array types I do not find the way to determine the type the array
> items are of. E.g. for a H5T_NATIVE_CHAR[20] I search for the method to
> get informed of the elements being of type H5T_NATIVE_CHAR.
> 
> H5Tget_class returns 10 = array, H5Tget_size returns the overall size of
> the array (here: 20). I suspected H5Tget_super to provide this info -
> but this returns an id different from H5T_NATIVE_CHAR's id.

        H5Tget_super() is the correct function to use.  The ID it returns must 
be closed, but should compare equal to H5T_NATIVE_CHAR with H5Tequal().

        Quincey


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to