Mantid
Loading...
Searching...
No Matches
DateValidator.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2010 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
14namespace Mantid {
15namespace Kernel {
26class MANTID_KERNEL_DLL DateValidator : public TypedValidator<std::string> {
27public:
29 IValidator_sptr clone() const override;
30
31private:
33 std::string checkValidity(const std::string &value) const override;
34};
35} // namespace Kernel
36} // namespace Mantid
double value
The value of the point.
Definition: FitMW.cpp:51
DateValidator is a validator that validates date, format of valid date is "DD/MM/YYYY" At present,...
Definition: DateValidator.h:26
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.