#include "MantidAPI/ImplicitFunctionParameter.h"
#include "MantidKernel/System.h"
#include <boost/algorithm/string.hpp>
#include <boost/format.hpp>
Go to the source code of this file.
|
namespace | Mantid |
| Helper class which provides the Collimation Length for SANS instruments.
|
|
namespace | Mantid::API |
|
◆ DECLARE_SINGLE_VALUE_PARAMETER
#define DECLARE_SINGLE_VALUE_PARAMETER |
( |
|
classname, |
|
|
|
type_ |
|
) |
| |
Value:
public: \
static std::string parameterName() { return #classname; } \
classname() : SuperType() {} \
std::string
getName()
const override {
return #classname; } \
classname *
clone()
const override {
return new classname(
m_value); } \
};
const std::string & m_value
double value
The value of the point.
virtual std::string getName() const =0
virtual ImplicitFunctionParameter * clone() const =0
SingleValueParameter is a templated base class implementing CRTP.
Definition at line 142 of file SingleValueParameter.h.