Mantid
Loading...
Searching...
No Matches
InvalidParameter.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//----------------------------------------------------------------------
13#include "MantidMDAlgorithms/DllConfig.h"
14#include <vector>
15
16namespace Mantid {
17namespace MDAlgorithms {
24class MANTID_MDALGORITHMS_DLL InvalidParameter : public Mantid::API::ImplicitFunctionParameter {
25private:
26 std::string m_value;
27
28public:
30
31 InvalidParameter(std::string value);
32
33 std::string getName() const override;
34
35 std::string getValue() const;
36
37 bool isValid() const override;
38
39 Mantid::MDAlgorithms::InvalidParameter *clone() const override;
40
41 std::string toXMLString() const override;
42
43 static std::string parameterName() { return "InvalidParameter"; }
44};
45} // namespace MDAlgorithms
46} // namespace Mantid
double value
The value of the point.
Definition: FitMW.cpp:51
std::string getName(const IMDDimension &self)
Abstract parameter type for use with IImplicitFunctions.
Helper class which provides the Collimation Length for SANS instruments.