BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
comparators.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // qt-mvvm: Model-view-view-model framework for large GUI applications
4 //
5 //! @file mvvm/model/mvvm/model/comparators.h
6 //! @brief Defines class CLASS?
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2020
11 //! @authors Gennady Pospelov et al, Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_MVVM_MODEL_MVVM_MODEL_COMPARATORS_H
16 #define BORNAGAIN_MVVM_MODEL_MVVM_MODEL_COMPARATORS_H
17 
18 #include "mvvm/model_export.h"
19 
20 namespace ModelView {
21 
22 //! Helper class to register variant comparators.
23 
24 class MVVM_MODEL_EXPORT Comparators {
25 public:
26  static void registerComparators();
27  static bool registered();
28 
29 private:
30  static bool m_is_registered;
31 };
32 
33 } // namespace ModelView
34 
35 #endif // BORNAGAIN_MVVM_MODEL_MVVM_MODEL_COMPARATORS_H
Helper class to register variant comparators.
Definition: comparators.h:24
static bool m_is_registered
Definition: comparators.h:30
materialitems.h Collection of materials to populate MaterialModel.