|
| bool | load (handle src, bool convert) |
| |
| | operator type * () |
| |
| | operator type & () |
| |
| | operator holder_type * () |
| |
| | operator holder_type & () |
| |
| bool | load (handle src, bool convert) |
| |
| | operator type * () |
| |
| | operator type & () |
| |
| | operator holder_type * () |
| |
| | operator holder_type & () |
| |
| | type_caster_base () |
| |
| | type_caster_base (const std::type_info &info) |
| |
| | operator itype * () |
| |
| | operator itype & () |
| |
| | type_caster_base () |
| |
| | type_caster_base (const std::type_info &info) |
| |
| | operator itype * () |
| |
| | operator itype & () |
| |
| PYBIND11_NOINLINE | type_caster_generic (const std::type_info &type_info) |
| |
| | type_caster_generic (const type_info *typeinfo) |
| |
| bool | load (handle src, bool convert) |
| |
| void | load_value (value_and_holder &&v_h) |
| |
| bool | try_implicit_casts (handle src, bool convert) |
| |
| bool | try_direct_conversions (handle src) |
| |
| void | check_holder_compat () |
| |
| PYBIND11_NOINLINE bool | try_load_foreign_module_local (handle src) |
| | Try to load with foreign typeinfo, if available. More...
|
| |
| template<typename ThisT > |
| PYBIND11_NOINLINE bool | load_impl (handle src, bool convert) |
| |
| PYBIND11_NOINLINE | type_caster_generic (const std::type_info &type_info) |
| |
| | type_caster_generic (const type_info *typeinfo) |
| |
| bool | load (handle src, bool convert) |
| |
| void | load_value (value_and_holder &&v_h) |
| |
| bool | try_implicit_casts (handle src, bool convert) |
| |
| bool | try_direct_conversions (handle src) |
| |
| void | check_holder_compat () |
| |
| PYBIND11_NOINLINE bool | try_load_foreign_module_local (handle src) |
| | Try to load with foreign typeinfo, if available. More...
|
| |
| template<typename ThisT > |
| PYBIND11_NOINLINE bool | load_impl (handle src, bool convert) |
| |
|
| static handle | cast (const holder_type &src, return_value_policy, handle) |
| |
| static handle | cast (const holder_type &src, return_value_policy, handle) |
| |
| static handle | cast (const itype &src, return_value_policy policy, handle parent) |
| |
| static handle | cast (itype &&src, return_value_policy, handle parent) |
| |
| static handle | cast (const itype *src, return_value_policy policy, handle parent) |
| |
| static handle | cast (const itype &src, return_value_policy policy, handle parent) |
| |
| static handle | cast (itype &&src, return_value_policy, handle parent) |
| |
| static handle | cast (const itype *src, return_value_policy policy, handle parent) |
| |
| static handle | cast (const itype &src, return_value_policy policy, handle parent) |
| |
| static handle | cast (itype &&src, return_value_policy, handle parent) |
| |
| static handle | cast (const itype *src, return_value_policy policy, handle parent) |
| |
| static handle | cast (const itype &src, return_value_policy policy, handle parent) |
| |
| static handle | cast (itype &&src, return_value_policy, handle parent) |
| |
| static handle | cast (const itype *src, return_value_policy policy, handle parent) |
| |
| static handle | cast (const itype &src, return_value_policy policy, handle parent) |
| |
| static handle | cast (itype &&src, return_value_policy, handle parent) |
| |
| static std::pair< const void *, const type_info * > | src_and_type (const itype *src) |
| |
| static handle | cast (const itype *src, return_value_policy policy, handle parent) |
| |
| static handle | cast_holder (const itype *src, const void *holder) |
| |
| static handle | cast (const itype &src, return_value_policy policy, handle parent) |
| |
| static handle | cast (itype &&src, return_value_policy, handle parent) |
| |
| static std::pair< const void *, const type_info * > | src_and_type (const itype *src) |
| |
| static handle | cast (const itype *src, return_value_policy policy, handle parent) |
| |
| static handle | cast_holder (const itype *src, const void *holder) |
| |
| static PYBIND11_NOINLINE handle | cast (const void *_src, return_value_policy policy, handle parent, const detail::type_info *tinfo, void *(*copy_constructor)(const void *), void *(*move_constructor)(const void *), const void *existing_holder=nullptr) |
| |
| static PYBIND11_NOINLINE void * | local_load (PyObject *src, const type_info *ti) |
| |
| static PYBIND11_NOINLINE std::pair< const void *, const type_info * > | src_and_type (const void *src, const std::type_info &cast_type, const std::type_info *rtti_type=nullptr) |
| |
| static PYBIND11_NOINLINE handle | cast (const void *_src, return_value_policy policy, handle parent, const detail::type_info *tinfo, void *(*copy_constructor)(const void *), void *(*move_constructor)(const void *), const void *existing_holder=nullptr) |
| |
| static PYBIND11_NOINLINE void * | local_load (PyObject *src, const type_info *ti) |
| |
| static PYBIND11_NOINLINE std::pair< const void *, const type_info * > | src_and_type (const void *src, const std::type_info &cast_type, const std::type_info *rtti_type=nullptr) |
| |
|
| void | check_holder_compat () |
| |
| bool | load_value (value_and_holder &&v_h) |
| |
| template<typename T = holder_type, detail::enable_if_t<!std::is_constructible< T, const T &, type * >::value, int > = 0> |
| bool | try_implicit_casts (handle, bool) |
| |
| template<typename T = holder_type, detail::enable_if_t< std::is_constructible< T, const T &, type * >::value, int > = 0> |
| bool | try_implicit_casts (handle src, bool convert) |
| |
| void | check_holder_compat () |
| |
| bool | load_value (value_and_holder &&v_h) |
| |
| template<typename T = holder_type, detail::enable_if_t<!std::is_constructible< T, const T &, type * >::value, int > = 0> |
| bool | try_implicit_casts (handle, bool) |
| |
| template<typename T = holder_type, detail::enable_if_t< std::is_constructible< T, const T &, type * >::value, int > = 0> |
| bool | try_implicit_casts (handle src, bool convert) |
| |
template<typename
type, typename holder_type, typename SFINAE = void>
struct copyable_holder_caster< type, holder_type, SFINAE >
Type caster for holder types like std::shared_ptr, etc.
The SFINAE hook is provided to help work around the current lack of support for smart-pointer interoperability. Please consider it an implementation detail that may change in the future, as formal support for smart-pointer interoperability is added into pybind11.
Definition at line 750 of file cast.h.