I have to write following Structure to HDF File.
Point c; // Point is a structure
I have created Compound datatype for the main structure as shown below
s_some_struct_name_tid = H5Tcreate(H5T_COMPOUND, sizeof(some_struct_name));
But I have to create Compound Datatype for the nested structure i.e., Point using H5Tinsert in order to write some_struct_name data to HDF File. Again declaring all the nested structures would be hectic.
Is there any way to write Nested Structures without redeclaring again using Compound Datatype?
Thanks in advance.