BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
ItemFileNameUtils.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/Support/IO/ItemFileNameUtils.h
6 //! @brief Defines namespace GUI::Model::FilenameUtils
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_GUI_SUPPORT_IO_ITEMFILENAMEUTILS_H
16 #define BORNAGAIN_GUI_SUPPORT_IO_ITEMFILENAMEUTILS_H
17 
18 #include <QStringList>
19 
20 //! Contains set of convenience methods for JobItem and its children.
21 
23 
24 QString jobResultsFileName(const QString& itemName);
25 
26 QString jobReferenceFileName(const QString& itemName);
27 
28 QString jobNativeDataFileName(const QString& id);
29 
30 QString realDataFileName(const QString& dataName);
31 
32 QString nativeDataFileName(const QString& dataName);
33 
34 QStringList nonXMLFileNameFilters();
35 
36 } // namespace GUI::Model::FilenameUtils
37 
38 #endif // BORNAGAIN_GUI_SUPPORT_IO_ITEMFILENAMEUTILS_H
Contains set of convenience methods for JobItem and its children.
QString jobReferenceFileName(const QString &itemName)
Constructs the name of the file with reference data.
QString jobResultsFileName(const QString &itemName)
Constructs the name of the file with simulated intensities.
QStringList nonXMLFileNameFilters()
Returns list of fileName filters related to nonXML data stored by JobModel and RealDataModel.
QString nativeDataFileName(const QString &dataName)
QString realDataFileName(const QString &dataName)
Constructs the name of the intensity file belonging to real data item.
QString jobNativeDataFileName(const QString &id)