|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-02-27 11:41:44
From: "Ihsan Ali Al Darhi" <iad929_at_[hidden]>
> > I have just uploaded my proposal for a boost library to address
> > saving and restoring of C++ objects. I refer to this as
> > serialization.
>
> I appreciate your efforts on such a topic. But I have a question. Why not
> use an object-database (Like ObjectStore, Orient, Forte, etc) to store the
> C++ objects?
Object serialization is a very useful thing to have even given an object
database. For example, you can tell an object to serialize itself to a
socket stream, or you can use the serialization mechanism as an
introspection facility to enumerate the object's properties.
Using a carefully crafted reader/writer pair, you can even implement a
generic object property editor (I've done it.) In effect, the object
serializes itself to the dialog box, allowing the user to edit its
properties.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk