zjx632 / mili

Automatically exported from code.google.com/p/mili
Boost Software License 1.0
1 stars 2 forks source link

progressive container serialization abilities #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
please add the ability to progressively serialize a container.
Some ideas:

Mode1: with a 
   ContainerSerialize(size, content)

Mode2:
  bostream bos;
  ContainerSerialize<T> vecser(bos, elements_count);
  vecser << atribute1 << attribute2;
  vecser << NextElemnt;   // just to verify 
  vecser << attribute1 << attribute2;
  // vecser checks in destructor that all elements_count has been serialized

Original issue reported on code.google.com by danielgutson@gmail.com on 25 Jun 2010 at 8:50

GoogleCodeExporter commented 9 years ago

Original comment by billybiset on 4 Jul 2010 at 6:12