List of all members
type_caster< std::shared_ptr< T > > Class Template Reference

Specialize for the common std::shared_ptr, so users don't need to. More...

#include <cast.h>

Inheritance diagram for type_caster< std::shared_ptr< T > >:
Inheritance graph
[legend]

Additional Inherited Members

- Public Types inherited from copyable_holder_caster< T, std::shared_ptr< T > >
using base = type_caster_base< T >
 
- Public Types inherited from type_caster_base< T >
using cast_op_type = detail::cast_op_type< T >
 
- Public Member Functions inherited from copyable_holder_caster< T, std::shared_ptr< T > >
bool load (handle src, bool convert)
 
 operator std::shared_ptr< T > & ()
 
 operator std::shared_ptr< T > * ()
 
 operator T & ()
 
 operator T * ()
 
- Public Member Functions inherited from type_caster_base< T >
 operator itype & ()
 
 operator itype * ()
 
 type_caster_base ()
 
 type_caster_base (const std::type_info &info)
 
- Public Member Functions inherited from type_caster_generic
void check_holder_compat ()
 
bool load (handle src, bool convert)
 
template<typename ThisT >
PYBIND11_NOINLINE bool load_impl (handle src, bool convert)
 
void load_value (value_and_holder &&v_h)
 
bool try_direct_conversions (handle src)
 
bool try_implicit_casts (handle src, bool convert)
 
PYBIND11_NOINLINE bool try_load_foreign_module_local (handle src)
 
PYBIND11_NOINLINE type_caster_generic (const std::type_info &type_info)
 
 type_caster_generic (const type_info *typeinfo)
 
- Static Public Member Functions inherited from copyable_holder_caster< T, std::shared_ptr< T > >
static handle cast (const std::shared_ptr< T > &src, return_value_policy, handle)
 
- Static Public Member Functions inherited from type_caster_base< T >
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_holder (const itype *src, const void *holder)
 
static std::pair< const void *, const type_info * > src_and_type (const itype *src)
 
- Static Public Member Functions inherited from type_caster_generic
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)
 
- Public Attributes inherited from type_caster_generic
const std::type_info * cpptype = nullptr
 
const type_infotypeinfo = nullptr
 
void * value = nullptr
 
- Static Public Attributes inherited from type_caster_base< T >
static constexpr auto name
 
- Protected Types inherited from type_caster_base< T >
using Constructor = void *(*)(const void *)
 
- Protected Member Functions inherited from copyable_holder_caster< T, std::shared_ptr< T > >
void check_holder_compat ()
 
bool load_value (value_and_holder &&v_h)
 
bool try_implicit_casts (handle, bool)
 
bool try_implicit_casts (handle src, bool convert)
 
- Static Protected Member Functions inherited from copyable_holder_caster< T, std::shared_ptr< T > >
static bool try_direct_conversions (handle)
 
- Static Protected Member Functions inherited from type_caster_base< T >
static auto make_copy_constructor (const T *x) -> decltype(new T(*x), Constructor
 
static Constructor make_copy_constructor (...)
 
static auto make_move_constructor (const T *x) -> decltype(new T(std::move(*const_cast< T * >(x))), Constructor
 
static Constructor make_move_constructor (...)
 
- Protected Attributes inherited from copyable_holder_caster< T, std::shared_ptr< T > >
std::shared_ptr< Tholder
 

Detailed Description

template<typename T>
class type_caster< std::shared_ptr< T > >

Specialize for the common std::shared_ptr, so users don't need to.

Definition at line 1577 of file cast.h.


The documentation for this class was generated from the following file:


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:54