Hi Pierre,
On 06/03/2011 07:16 PM, Pierre LINDENBAUM wrote:
Hi all, I'm currently learning the HDF5 API and I'm trying to insert a large set of C++ std::string into a HDF5 dataset (1 column). In the following snippet, how should I loop over a vector<string> and insert each string at the right index ?
I asked this question on stackoverflow: http://stackoverflow.com/questions/581209/how-to-best-write-out-a-stdvector-stdstring-container-to-a-hdf5-dataset In the end I ended up answering it myself - but I'm not sure it's optimal. Regards, Richard -- Richard Corden _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
