Mantid
Loading...
Searching...
No Matches
ArrayOrderedPairsValidator.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2007 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#include "MantidKernel/DllConfig.h"
12#include <string>
13#include <vector>
14
15namespace Mantid {
16namespace Kernel {
23template <typename TYPE> class MANTID_KERNEL_DLL ArrayOrderedPairsValidator : public TypedValidator<std::vector<TYPE>> {
24public:
26 IValidator_sptr clone() const override;
27
28private:
29 std::string checkValidity(const std::vector<TYPE> &value) const override;
30};
31
32} // namespace Kernel
33} // namespace Mantid
double value
The value of the point.
Definition: FitMW.cpp:51
std::shared_ptr< IValidator > IValidator_sptr
A shared_ptr to an IValidator.
Definition: IValidator.h:26
Helper class which provides the Collimation Length for SANS instruments.