29 boost::python::object
const &defaultValue,
30 boost::python::object
const &validator,
31 const unsigned int direction)
const {
32 using boost::python::extract;
35 std::unique_ptr<Kernel::Property> valueProp;
37 valueProp = std::make_unique<PythonObjectProperty>(
name, defaultValue, direction);
39 const IValidator *propValidator = extract<IValidator *>(validator);
40 valueProp = std::make_unique<PythonObjectProperty>(
name, defaultValue, propValidator->
clone(), direction);
std::unique_ptr< Kernel::Property > create(std::string const &name, boost::python::object const &defaultValue, boost::python::object const &validator, unsigned int const direction) const override
Call to create a named property where the value is some container type.