BornAgain  1.19.79
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/View/Tool/DataItemUtils.h
6 //! @brief Defines functions in namespace GUI::Model::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_VIEW_TOOL_DATAITEMUTILS_H
16 #define BORNAGAIN_GUI_VIEW_TOOL_DATAITEMUTILS_H
17 
18 class IntensityDataItem;
19 class SessionItem;
20 class SpecularDataItem;
21 
22 //! Utility functions for Intensity and Specular DataItems
23 
25 
26 //! Returns IntensityDataItem contained as a child in givent parent.
28 
29 //! Returns SpecularDataItem contained as a child in givent parent.
31 
32 } // namespace GUI::Model::DataItemUtils
33 
34 #endif // BORNAGAIN_GUI_VIEW_TOOL_DATAITEMUTILS_H
Base class for a GUI data item.
Definition: SessionItem.h:204
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.