15 #ifndef BORNAGAIN_GUI_SUPPORT_IO_IMPORTDATAINFO_H
16 #define BORNAGAIN_GUI_SUPPORT_IO_IMPORTDATAINFO_H
18 #include "Device/Coord/Tags.h"
30 ImportDataInfo(std::unique_ptr<Datafield> data,
const QString& units);
35 operator bool()
const;
37 std::unique_ptr<Datafield>
clonedData() const&;
44 QString
axisLabel(
size_t axis_index) const;
@ other
The unit has no enum value defined in here (e.g. when defined as an explicit string)
Carries information about loaded data.
size_t dataRank() const
Returns number of dimensions.
QString unitsLabel() const
std::unique_ptr< Datafield > clonedData() const &
QString axisLabel(size_t axis_index) const
std::unique_ptr< Datafield > m_data
ImportDataInfo(std::unique_ptr< Datafield > data, Coords units)
std::unique_ptr< Datafield > intensityData() &&