Developer Documentation

Public Member Functions | Static Public Member Functions | List of all members
pybind11::detail::type_caster< IdList > Struct Template Reference

## Public Member Functions
| PYBIND11_TYPE_CASTER (IdList, _("IdList"))
bool | load (handle src, bool convert)

## Static Public Member Functions
static handle | cast (IdList src, return_value_policy, handle parent)

## Detailed Description

### template<>
struct pybind11::detail::type_caster< IdList >

Definition at line 380 of file PythonTypeConversions.hh.

## Member Function Documentation

## ◆ cast()

static handle pybind11::detail::type_caster< IdList >::cast | ( | IdList | src,
|  | return_value_policy | ,
|  | handle | parent
| ) |  |
| inline static

Conversion part 2 (C++ -> Python): convert an IdList 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 462 of file PythonTypeConversions.hh.

## ◆ load()

bool pybind11::detail::type_caster< IdList >::load | ( | handle | src,
|  | bool | convert
| ) |  |
| inline

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

Definition at line 394 of file PythonTypeConversions.hh.

## ◆ PYBIND11_TYPE_CASTER()

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

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

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

- OpenFlipper/PythonInterpreter/PythonTypeConversions.hh