BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Validates whether MultiLayerItem is suitable for simulation.
Definition at line 25 of file SampleValidator.h.
Public Member Functions | |
QString | getValidationMessage () const |
bool | isValidMultiLayer (const MultiLayerItem *sample) |
Private Member Functions | |
void | addMessage (const QString &m) |
Adds this message to the report. More... | |
void | validateInterferences (const LayerItem *item) |
void | validateItem (const ItemWithParticles *item) |
Private Attributes | |
QString | m_messages |
|
private |
Adds this message to the report.
Definition at line 59 of file SampleValidator.cpp.
References m_messages.
Referenced by isValidMultiLayer(), validateInterferences(), and validateItem().
|
inline |
Definition at line 29 of file SampleValidator.h.
References m_messages.
Referenced by SimulationView::validateSimulationSetup().
bool SampleValidator::isValidMultiLayer | ( | const MultiLayerItem * | sample | ) |
Definition at line 64 of file SampleValidator.cpp.
References addMessage(), MultiLayerItem::layers(), m_messages, validateInterferences(), and validateItem().
Referenced by SimulationView::validateSimulationSetup().
|
private |
Definition at line 36 of file SampleValidator.cpp.
References addMessage(), LayerItem::layerName(), and LayerItem::layouts().
Referenced by isValidMultiLayer().
|
private |
Definition at line 24 of file SampleValidator.cpp.
References addMessage().
Referenced by isValidMultiLayer().
|
private |
Definition at line 39 of file SampleValidator.h.
Referenced by addMessage(), getValidationMessage(), and isValidMultiLayer().