Mantid
Loading...
Searching...
No Matches
NullValidator.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#include <boost/python/class.hpp>
11#include <boost/python/register_ptr_to_python.hpp>
12
15using namespace boost::python;
16
18
20 register_ptr_to_python<std::shared_ptr<NullValidator>>();
21
22 class_<NullValidator, bases<IValidator>, boost::noncopyable>("NullValidator");
23}
#define GET_POINTER_SPECIALIZATION(TYPE)
Definition: GetPointer.h:17
void export_NullValidator()
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