Developer Documentation
pybind11::detail::type_caster< UpdateType > Struct Template Reference

Public Member Functions

 PYBIND11_TYPE_CASTER (UpdateType, _("UpdateType"))
 
bool load (handle src, bool)
 

Static Public Member Functions

static handle cast (UpdateType src, return_value_policy, handle)
 

Detailed Description

template<>
struct pybind11::detail::type_caster< UpdateType >

Definition at line 499 of file PythonTypeConversions.hh.

Member Function Documentation

◆ cast()

static handle pybind11::detail::type_caster< UpdateType >::cast ( UpdateType  src,
return_value_policy  ,
handle   
)
inlinestatic

Conversion part 2 (C++ -> Python): convert an UpdateType instance into a Python object. The second and third arguments are used to indicate the return value policy and parent object (for return_value_policy::reference_internal) and are generally ignored by implicit casters.

Definition at line 567 of file PythonTypeConversions.hh.

◆ load()

bool pybind11::detail::type_caster< UpdateType >::load ( handle  src,
bool   
)
inline

Conversion part 1 (Python->C++): convert a PyObject into a UpdateType instance or return false upon failure. The second argument indicates whether implicit conversions should be applied.

Definition at line 513 of file PythonTypeConversions.hh.

◆ PYBIND11_TYPE_CASTER()

pybind11::detail::type_caster< UpdateType >::PYBIND11_TYPE_CASTER ( UpdateType  ,
_("UpdateType")   
)

This macro establishes the name 'UpdateType' in function signatures and declares a local variable 'value' of type UpdateType


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