Mantid
Loading...
Searching...
No Matches
NullValidator.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
10
11namespace Mantid {
12namespace Kernel {
20class MANTID_KERNEL_DLL NullValidator final : public IValidator {
21public:
22 IValidator_sptr clone() const override;
23
24private:
25 std::string check(const boost::any &) const override;
26};
27
28} // namespace Kernel
29} // namespace Mantid
IValidator is the basic interface for all validators for properties.
Definition: IValidator.h:43
NullValidator is a validator that doesn't.
Definition: NullValidator.h:20
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.