SAMRAI::tbox::StatisticRestartDatabase Class Reference

#include <source/toolbox/timers/Statistician.h>

Inheritance diagram for SAMRAI::tbox::StatisticRestartDatabase:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 StatisticRestartDatabase (const std::string &object_name, bool register_for_restart, bool read_from_restart)
virtual ~StatisticRestartDatabase ()
void putToDatabase (Pointer< Database > db)
void getFromRestart ()

Friends

class Statistician

Constructor & Destructor Documentation

SAMRAI::tbox::StatisticRestartDatabase::StatisticRestartDatabase ( const std::string &  object_name,
bool  register_for_restart,
bool  read_from_restart 
)

SAMRAI::tbox::StatisticRestartDatabase::~StatisticRestartDatabase (  )  [virtual]


Member Function Documentation

void SAMRAI::tbox::StatisticRestartDatabase::putToDatabase ( Pointer< Database db  )  [virtual]

This method serializes the object by writing data to the specified database.

NOTE: The asymetry (not having a "getFromDatabase") is from the historical method for doing SAMRAI restart. The constructor for a Serializable class should get the database to restore state from by making a getRootDatabase call to the RestartManager.

Implements SAMRAI::tbox::Serializable.

void SAMRAI::tbox::StatisticRestartDatabase::getFromRestart (  ) 


Friends And Related Function Documentation

friend class Statistician [friend]


The documentation for this class was generated from the following files:
Generated on Thu Jun 18 11:29:08 2009 for SAMRAI by  doxygen 1.5.1