Boost logo

Boost Users :

Subject: [Boost-users] [serialization] appending elements
From: Agustín K-ballo Bergé (kaballo86_at_[hidden])
Date: 2009-03-08 21:00:36


Is it possible to append serialized elements to an existing archive? I
need to keep a set of records on a file, and periodically add new
entries to it (kind of like a database table). Reading the whole set,
adding the new records, and serializing the set back is not an option
since I expect the set to go pretty big.

I have tried to keep several archives at the same stream (with no_header
and no_tracking flags), but then I don't know how to read them. Reading
them as if they were a single archive does not work, should it?

Agustín K-ballo Bergé.-


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net