Struct ToOptionalConverter

Struct Documentation

struct ToOptionalConverter

Public Functions

template<typename OptionalT>
inline ToOptionalConverter &fromPython()

Note

Registers converter from a python interable type to the provided type.

Public Static Functions

static inline void *convertible(PyObject *object)

Check PyObject.

template<typename OptionalT>
static inline void construct(PyObject *object, boost::python::converter::rvalue_from_python_stage1_data *data)

Convert PyObject to C++ type.