Mantid
Loading...
Searching...
No Matches
PatchBBY.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2010 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
9//---------------------------------------------------
10// Includes
11//---------------------------------------------------
12
13#include "LoadANSTOHelper.h"
15#include "MantidDataHandling/DllConfig.h"
19
20namespace Mantid {
21namespace DataHandling {
22/*
23Patches a Bilby data file. Implements API::Algorithm and its file check methods
24to recognise a file as the one containing Bilby data.
25
26@author David Mannicke (ANSTO), Anders Markvardsen (ISIS), Roman Tolchenov
27(Tessella plc)
28@date 22/01/2016
29*/
30
31class MANTID_DATAHANDLING_DLL PatchBBY final : public API::Algorithm {
32public:
33 // description
34 int version() const override { return 1; }
35 const std::vector<std::string> seeAlso() const override { return {"LoadBBY"}; }
36 const std::string name() const override { return "PatchBBY"; }
37 const std::string category() const override { return "DataHandling\\ANSTO"; }
38 const std::string summary() const override { return "Patches a BilBy data file."; }
39
40protected:
41 // initialisation
42 void init() override;
43 // execution
44 void exec() override;
45};
46
47} // namespace DataHandling
48} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
const std::string category() const override
function to return a category of the algorithm.
Definition: PatchBBY.h:37
const std::string name() const override
function to return a name of the algorithm, must be overridden in all algorithms
Definition: PatchBBY.h:36
int version() const override
function to return a version of the algorithm, must be overridden in all algorithms
Definition: PatchBBY.h:34
const std::string summary() const override
function returns a summary message that will be displayed in the default GUI, and in the help.
Definition: PatchBBY.h:38
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
Definition: PatchBBY.h:35
Helper class which provides the Collimation Length for SANS instruments.