15#include <boost/python/class.hpp>
16#include <boost/python/dict.hpp>
18#include <boost/python/default_call_policies.hpp>
19#include <boost/python/make_constructor.hpp>
29 const boost::python::dict &
value,
30 const unsigned int &direction) {
36 using BaseValueType = PropertyManager_sptr;
41 class_<PropertyManagerProperty, bases<BaseClassType>, boost::noncopyable>(
"PropertyManagerProperty", no_init)
42 .def(init<const std::string &, const unsigned int>(
43 (arg(
"self"), arg(
"name"), arg(
"direction") =
Direction::Input),
"Construct an PropertyManagerProperty"))
double value
The value of the point.
PropertyManagerProperty * createPropertyManagerPropertyWithDict(const std::string &name, const boost::python::dict &value, const unsigned int &direction)
void export_PropertyManagerProperty()
PropertyWithValue< PropertyManager_sptr > BaseClass
Defines a handler class for converting a Python mapping type object to a C++ PropertyManager type.
std::shared_ptr< PropertyManager > PropertyManager_sptr
Typedef for a shared pointer to a PropertyManager.
std::shared_ptr< Kernel::PropertyManager > createPropertyManager(const boost::python::dict &mapping)
Create a C++ PropertyMananager from a Python dictionary.
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)