Mantid
Loading...
Searching...
No Matches
MatrixProperty.cpp
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 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 +
9
10// PropertyWithValue implementation
12#include "MantidKernel/PropertyWithValue.tcc"
13
14namespace Mantid::Kernel {
22template <typename TYPE>
23MatrixProperty<TYPE>::MatrixProperty(const std::string &propName, const IValidator_sptr &validator,
24 unsigned int direction)
25 : PropertyWithValue<HeldType>(propName, HeldType(), validator, direction) {}
26
31template <typename TYPE>
33
35template <typename TYPE> MatrixProperty<TYPE>::~MatrixProperty() = default;
36
38// Symbol definitions
39template class MANTID_KERNEL_DLL MatrixProperty<double>;
40template class MANTID_KERNEL_DLL MatrixProperty<int>;
41template class MANTID_KERNEL_DLL MatrixProperty<float>;
43} // namespace Mantid::Kernel
44
46
const std::vector< double > & rhs
#define DEFINE_IPROPERTYMANAGER_GETVALUE(type)
A macro for defining getValue functions for new types.
MatrixProperty()
Default constructor.
~MatrixProperty() override
Destructor.
Numerical Matrix class.
Definition: Matrix.h:42
The concrete, templated class for properties.
std::shared_ptr< IValidator > IValidator_sptr
A shared_ptr to an IValidator.
Definition: IValidator.h:26