Mantid
Loading...
Searching...
No Matches
UpdateScriptRepository.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#include "MantidAlgorithms/DllConfig.h"
11
12namespace Mantid {
13namespace Algorithms {
14
20class MANTID_ALGORITHMS_DLL UpdateScriptRepository final : public API::Algorithm {
21public:
22 const std::string name() const override;
24 const std::string summary() const override { return "Update the local instance of ScriptRepository."; }
25
26 int version() const override;
27 const std::vector<std::string> seeAlso() const override { return {"DownloadInstrument"}; }
28 const std::string category() const override;
29
30private:
31 void init() override;
32 void exec() override;
33};
34
35} // namespace Algorithms
36} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
UpdateScriptRepository : Check the MantidWeb, for updates of the ScriptRepository.
const std::string summary() const override
Summary of algorithms purpose.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
Helper class which provides the Collimation Length for SANS instruments.