#include <type_caster_base.h>
|
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) |
|
Definition at line 531 of file type_caster_base.h.
◆ type_caster_generic() [1/2]
PYBIND11_NOINLINE type_caster_generic::type_caster_generic |
( |
const std::type_info & |
type_info | ) |
|
|
inlineexplicit |
◆ type_caster_generic() [2/2]
type_caster_generic::type_caster_generic |
( |
const type_info * |
typeinfo | ) |
|
|
inlineexplicit |
◆ cast()
static PYBIND11_NOINLINE handle type_caster_generic::cast |
( |
const void * |
_src, |
|
|
return_value_policy |
policy, |
|
|
handle |
parent, |
|
|
const detail::type_info * |
tinfo, |
|
|
void *(*)(const void *) |
copy_constructor, |
|
|
void *(*)(const void *) |
move_constructor, |
|
|
const void * |
existing_holder = nullptr |
|
) |
| |
|
inlinestatic |
◆ check_holder_compat()
void type_caster_generic::check_holder_compat |
( |
| ) |
|
|
inline |
◆ load()
bool type_caster_generic::load |
( |
handle |
src, |
|
|
bool |
convert |
|
) |
| |
|
inline |
◆ load_impl()
template<typename ThisT >
◆ load_value()
◆ local_load()
◆ src_and_type()
static PYBIND11_NOINLINE std::pair<const void *, const type_info *> type_caster_generic::src_and_type |
( |
const void * |
src, |
|
|
const std::type_info & |
cast_type, |
|
|
const std::type_info * |
rtti_type = nullptr |
|
) |
| |
|
inlinestatic |
◆ try_direct_conversions()
bool type_caster_generic::try_direct_conversions |
( |
handle |
src | ) |
|
|
inline |
◆ try_implicit_casts()
bool type_caster_generic::try_implicit_casts |
( |
handle |
src, |
|
|
bool |
convert |
|
) |
| |
|
inline |
◆ try_load_foreign_module_local()
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 685 of file type_caster_base.h.
◆ cpptype
const std::type_info* type_caster_generic::cpptype = nullptr |
◆ typeinfo
const type_info* type_caster_generic::typeinfo = nullptr |
◆ value
void* type_caster_generic::value = nullptr |
The documentation for this class was generated from the following file: