BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
modelconverterfactory.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/factories/modelconverterfactory.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_FACTORIES_MODELCONVERTERFACTORY_H
16 #define BORNAGAIN_MVVM_MODEL_MVVM_FACTORIES_MODELCONVERTERFACTORY_H
17 
18 //! @file mvvm/model/mvvm/factories/modelconverterfactory.h
19 //! Collection of factory functions to create SessionModel converters to/from serialized content.
20 
22 #include <memory>
23 
24 namespace ModelView {
25 
26 //! Creates a JSON model converter intended for model cloning.
27 MVVM_MODEL_EXPORT std::unique_ptr<JsonModelConverterInterface> CreateModelCloneConverter();
28 
29 //! Creates a JSON model converter intended for model copying.
30 MVVM_MODEL_EXPORT std::unique_ptr<JsonModelConverterInterface> CreateModelCopyConverter();
31 
32 //! Creates a JSON model converter intended for save/load of the project on disk.
33 MVVM_MODEL_EXPORT std::unique_ptr<JsonModelConverterInterface> CreateModelProjectConverter();
34 
35 } // namespace ModelView
36 
37 #endif // BORNAGAIN_MVVM_MODEL_MVVM_FACTORIES_MODELCONVERTERFACTORY_H
Defines class CLASS?
materialitems.h Collection of materials to populate MaterialModel.
MVVM_MODEL_EXPORT std::unique_ptr< JsonModelConverterInterface > CreateModelCopyConverter()
Creates a JSON model converter intended for model copying.
MVVM_MODEL_EXPORT std::unique_ptr< JsonModelConverterInterface > CreateModelProjectConverter()
Creates a JSON model converter intended for save/load of the project on disk.
MVVM_MODEL_EXPORT std::unique_ptr< JsonModelConverterInterface > CreateModelCloneConverter()
Creates a JSON model converter intended for model cloning.