Public Member Functions | Static Public Member Functions | List of all members
pyobject_caster< type > Struct Template Reference

#include <cast.h>

Public Member Functions

template<typename T = type, enable_if_t< std::is_same< T, handle >::value, int > = 0>
bool load (handle src, bool)
 
template<typename T = type, enable_if_t< std::is_base_of< object, T >::value, int > = 0>
bool load (handle src, bool)
 
 PYBIND11_TYPE_CASTER (type, handle_type_name< type >::name)
 
template<typename T = type, enable_if_t< std::is_same< T, handle >::value, int > = 0>
 pyobject_caster ()
 
template<typename T = type, enable_if_t< std::is_base_of< object, T >::value, int > = 0>
 pyobject_caster ()
 

Static Public Member Functions

static handle cast (const handle &src, return_value_policy, handle)
 

Detailed Description

template<typename type>
struct pyobject_caster< type >

Definition at line 1038 of file cast.h.

Constructor & Destructor Documentation

◆ pyobject_caster() [1/2]

template<typename type >
template<typename T = type, enable_if_t< std::is_same< T, handle >::value, int > = 0>
pyobject_caster< type >::pyobject_caster ( )
inline

Definition at line 1040 of file cast.h.

◆ pyobject_caster() [2/2]

template<typename type >
template<typename T = type, enable_if_t< std::is_base_of< object, T >::value, int > = 0>
pyobject_caster< type >::pyobject_caster ( )
inline

Definition at line 1045 of file cast.h.

Member Function Documentation

◆ cast()

template<typename type >
static handle pyobject_caster< type >::cast ( const handle src,
return_value_policy  ,
handle   
)
inlinestatic

Definition at line 1062 of file cast.h.

◆ load() [1/2]

template<typename type >
template<typename T = type, enable_if_t< std::is_same< T, handle >::value, int > = 0>
bool pyobject_caster< type >::load ( handle  src,
bool   
)
inline

Definition at line 1048 of file cast.h.

◆ load() [2/2]

template<typename type >
template<typename T = type, enable_if_t< std::is_base_of< object, T >::value, int > = 0>
bool pyobject_caster< type >::load ( handle  src,
bool   
)
inline

Definition at line 1054 of file cast.h.

◆ PYBIND11_TYPE_CASTER()

template<typename type >
pyobject_caster< type >::PYBIND11_TYPE_CASTER ( type  ,
handle_type_name< type >::name   
)

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


gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:18:46