#include "MantidAPI/ImplicitFunctionParameter.h"
#include <boost/algorithm/string.hpp>
#include <boost/format.hpp>
Go to the source code of this file.
◆ DECLARE_3D_VECTOR_PARAMETER
#define DECLARE_3D_VECTOR_PARAMETER |
( |
|
classname, |
|
|
|
type_ |
|
) |
| |
Value:
public: \
using SuperType = Vector3DParameter<classname, type_> SuperType; \
static std::string parameterName() { return #classname; } \
classname(type_ a, type_ b, type_ c) : SuperType(a, b, c) {} \
classname() : SuperType() {} \
std::string
getName()
const {
return #classname; } \
classname *
clone()
const {
return new classname(m_vector[0], m_vector[1], m_vector[2]); } \
};
virtual std::string getName() const =0
virtual ImplicitFunctionParameter * clone() const =0
Vector3DParameter is abstract type implementing curiously recurring template pattern to implement com...
Definition at line 118 of file Vector3DParameter.h.