11#include "MantidDataHandling/DllConfig.h"
15namespace DataHandling {
26 const std::string
name()
const override {
return "Load"; }
28 const std::string
summary()
const override {
29 return "Attempts to load a given file by finding an appropriate Load "
34 int version()
const override {
return 1; }
35 const std::vector<std::string>
seeAlso()
const override {
return {
"LoadNexus",
"LoadRaw",
"LoadBBY"}; }
38 const std::string
category()
const override {
return "DataHandling"; }
40 const std::string
alias()
const override {
return "load"; }
42 void setPropertyValue(
const std::string &name,
const std::string &
value)
override;
45 Parallel::ExecutionMode
46 getParallelExecutionMode(
const std::map<std::string, Parallel::StorageMode> &storageModes)
const override;
62 void loadSingleFile();
64 void loadMultipleFiles();
67 void cancel()
override;
69 API::IAlgorithm_sptr createLoader(
const double startProgress = -1.0,
const double endProgress = -1.0,
70 const bool logging =
true)
const;
73 const double endProgress = -1.0,
const bool logging =
true)
const;
double value
The value of the point.
Base class from which all concrete algorithm classes should be derived.
Loads a workspace from a data file.
const std::string summary() const override
Summary of algorithms purpose.
API::IAlgorithm_sptr m_loader
The actual loader.
static std::recursive_mutex m_mutex
Mutex for temporary fix for #5963.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
const std::string alias() const override
Aliases.
std::string m_filenamePropName
The name of the property that will be passed the property from our Filename.
const std::string category() const override
Category.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
int version() const override
Algorithm's version for identification overriding a virtual method.
std::unordered_set< std::string > m_baseProps
The base properties.
std::shared_ptr< IAlgorithm > IAlgorithm_sptr
shared pointer to Mantid::API::IAlgorithm
std::shared_ptr< WorkspaceGroup > WorkspaceGroup_sptr
shared pointer to Mantid::API::WorkspaceGroup
std::shared_ptr< Workspace > Workspace_sptr
shared pointer to Mantid::API::Workspace
Helper class which provides the Collimation Length for SANS instruments.