Scopira 20080306

scopira::tool::isooflow Class Reference

#include <polyflow.h>

Inheritance diagram for scopira::tool::isooflow:
scopira::tool::polyoflow scopira::tool::oobjflow_i scopira::tool::otflow_i scopira::tool::oflow_i scopira::tool::flow_i scopira::tool::object scopira::tool::archiveoflow

List of all members.

Public Member Functions

 isooflow (bool doref, otflow_i *rz)
 constructor + open
virtual ~isooflow ()
virtual void write_object (const scopira::tool::object *o)
 saves the object to stream

Protected Types

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

Protected Attributes

int dm_nextid
ptrmap_t dm_ptrmap

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::polyoflow

Aleksander Demko

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