18#include <boost/python/object.hpp>
28#if !defined(__APPLE__) && !(defined(__linux__) && defined(__clang__))
65 unsigned int const direction = Direction::Input)
74 unsigned int const direction = Direction::Input)
84 unsigned int const direction = Direction::Input)
104 unsigned int const direction = Direction::Input)
114 using BaseClass::operator=;
116 std::string getDefault()
const override;
118 std::string setValue(std::string
const &
value)
override;
119 std::string setValueFromJson(Json::Value
const &
value)
override;
120 std::string setDataItem(std::shared_ptr<Kernel::DataItem>
const &
value)
override;
121 bool isDefault()
const override;
double value
The value of the point.
double obj
the value of the quadratic function
NullValidator is a validator that doesn't.
The concrete, templated class for properties.
PythonObjectProperty(std::string const &name, PythonObject const &defaultValue, unsigned int const direction=Direction::Input)
Constructor that's useful for output properties or inputs with non-None default and no validator.
PythonObjectProperty(std::string const &name, std::string const &strvalue, IValidator_sptr const &validator=std::make_shared< NullValidator >(), unsigned int const direction=Direction::Input)
Constructor from which you can set the property's values through a string:
PythonObjectProperty(std::string const &name, PythonObject const &defaultValue, IValidator_sptr const &validator=std::make_shared< NullValidator >(), unsigned int const direction=Direction::Input)
Constructor.
PythonObjectProperty()=delete
No default constructor.
PythonObjectProperty(PythonObjectProperty const &other)
Copy constructor.
PythonObjectProperty * clone() const override
This is required by Property interface.
PythonObjectProperty(std::string const &name, unsigned int const direction=Direction::Input)
Constructor that's useful for output properties or inputs with default value None and no validator.
PythonObjectProperty(std::string const &name, IValidator_sptr const &validator, unsigned int const direction=Direction::Input)
Constructor Will lead to the property having default value of None.
#define MANTID_PYTHONINTERFACE_CORE_DLL
boost::python::object PythonObject
std::shared_ptr< IValidator > IValidator_sptr
A shared_ptr to an IValidator.
Describes the direction (within an algorithm) of a Property.