Hi,

  I would like to store a collection of the following as a compound data

struct MyBox {
  double minX;
  double minY;
  double minZ;
  double maxX;
  double maxY;
  double maxZ;
  std::vector<size_t> offsets;
};

  I have no problem with the POD min* and max*

  However, I am unsure how best to handle std::vector<size_t>

  I read about variable length for string and was wondering if the
information is applicable.

  Which example code should I consult to have a better understand of
variable length as used within a compound type ?

Cheers
-- 
Nicholas Yue
Graphics - RenderMan, Visualization, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue
https://vimeo.com/channels/naiadtools
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

Reply via email to