BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
DataItemUtils.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/coregui/Models/DataItemUtils.h
6 //! @brief Defines namespace DataItemUtils
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_COREGUI_MODELS_DATAITEMUTILS_H
16 #define BORNAGAIN_GUI_COREGUI_MODELS_DATAITEMUTILS_H
17 
18 class IntensityDataItem;
19 class SessionItem;
20 class SpecularDataItem;
21 
22 //! Utility functions for Intensity and Specular DataItems
23 
24 namespace DataItemUtils {
25 //! Returns IntensityDataItem contained as a child in givent parent.
27 
28 //! Returns SpecularDataItem contained as a child in givent parent.
30 } // namespace DataItemUtils
31 
32 #endif // BORNAGAIN_GUI_COREGUI_MODELS_DATAITEMUTILS_H
Utility functions for Intensity and Specular DataItems.
Definition: DataItemUtils.h:24
SpecularDataItem * specularDataItem(SessionItem *parent)
Returns SpecularDataItem contained as a child in givent parent.
IntensityDataItem * intensityDataItem(SessionItem *parent)
Returns IntensityDataItem contained as a child in givent parent.