Mantid
Loading...
Searching...
No Matches
ClearCache.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2016 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"
11namespace Mantid {
12namespace Algorithms {
13
16class MANTID_ALGORITHMS_DLL ClearCache final : public API::Algorithm {
17public:
18 const std::string name() const override final;
19 int version() const override final;
20 const std::vector<std::string> seeAlso() const override { return {"CleanFileCache"}; }
21 const std::string category() const override final;
22 const std::string summary() const override final;
23
24private:
25 void init() override final;
26 void exec() override final;
27 int deleteFiles(const std::string &path, const std::string &pattern) const;
28};
29
30} // namespace Algorithms
31} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
ClearCache : TODO: DESCRIPTION.
Definition: ClearCache.h:16
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
Definition: ClearCache.h:20
Helper class which provides the Collimation Length for SANS instruments.
STL namespace.