25 const auto defaultProperties = loader->
serialize();
58 createAutomaticDataLoader1D);
Defines class AutomaticDataLoader1D.
void cloneAsUserDefinedLoader(AbstractDataLoader1D *loader, const QString &name)
clones the loader as a user defined loader and puts it in DataLoaders1D store
void register1DDataLoaders()
register the concrete data loaders with the registration facility
Utility functions for data loaders.
Defines class DataLoaders1D.
Defines class QREDataLoader.
Defines class UserDefinedDataLoader1D.
Abstract base class for reflectometry data loaders.
virtual QByteArray serialize() const
Returns every internal setting so it can be restored completely.
virtual void applyImportSettings()
Read all values from the properties UI into the internal variables.
virtual AbstractDataLoader * clone() const =0
Create a complete clone, including all internal states.
The legacy importer for reflectometry, with no user interaction.
void addBuiltInLoader(const QString &persistentClassName, const std::function< AbstractDataLoader1D *()> &create)
Register a built-in loader with the given class name and factory function.
void addUserDefinedLoader(AbstractDataLoader1D *loader)
add a user defined loader
static DataLoaders1D & instance()
The one and only instance.
Loader for experimental reflectometry CSV files that contain three columns with Q,...
A user defined data loader. This is a thin wrapper around the real loader implementation,...
QString const & name(EShape k)