|
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) |
|
template<typename ThisT > |
PYBIND11_NOINLINE bool | load_impl (handle src, bool convert) |
|
|
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) |
|
|
const type_info * | typeinfo = nullptr |
|
const std::type_info * | cpptype = nullptr |
|
void * | value = nullptr |
|
Definition at line 487 of file cast.h.
◆ try_load_foreign_module_local()
PYBIND11_NOINLINE bool try_load_foreign_module_local |
( |
handle |
src | ) |
|
|
inline |
Try to load with foreign typeinfo, if available. Used when there is no native typeinfo, or when the native one wasn't able to produce a value.
Definition at line 637 of file cast.h.
References type::handle_of().
The documentation for this class was generated from the following file: