Hello,

Something I couldn't find clearly said in documentations: Can you rely on the 
indexes of the fields in a compound to follow their insertion order? Like if I 
first add field A to an empty compound and then field B, is A always in index 
position 0 and B in position 1?  Maybe that is something that has not been 
declared official so that it can be changed in future releases if needed?   
Thanks for any words of wisdom on this.

Another note: The documentations say that compound datatypes have a fixed size. 
However, I have successfully used compounds so that when building a compound I 
increase its size before every insertion of a field (using H5Tset_size)  
according to the size of the field. But I guess the point in term "fixed size" 
is that once a compound has been used it cannot be changed.

Best Regards,
Vesa Paatero
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to