forked from npshub/mantid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AffineMatrixParameterParser.h
39 lines (36 loc) · 1.42 KB
/
AffineMatrixParameterParser.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source,
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
// SPDX - License - Identifier: GPL - 3.0 +
#pragma once
#include "MantidAPI/ImplicitFunctionParameterParser.h"
#include "MantidDataObjects/AffineMatrixParameter.h"
#include "MantidKernel/System.h"
namespace Mantid {
namespace DataObjects {
/** Parser for a parameter of type affinematrixparameter
*
* @author Owen Arnold
* @date 20/07/2011
*/
class DLLExport AffineMatrixParameterParser : public Mantid::API::ImplicitFunctionParameterParser {
public:
/// Constructor
AffineMatrixParameterParser();
/** Creates the parameter by reading the xml given.
* @param parameterElement : xml element to parser from.
* @return Fully constructed AffineMatrixParameter.
*/
AffineMatrixParameter *createParameter(Poco::XML::Element *parameterElement) override;
/// Set a successor parser for chain-of-responsibility type reading.
void setSuccessorParser(ImplicitFunctionParameterParser *) override;
private:
/// Assignment operator
AffineMatrixParameterParser &operator=(const AffineMatrixParameterParser &);
/// Copy constructor
AffineMatrixParameterParser(const AffineMatrixParameterParser &);
};
} // namespace DataObjects
} // namespace Mantid