VISH  0.2
Public Member Functions | Static Public Member Functions
MemCore::SaveRegistry Class Reference

Database for routines saving a certain class to disk. More...

#include </home/werner/origo/vish/memcore/Persistencer.hpp>

List of all members.

Public Member Functions

Static Public Member Functions


Detailed Description

Database for routines saving a certain class to disk.

Establishing save interfaces:

 X::X()
 {
    SaveRegistry<X>::addInterfaces(this);
 }
 

Adding a new save routine for objects of type X:

  SaveRegistry<X>::getCreator( typeid(HDF5) ) = new HDF5Saver<X>();

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