Boost logo

Boost Users :

From: ari vol (avf99avf_at_[hidden])
Date: 2008-07-16 08:06:27


The problem with this solution is that it is time consuming, to open file for a key, i would like to use the boost serializeation to improve  time preformance. What is realy required is some mechanism, to identify an instance according to its key and only than read its data. Thus reading only the required instnace (accordig to its key) and not also the previous data at the file, someting like seek. I hoped that "XML boost" can supply someting like that, but could not find how. Thanks, -Ariella ----- Original Message ---- From: gchen <chengang31_at_[hidden]> To: boost-users_at_[hidden] Sent: Wednesday, July 16, 2008 9:43:56 AM Subject: Re: [Boost-users] Boost serialization: is there a way to perform selective read 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. _______________________________________________ Boost-users mailing list Boost-users_at_[hidden] http://lists.boost.org/mailman/listinfo.cgi/boost-users



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