|
BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Carries information about loaded data. More...
Public Member Functions | |
| ImportDataInfo () | |
| ImportDataInfo (ImportDataInfo &&other) | |
| ImportDataInfo (OutputData< double > &&data, Axes::Units units) | |
| ImportDataInfo (std::unique_ptr< OutputData< double >> data, Axes::Units units) | |
| ImportDataInfo (std::unique_ptr< OutputData< double >> data, const QString &units) | |
| ~ImportDataInfo () | |
| QString | axisLabel (size_t axis_index) const |
| size_t | dataRank () const |
| Returns number of dimensions. More... | |
| std::unique_ptr< OutputData< double > > | intensityData () && |
| std::unique_ptr< OutputData< double > > | intensityData () const & |
| operator bool () const | |
| True if the contained data is not nullptr (no info about empty data) More... | |
| QString | unitsLabel () const |
Private Member Functions | |
| void | checkValidity () |
Private Attributes | |
| std::unique_ptr< OutputData< double > > | m_data |
| Axes::Units | m_units |
Carries information about loaded data.
Definition at line 26 of file ImportDataInfo.h.
|
default |
| ImportDataInfo::ImportDataInfo | ( | ImportDataInfo && | other | ) |
Definition at line 38 of file ImportDataInfo.cpp.
| ImportDataInfo::ImportDataInfo | ( | std::unique_ptr< OutputData< double >> | data, |
| Axes::Units | units | ||
| ) |
Definition at line 43 of file ImportDataInfo.cpp.
References checkValidity().
| ImportDataInfo::ImportDataInfo | ( | OutputData< double > && | data, |
| Axes::Units | units | ||
| ) |
Definition at line 58 of file ImportDataInfo.cpp.
| ImportDataInfo::ImportDataInfo | ( | std::unique_ptr< OutputData< double >> | data, |
| const QString & | units | ||
| ) |
Definition at line 52 of file ImportDataInfo.cpp.
References checkValidity().
|
default |
| QString ImportDataInfo::axisLabel | ( | size_t | axis_index | ) | const |
Definition at line 95 of file ImportDataInfo.cpp.
References AxisNames::InitSpecAxis(), m_data, and m_units.
Referenced by IntensityDataItem::reset(), and SpecularDataItem::reset().
|
private |
Definition at line 113 of file ImportDataInfo.cpp.
References m_data, and m_units.
Referenced by ImportDataInfo().
| size_t ImportDataInfo::dataRank | ( | ) | const |
Returns number of dimensions.
Definition at line 83 of file ImportDataInfo.cpp.
References m_data.
Referenced by RealDataItem::setImportData().
| std::unique_ptr< OutputData< double > > ImportDataInfo::intensityData | ( | ) | && |
Definition at line 78 of file ImportDataInfo.cpp.
| std::unique_ptr< OutputData< double > > ImportDataInfo::intensityData | ( | ) | const & |
Definition at line 71 of file ImportDataInfo.cpp.
References m_data.
Referenced by RealDataItem::setImportData().
| ImportDataInfo::operator bool | ( | ) | const |
True if the contained data is not nullptr (no info about empty data)
Definition at line 66 of file ImportDataInfo.cpp.
| QString ImportDataInfo::unitsLabel | ( | ) | const |
Definition at line 90 of file ImportDataInfo.cpp.
References m_units, and JobItemUtils::nameFromAxesUnits().
Referenced by IntensityDataItem::reset(), SpecularDataItem::reset(), and RealDataItem::setImportData().
|
private |
Definition at line 51 of file ImportDataInfo.h.
Referenced by axisLabel(), checkValidity(), dataRank(), and intensityData().
|
private |
Definition at line 52 of file ImportDataInfo.h.
Referenced by axisLabel(), checkValidity(), and unitsLabel().