9#include <boost/python/class.hpp>
21 using HeldType = std::shared_ptr<IFunction>;
24 class_<FunctionProperty, bases<PropertyWithValue<HeldType>>, boost::noncopyable>(
"FunctionProperty", no_init)
26 init<const std::string &, const unsigned int>((arg(
"self"), arg(
"name"), arg(
"direction") =
Direction::Input),
27 "Constructs a FunctionProperty with the given name"));
void export_FunctionProperty()
A property class for functions.
This is an interface to a fitting function - a semi-abstarct class.
The concrete, templated class for properties.
Describes the direction (within an algorithm) of a Property.
@ Input
An input workspace.
A helper struct to export PropertyWithValue<> types to Python.
static void define(const char *pythonClassName)