16 Jul
2008
16 Jul
'08
6:43 a.m.
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.