Newbie - atoms with array in CompType

Hello -

I believe I have two choices to associate a small fixed-size array with
miscellaneous atoms:
  1 - place array inside CompType along with atoms
  2 - place reference to array along with atoms in CompType

Is #1 possible? If so, does someone have an example of how to insert an
array definition into a CompType?

Does someone have an example of inserting a reference definition into a
CompType?

Thanks,
Gordon

Gordon,

Please take a look at the examples posted at
http://www.hdfgroup.uiuc.edu/UserSupport/examples-by-api/api16-c.html

Read / Write Complex Compound Datatype (Attribute): h5ex_t_cpxcmpdatt.c
Read / Write Complex Compound Datatype (Dataset): h5ex_t_cpxcmpd.c

There are similar examples for the 1.8 version of the library (see http://www.hdfgroup.uiuc.edu/UserSupport/examples-by-api/api18-c.html).

Elena

···

On Nov 4, 2008, at 1:55 PM, Gordon Smith wrote:

Hello -

I believe I have two choices to associate a small fixed-size array with miscellaneous atoms:
  1 - place array inside CompType along with atoms
  2 - place reference to array along with atoms in CompType

Is #1 possible? If so, does someone have an example of how to insert an array definition into a CompType?

Does someone have an example of inserting a reference definition into a CompType?

Thanks,
Gordon

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.