BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
toymodel.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/tests/libtestmachinery/toymodel.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_TESTS_LIBTESTMACHINERY_TOYMODEL_H
16
#define BORNAGAIN_MVVM_TESTS_LIBTESTMACHINERY_TOYMODEL_H
17
18
#include "
mvvm/model/itempool.h
"
19
#include "
mvvm/model/sessionmodel.h
"
20
21
//! Collection of toy items and models for testing purposes.
22
23
namespace
ToyItems
{
24
25
class
SampleModel
:
public
ModelView::SessionModel
{
26
public
:
27
SampleModel
();
28
SampleModel
(std::shared_ptr<ModelView::ItemPool> pool);
29
};
30
31
}
// namespace ToyItems
32
33
#endif
// BORNAGAIN_MVVM_TESTS_LIBTESTMACHINERY_TOYMODEL_H
ModelView::SessionModel
Main class to hold hierarchy of SessionItem objects.
Definition:
sessionmodel.h:37
ToyItems::SampleModel
Definition:
toymodel.h:25
ToyItems::SampleModel::SampleModel
SampleModel()
Definition:
toymodel.cpp:35
itempool.h
Defines class CLASS?
ToyItems
Collection of toy items and models for testing purposes.
Definition:
toyitems.h:26
sessionmodel.h
Defines class CLASS?
mvvm
tests
libtestmachinery
toymodel.h
Generated by
1.9.1