Mantid
Loading...
Searching...
No Matches
MultiPeriodGroupAlgorithm.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2012 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
11#include "MantidKernel/System.h"
12#include <boost/scoped_ptr.hpp>
13
14namespace Mantid {
15namespace API {
16
23class MANTID_API_DLL MultiPeriodGroupAlgorithm : public Algorithm {
24public:
26
27private:
29 bool checkGroups() override;
31 bool processGroups() override;
33 virtual std::string fetchInputPropertyName() const = 0;
36 virtual bool useCustomInputPropertyName() const { return false; }
37
43 boost::scoped_ptr<MultiPeriodGroupWorker> m_worker;
44};
45
46} // namespace API
47} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
MutliPeriodGroupAlgorithm : Abstract algorithm.
VecWSGroupType m_multiPeriodGroups
multi period group workspaces.
boost::scoped_ptr< MultiPeriodGroupWorker > m_worker
Multiperiod group worker.
MultiPeriodGroupWorker::VecWSGroupType VecWSGroupType
Convenience typdef for workspace names.
virtual bool useCustomInputPropertyName() const
Method to indicate that a non-standard property is taken as the input, so will be specified via fetch...
virtual std::string fetchInputPropertyName() const =0
Method to provide the name for the input workspace property.
std::vector< WorkspaceGroup_sptr > VecWSGroupType
Convenience typdef for workspace names.
Helper class which provides the Collimation Length for SANS instruments.