Saving and Restoring an Object by Value

First, add serialization support. For example, suppose you start with an instance of class real_property:

class real_property

{

public:

real_property ();

real_property (const RWCString& address,

const RWCString& size);

private:

RWCString address_;

RWCString size_;

};

You need to make two changes to add serialization support.

In this section: