BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Save history information for set of directories. More...
Public Member Functions | |
bool | hasHistory (const QString &dirname) const |
QStringList | savedFileNames (const QString &dirname) const |
void | setHistory (const QString &dirname, const OutputDataDirHistory &history) |
Sets history for given directory. Previous history will be rewritten. More... | |
bool | wasModifiedSinceLastSave (const QString &dirname, const SaveLoadInterface *item) |
Private Attributes | |
QMap< QString, OutputDataDirHistory > | m_dir_history |
< Correspondance of directory name to save history. More... | |
Save history information for set of directories.
Definition at line 68 of file OutputDataIOHistory.h.
bool OutputDataIOHistory::hasHistory | ( | const QString & | dirname | ) | const |
Definition at line 97 of file OutputDataIOHistory.cpp.
References m_dir_history.
Referenced by OutputDataIOService::save(), savedFileNames(), and wasModifiedSinceLastSave().
QStringList OutputDataIOHistory::savedFileNames | ( | const QString & | dirname | ) | const |
Definition at line 121 of file OutputDataIOHistory.cpp.
References hasHistory(), and m_dir_history.
Referenced by OutputDataIOService::save().
void OutputDataIOHistory::setHistory | ( | const QString & | dirname, |
const OutputDataDirHistory & | history | ||
) |
Sets history for given directory. Previous history will be rewritten.
Definition at line 114 of file OutputDataIOHistory.cpp.
References ASSERT, and m_dir_history.
Referenced by OutputDataIOService::load(), and OutputDataIOService::save().
bool OutputDataIOHistory::wasModifiedSinceLastSave | ( | const QString & | dirname, |
const SaveLoadInterface * | item | ||
) |
Definition at line 102 of file OutputDataIOHistory.cpp.
References hasHistory(), and m_dir_history.
Referenced by OutputDataIOService::save().
|
private |
< Correspondance of directory name to save history.
Definition at line 80 of file OutputDataIOHistory.h.
Referenced by hasHistory(), savedFileNames(), setHistory(), and wasModifiedSinceLastSave().