Archives are used for checkpoint/restart. More...
#include <archive.h>
Public Member Functions | |
Archive (std::string, std::string) | |
Create a new Archive. | |
void | saveSimulation (Simulation *sim) |
Save the simulation state to a file. | |
Simulation * | loadSimulation (void) |
Restore Simulation state from a file. |
Archives are used for checkpoint/restart.
NOT a Public API.
Archive::Archive | ( | std::string | ttype, | |
std::string | filename | |||
) |
Create a new Archive.
ttype | - Type of archive (xml, text, bin) | |
filename | - File to archive to or from |