BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
variant_constants.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/variant_constants.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_VARIANT_CONSTANTS_H
16 #define BORNAGAIN_MVVM_MODEL_MVVM_MODEL_VARIANT_CONSTANTS_H
17 
18 #include <string>
19 
20 //! @file mvvm/model/mvvm/model/variant_constants.h
21 //! Collection of constants with supported variant names.
22 
23 namespace ModelView {
24 namespace Constants {
25 
26 const std::string invalid_type_name = "invalid";
27 const std::string bool_type_name = "bool";
28 const std::string int_type_name = "int";
29 const std::string string_type_name = "std::string";
30 const std::string double_type_name = "double";
31 const std::string vector_double_type_name = "std::vector<double>";
32 const std::string comboproperty_type_name = "ModelView::ComboProperty";
33 const std::string qcolor_type_name = "QColor";
34 const std::string extproperty_type_name = "ModelView::ExternalProperty";
35 const std::string reallimits_type_name = "ModelView::RealLimits";
36 
37 } // namespace Constants
38 
39 } // namespace ModelView
40 
41 #endif // BORNAGAIN_MVVM_MODEL_MVVM_MODEL_VARIANT_CONSTANTS_H
const std::string string_type_name
const std::string bool_type_name
const std::string reallimits_type_name
const std::string comboproperty_type_name
const std::string double_type_name
const std::string extproperty_type_name
const std::string vector_double_type_name
const std::string invalid_type_name
const std::string qcolor_type_name
const std::string int_type_name
materialitems.h Collection of materials to populate MaterialModel.