BIE::Serializable Class Reference

The is the base class for a serializable class using boost. More...

#include <Serializable.h>

Inherited by AData, BIE::BaseDataTree, BIE::BasicType, BIE::Bin, BIE::CachedModel, BIE::CacheGalaxyModel, BIE::CMD, BIE::CMD2, BIE::CMDCache, BIE::Distribution, BIE::filterIn, BIE::filterOut, BIE::Frontier, BIE::FrontierExpansionHeuristic, BIE::Integration, BIE::LikelihoodComputation, BIE::LikelihoodFunction, BIE::MCAlgorithm, BIE::MHWidth, BIE::Model, BIE::ModelPops, BIE::NDPopCachedModel, BIE::Node, BIE::PairIndex, BIE::PopCache, BIE::PopCacheF, BIE::PopCacheJMC, BIE::PopCacheSF, BIE::Populations, BIE::PopulationsApp, BIE::RandomDump, BIE::RecordBuffer, BIE::RecordStream, BIE::RecordStreamFilter, BIE::RecordType, BIE::RunSimulation, BIE::Simulation, BIE::star, BIE::State, BIE::StateCache, BIE::StateData, BIE::Tessellation, BIE::Tile, BIE::twodcoords, BIE::TypedBuffer, BIE::vmanip, Chain, CheckpointManager, CliArgList, Expr, HistogramCache, HistoKey, PopKey, SaveEngine, SaveManager, StateHistory, Statement, StateMetaInfo, StateTransClosure, StdCandle, SymTab, and UserState.

List of all members.

Public Member Functions

 Serializable ()
 Default constructor.
virtual ~Serializable ()
 Destructor.

Protected Member Functions

template<class Archive>
void serialize (Archive &ar, const unsigned int file_version)
 This must be overridden by derived classes . . .
template<class Archive>
void pre_serialize (Archive &ar, const unsigned int file_version)
 These functions are to be overridded by classes that need special treatment for serialization, saving or loading.
template<class Archive>
void post_serialize (Archive &ar, const unsigned int file_version)
 Called AFTER serializing a class.
template<class Archive>
void pre_save (Archive &ar, const unsigned int file_version) const
 These may be used when the save/load function is IS split, in other words, one must use different calls for saving and loading.
template<class Archive>
void post_save (Archive &ar, const unsigned int file_version) const
 Called AFTER saving a class.
template<class Archive>
void pre_load (Archive &ar, const unsigned int file_version)
 Called BEFORE loading a class.
template<class Archive>
void post_load (Archive &ar, const unsigned int file_version)
 Called AFTER loading a class.

Friends

class boost::serialization::access


Detailed Description

The is the base class for a serializable class using boost.

Member Function Documentation

template<class Archive>
void BIE::Serializable::pre_serialize ( Archive &  ar,
const unsigned int  file_version 
) [inline, protected]

These functions are to be overridded by classes that need special treatment for serialization, saving or loading.

They do nothing by default These may be used when the save/load function is NOT split, in other words, one may use the same calls on saving and loading Called BEFORE serializing a class

template<class Archive>
void BIE::Serializable::pre_save ( Archive &  ar,
const unsigned int  file_version 
) const [inline, protected]

These may be used when the save/load function is IS split, in other words, one must use different calls for saving and loading.

Called BEFORE saving a class


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

Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:13 2010 by doxygen