|
BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Defines ProjectUtils namespace. More...
Go to the source code of this file.
Namespaces | |
| ProjectUtils | |
| Defines convenience function for project manager and document. | |
Functions | |
| QString | ProjectUtils::autosaveDir (const QString &projectFileName) |
| Returns name of autosave directory for project with given project file name. More... | |
| QString | ProjectUtils::autosaveName (const QString &projectFileName) |
| Returns name of project for autoSave from given project file name. More... | |
| QString | ProjectUtils::autosaveSubdir () |
| Returns fixed name for autosave sub-directory. More... | |
| bool | ProjectUtils::exists (const QString &fileName) |
| Returns true if file exists. More... | |
| bool | ProjectUtils::hasAutosavedData (const QString &projectFileName) |
| Returns true if project with given projectFileName contains autosaved data. More... | |
| QString | ProjectUtils::lastModified (const QString &fileName) |
| Returns a string representing modification time of given file. More... | |
| QStringList | ProjectUtils::nonXMLDataInDir (const QString &dirname) |
| Returns list of files on disk representing nonXML data. More... | |
| QString | ProjectUtils::projectDir (const QString &projectFileName) |
| Returns project directory deduced from project file name. More... | |
| QString | ProjectUtils::projectName (const QString &projectFileName) |
| Returns project name deduced from project file name. More... | |
| QString | ProjectUtils::readTextFile (const QString &fileName) |
| Returns multi-lione string representing content of text file. More... | |
| bool | ProjectUtils::removeFile (const QString &dirname, const QString &filename) |
| Remove file from given directory. More... | |
| bool | ProjectUtils::removeFiles (const QString &dirname, const QStringList &filenames) |
| bool | ProjectUtils::removeRecursively (const QString &dirname) |
| Removes recursively directory with given name. More... | |
| QStringList | ProjectUtils::substract (const QStringList &lhs, const QStringList &rhs) |
| Returns list of string from lhs, which are not in rhs. More... | |
| QString | ProjectUtils::userExportDir () |
| Returns directory which user is normally using to export files. More... | |
Defines ProjectUtils namespace.
Definition in file ProjectUtils.h.