Object Serialization Concepts
Object serialization enables user-defined C++ objects to be written to a stream and then read back while preserving dynamic type information (polymorphism) and the topology of pointers between objects (isomorphism). The object serialization mechanism is independent of:
*the medium on which the data is stored or transmitted
*the format used to encode the data
For instance, an object could be transmitted over a TCP socket using a binary encoding or stored in a disk file with an ASCII format.