From: gchen (chengang31_at_[hidden])
Date: 2008-07-16 02:43:56


ari vol wrote:
> Hey,
>
> I would like to know whether there is a way to preform selective read
> using Boost serialization
> <http://www.boost.org/doc/libs/1_35_0/libs/serialization/doc/index.html>,
> thus reading serialized instance with its id/key.
>
> The implementation that i know is saving instances to a file and then
> loading them all according to the saving order. Is there a way to read
> only one selected instance from the file.
>

How about serializing objects separately? I mean instead of saving a
object and its children objects into a big file, simply saving them into
different files.