Hi Phil, You can take a look at the classes in casa/HDF5 of casacore (casacore.google.com). It can read or write (hyperslabs of) N-dim arrays of various basic numeric types (including complex) in datasets. It can also read/write (small) arrays in attributes. The classes also deal with exception-safe handling of hid_t variables.
Cheers, Ger >>> Kraus Philipp <[email protected]> 6/6/2010 5:47 PM >>> Hi, I try to implement HDF structures in C++ for using the datasets with the Boost libraries. Is there any good tutorial for using HDF with C++ class structures, because it's hard for me to translate C examples to C ++. I found only the HDF API reference under http://www.hdfgroup.org/HDF5/doc/cpplus_RM/index.html At this time I had written code to read/write numeric vector and matrix structure. I have some trouble with arrays especially string types. Does anyone know a How-To or anything else? Thanks Phil _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
