The Persistency Interface. More...
#include <persistency_interface.h>

Public Member Functions | |
| IPersistency (const IPersistency &)=default | |
| IPersistency (IPersistency &&)=default | |
| IPersistency & | operator= (const IPersistency &)=default |
| IPersistency & | operator= (IPersistency &&)=default |
| virtual void | save_profile (const Tournament &tournament_to_save, const std::string &to_file) const =0 |
| Save a profile. More... | |
| virtual void | save_profile (const Tournament &tournament_to_save) const =0 |
| Save the profile to the file currently loaded. More... | |
| virtual Tournament | load_profile (const std::string &from_file)=0 |
| Load a profile. More... | |
| virtual Tournament | load_profile ()=0 |
| Load the default profile. More... | |
The Persistency Interface.
Used to save and load tournament data to/from a file.
|
pure virtual |
Load a profile.
| from_file | Path to the file it should be loaded from |
Implemented in TournamentRunner::Persistency.

|
pure virtual |
Load the default profile.
Implemented in TournamentRunner::Persistency.
|
pure virtual |
Save a profile.
| tournament_to_save | The tournament to save |
| to_file | Path to the file it should be saved to |
Implemented in TournamentRunner::Persistency.

|
pure virtual |
Save the profile to the file currently loaded.
| tournament_to_save | The tournament to save |
Implemented in TournamentRunner::Persistency.
1.8.6