#include <source/toolbox/timers/Statistician.h>
Inheritance diagram for SAMRAI::tbox::StatisticRestartDatabase:

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 |
| SAMRAI::tbox::StatisticRestartDatabase::StatisticRestartDatabase | ( | const std::string & | object_name, | |
| bool | register_for_restart, | |||
| bool | read_from_restart | |||
| ) |
| SAMRAI::tbox::StatisticRestartDatabase::~StatisticRestartDatabase | ( | ) | [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 | ( | ) |
friend class Statistician [friend] |
1.5.1