BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Save history information for set of directories.
Definition at line 71 of file IOHistory.h.
Public Member Functions | |
bool | hasHistory (const QString &dirname) const |
QStringList | savedFileNames (const QString &dirname) const |
void | setHistory (const QString &dirname, const DatafieldDirHistory &history) |
Sets history for given directory. Previous history will be rewritten. More... | |
bool | wasModifiedSinceLastSave (const QString &dirname, const SaveLoadInterface *item) |
Private Attributes | |
QMap< QString, DatafieldDirHistory > | m_dir_history |
< Correspondence of directory name to save history. More... | |
bool DatafieldIOHistory::hasHistory | ( | const QString & | dirname | ) | const |
Definition at line 97 of file IOHistory.cpp.
References m_dir_history.
Referenced by DatafieldIOService::save(), savedFileNames(), and wasModifiedSinceLastSave().
QStringList DatafieldIOHistory::savedFileNames | ( | const QString & | dirname | ) | const |
Definition at line 121 of file IOHistory.cpp.
References Error, hasHistory(), and m_dir_history.
Referenced by DatafieldIOService::save().
void DatafieldIOHistory::setHistory | ( | const QString & | dirname, |
const DatafieldDirHistory & | history | ||
) |
Sets history for given directory. Previous history will be rewritten.
Definition at line 114 of file IOHistory.cpp.
References m_dir_history.
Referenced by DatafieldIOService::loadDataFiles(), and DatafieldIOService::save().
bool DatafieldIOHistory::wasModifiedSinceLastSave | ( | const QString & | dirname, |
const SaveLoadInterface * | item | ||
) |
Definition at line 102 of file IOHistory.cpp.
References Error, hasHistory(), and m_dir_history.
Referenced by DatafieldIOService::save().
|
private |
< Correspondence of directory name to save history.
Definition at line 83 of file IOHistory.h.
Referenced by hasHistory(), savedFileNames(), setHistory(), and wasModifiedSinceLastSave().