BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
FitParameterHelper.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/Model/Model/FitParameterHelper.h
6 //! @brief Defines namespace FitParameterHelper
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_MODEL_MODEL_FITPARAMETERHELPER_H
16 #define BORNAGAIN_GUI_MODEL_MODEL_FITPARAMETERHELPER_H
17 
18 #include <QStringList>
19 
20 class ParameterItem;
21 class FitParameterItem;
24 
25 //! Convenience static methods to handle various fitting items in given JobItem.
26 
27 namespace FitParameterHelper {
28 
29 //! Returns ParameterItem corresponding to given link.
30 
31 ParameterItem* getParameterItem(FitParameterContainerItem* container, const QString& link);
32 
33 } // namespace FitParameterHelper
34 
35 #endif // BORNAGAIN_GUI_MODEL_MODEL_FITPARAMETERHELPER_H
The FitParameterContainerItem class is a collection of all defined fit parameters in JobItem.
FitParameterItems is a collection of items to define fit parameters in GUI.
The ParameterContainerItem is a top item to hold all ParameterItem, represents an entry point to para...
The ParameterItem class represent a tuning value in a parameter tuning tree.
Convenience static methods to handle various fitting items in given JobItem.
ParameterItem * getParameterItem(FitParameterContainerItem *container, const QString &link)
Returns ParameterItem corresponding to given link.