On Wed, Jun 26, 2013 at 12:22:23PM +0200, Guillaume Jacquenot wrote:
> Dear all,
>
> I would like to read the content of an unknown H5T_COMPOUND variable from a
> C program.
>
> I would like to retrieve:
> - the number of elements
> - the type of each elements
> - the name of each element
I don't do this often so I don't have a good example for you but
you'll need these routines:
Compound Datatype Properties
H5Tget_nmembers
H5Tget_member_class
H5Tget_member_name
H5Tget_member_index
H5Tget_member_offset
H5Tget_member_type
(http://www.hdfgroup.org/HDF5/doc/RM/RM_H5T.html)
--
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org