Mantid
Loading...
Searching...
No Matches
IFileLoader.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2013 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
10
11namespace Mantid {
12namespace API {
13
19template <typename DescriptorType> class MANTID_API_DLL IFileLoader : public ParallelAlgorithm {
20public:
22 virtual int confidence(DescriptorType &descriptor) const = 0;
25 virtual bool loadMutipleAsOne() { return false; }
26};
27
28} // namespace API
29} // namespace Mantid
Defines an interface to an algorithm that loads a file so that it can take part in the automatic sele...
Definition: IFileLoader.h:19
virtual bool loadMutipleAsOne()
Returns a value indicating whether or not loader wants to load multiple files into a single workspace...
Definition: IFileLoader.h:25
virtual int confidence(DescriptorType &descriptor) const =0
Returns a confidence value that this algorithm can load a file.
Base class for algorithms that can run in parallel on all MPI ranks but not in a distributed fashion.
Helper class which provides the Collimation Length for SANS instruments.