15 #ifndef BORNAGAIN_GUI_VIEW_IMPORT_IMPORTDATAUTILS_H
16 #define BORNAGAIN_GUI_VIEW_IMPORT_IMPORTDATAUTILS_H
18 #include "Device/IO/IOFactory.h"
32 std::unique_ptr<Datafield>
Import2dData(
const QString& fileName, IOFactory::LoaderSelector loader);
Abstract base class for all data loaders (classes to import real data).
Abstract base class for instrument-specific item classes.
Provides access to experimental data, for display and fitting. Owns an AbstractDataLoader.
Provides utility methods to import data files.
QString Import1dData(RealDataItem *realDataItem, const AbstractDataLoader *selectedLoader)
Imports 1D data into the given item.
std::unique_ptr< Datafield > Import2dData(const QString &fileName, IOFactory::LoaderSelector loader)
Imports 2D data, stores them as Datafield, and returns owning pointer.