10#include <boost/python/object.hpp>
18class IPropertyManager;
21namespace PythonInterface {
35 const boost::python::object &
value)
const = 0;
37 virtual std::unique_ptr<Kernel::Property>
create(
const std::string &name,
const boost::python::object &
value,
38 const boost::python::object &validator,
39 const unsigned int direction)
const = 0;
double value
The value of the point.
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
Interface to PropertyManager.
Helper class which provides the Collimation Length for SANS instruments.
This class provides a base-class objects that are able to take a python object and set it on an algor...
virtual void set(Kernel::IPropertyManager *alg, const std::string &name, const boost::python::object &value) const =0
Overload to set the named property's value on the property manager.
virtual ~PropertyValueHandler()=default
Virtual Destructor.
virtual std::unique_ptr< Kernel::Property > create(const std::string &name, const boost::python::object &value, const boost::python::object &validator, const unsigned int direction) const =0
Overload to create a Property type from the given value with no validation.