RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
type_caster< boost::shared_ptr< T > > Struct Template Reference

#include <boost_shared_ptr.h>

Public Types

using Caster = make_caster<T>
using Td = std::decay_t<T>

Public Member Functions

bool from_python (handle src, uint8_t flags, cleanup_list *cleanup) noexcept

Static Public Member Functions

static handle from_cpp (const Value &value, rv_policy, cleanup_list *cleanup) noexcept

Static Public Attributes

static constexpr bool IsClass = true

Detailed Description

template<typename T>
struct type_caster< boost::shared_ptr< T > >

Definition at line 62 of file boost_shared_ptr.h.

Member Typedef Documentation

◆ Caster

template<typename T>
using type_caster< boost::shared_ptr< T > >::Caster = make_caster<T>

Definition at line 64 of file boost_shared_ptr.h.

◆ Td

template<typename T>
using type_caster< boost::shared_ptr< T > >::Td = std::decay_t<T>

Definition at line 65 of file boost_shared_ptr.h.

Member Function Documentation

◆ from_cpp()

template<typename T>
handle type_caster< boost::shared_ptr< T > >::from_cpp ( const Value & value,
rv_policy ,
cleanup_list * cleanup )
inlinestaticnoexcept

Definition at line 99 of file boost_shared_ptr.h.

References boost_shared_from_cpp().

◆ from_python()

template<typename T>
bool type_caster< boost::shared_ptr< T > >::from_python ( handle src,
uint8_t flags,
cleanup_list * cleanup )
inlinenoexcept

Definition at line 75 of file boost_shared_ptr.h.

References boost_shared_from_python().

Member Data Documentation

◆ IsClass

template<typename T>
bool type_caster< boost::shared_ptr< T > >::IsClass = true
staticconstexpr

Definition at line 63 of file boost_shared_ptr.h.


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