Mantid
Loading...
Searching...
No Matches
ConfiguredAlgorithm.cpp
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2021 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 +
10
11namespace MantidQt::API {
12
14 std::unique_ptr<Mantid::API::IAlgorithmRuntimeProps> properties,
15 bool const validatePropsPreExec)
16 : m_algorithm(std::move(algorithm)), m_properties(std::move(properties)),
17 m_validatePropsPreExec(validatePropsPreExec) {}
18
20
24
26
27} // namespace MantidQt::API
Mantid::API::IAlgorithm_sptr algorithm() const override
Mantid::API::IAlgorithm_sptr m_algorithm
ConfiguredAlgorithm(Mantid::API::IAlgorithm_sptr algorithm, std::unique_ptr< Mantid::API::IAlgorithmRuntimeProps > properties, bool const validatePropsPreExec=true)
bool validatePropsPreExec() const noexcept override
const Mantid::API::IAlgorithmRuntimeProps & getAlgorithmRuntimeProps() const noexcept override
std::unique_ptr< Mantid::API::IAlgorithmRuntimeProps > m_properties
std::shared_ptr< IAlgorithm > IAlgorithm_sptr
shared pointer to Mantid::API::IAlgorithm
STL namespace.