Developer Documentation
|
Public Member Functions | |
PYBIND11_TYPE_CASTER (Vector, _("Vector")) | |
bool | load (handle src, bool convert) |
Static Public Member Functions | |
static handle | cast (Vector src, return_value_policy, handle parent) |
Definition at line 117 of file PythonTypeConversions.hh.
|
inlinestatic |
Conversion part 2 (C++ -> Python): convert an Vector instance into a Python object. The second and third arguments are used to indicate the return value policy and parent object (for return_value_policy::reference_internal
) and are generally ignored by implicit casters.
Definition at line 203 of file PythonTypeConversions.hh.
|
inline |
Conversion part 1 (Python->C++): convert a PyObject into a Vector instance or return false upon failure. The second argument indicates whether implicit conversions should be applied.
Definition at line 131 of file PythonTypeConversions.hh.
This macro establishes the name 'str' in function signatures and declares a local variable 'value' of type QVariant