Defines class AbstractDataLoader1D.
Defines class DataLoaders1D.
Abstract base class for reflectometry data loaders.
Collection of all available data loaders for 1D files.
QVector< AbstractDataLoader1D * > m_userDefinedLoaders
QVector< AbstractDataLoader1D * > m_builtInLoaders
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
QVector< AbstractDataLoader1D * > recentlyUsedLoaders() const
The last 10 recently used loaders.
std::map< QString, std::function< AbstractDataLoader1D *()> > m_createLoaders
static DataLoaders1D & instance()
The one and only instance.
QVector< AbstractDataLoader1D * > loaders() const
all defined loaders. A null element in the list defines a separator The returned pointers are the sam...
AbstractDataLoader1D * createFromPersistentName(const QString &persistentClassName)
Notify loader was recently used.
QVector< AbstractDataLoader1D * > m_recentlyUsedLoaders
QString const & name(EShape k)