HDF5 tables constructed at run time


I would like to create and insert data into HDF5 tables from a
description of the table computed at run time. I saw that the table API
expects that the elements of each record to be stored in a struct and
offset, and that the offsets to each struct elements are known.

There is an efficient way to insert records into a table that does not
require to play with pointers to an opaque buffer in order to store
table record elements at fixed offsets?

Thank you. Cheers,