Swarm-NG
1.1
|
Implements load and save functions for ensemble files. More...
#include "snapshot.hpp"
Go to the source code of this file.
Namespaces | |
swarm | |
Swarm-NG library. | |
swarm::snapshot | |
Static class containing methods to load/save ensembles to file. | |
Constant Groups | |
swarm | |
Swarm-NG library. | |
swarm::snapshot | |
Static class containing methods to load/save ensembles to file. | |
Functions | |
defaultEnsemble | swarm::snapshot::load (const string &filename) throw (readfileexception) |
Load binary snapshot file. | |
defaultEnsemble | swarm::snapshot::load_text (const string &filename) throw (readfileexception) |
Loads textual snapshot file. | |
void | swarm::snapshot::save (defaultEnsemble &ens, const string &filename) throw (writefileexception) |
Save the ensemble to a binary file. | |
void | swarm::snapshot::save_text (defaultEnsemble &ens, const string &filename) throw (writefileexception) |
Save the ensemble as a text file. | |
Implements load and save functions for ensemble files.
Definition in file snapshot.cpp.