I'm trying to store some data in HDF5 using the C++ API, with several requirements:
- an arbitrary number of entries can be stored,
- each entry has the same number of rows (of types int and double),
- the number and type of the rows should be determined at runtime.
I think the right way to implement this is as a packet table, but the example I've been able to find stores only one native type per entry. I'd like to store several, similar to a compound datatype but again the example I found isn't sufficient because it stores a struct, which can't be written at runtime. Are there some examples where this is done? Or just some high-level API that I missed?