BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
GroupInfoCatalog.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/coregui/Models/GroupInfoCatalog.h
6 //! @brief Defines class GroupInfoCatalog
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_GROUPINFOCATALOG_H
16 #define BORNAGAIN_GUI_COREGUI_MODELS_GROUPINFOCATALOG_H
17 
19 
20 //! Catalog to hold info for GroupProperty creation.
21 
23 public:
25 
26  GroupInfo groupInfo(const QString& groupType) const;
27 
28  bool containsGroup(const QString& groupType) const;
29 
30 private:
31  void addInfo(const GroupInfo& info);
32  QVector<GroupInfo> m_groups;
33 };
34 
35 #endif // BORNAGAIN_GUI_COREGUI_MODELS_GROUPINFOCATALOG_H
Defines class GroupInfo.
Catalog to hold info for GroupProperty creation.
GroupInfo groupInfo(const QString &groupType) const
QVector< GroupInfo > m_groups
void addInfo(const GroupInfo &info)
bool containsGroup(const QString &groupType) const
Defines info for GroupProperty, i.e.
Definition: GroupInfo.h:25