Scopira 20080306

scopira::tool::isoiflow Class Reference

#include <polyflow.h>

Inheritance diagram for scopira::tool::isoiflow:
scopira::tool::polyiflow scopira::tool::iobjflow_i scopira::tool::itflow_i scopira::tool::iflow_i scopira::tool::flow_i scopira::tool::object scopira::tool::archiveiflow

List of all members.

Public Member Functions

 isoiflow (bool doref, itflow_i *rz)
 constructor + open
virtual ~isoiflow ()
 destructor
virtual bool read_object (object *&out)
 reads a virtual object from the stream

Protected Types

typedef std::map< int,
scopira::tool::object * > 
idmap_t

Protected Attributes

idmap_t dm_idmap

Detailed Description

This is an polyoflow implementation that implements full serialazation of objects, and has support for multi references. That is, if an object is refered to by multiple pointers, it will only be written to disk once.

Reading the objects back from the stream also reproduces one instance. rather than many.

This is stream is almost always prefeered over scopira::tool::polyiflow

Author:
Aleksander Demko

The documentation for this class was generated from the following file: