Public Member Functions | Static Public Member Functions | List of all members
converters::ToOptionalConverter Struct Reference

#include <converter.h>

Public Member Functions

template<typename OptionalT >
ToOptionalConverterfromPython ()
 

Static Public Member Functions

template<typename OptionalT >
static void construct (PyObject *object, boost::python::converter::rvalue_from_python_stage1_data *data)
 Convert PyObject to C++ type. More...
 
static void * convertible (PyObject *object)
 Check PyObject. More...
 

Detailed Description

Definition at line 108 of file converter.h.

Member Function Documentation

◆ construct()

template<typename OptionalT >
static void converters::ToOptionalConverter::construct ( PyObject *  object,
boost::python::converter::rvalue_from_python_stage1_data *  data 
)
inlinestatic

Convert PyObject to C++ type.

Definition at line 125 of file converter.h.

◆ convertible()

static void* converters::ToOptionalConverter::convertible ( PyObject *  object)
inlinestatic

Check PyObject.

Definition at line 121 of file converter.h.

◆ fromPython()

template<typename OptionalT >
ToOptionalConverter& converters::ToOptionalConverter::fromPython ( )
inline
Note
Registers converter from a python interable type to the provided type.

Definition at line 112 of file converter.h.


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


lanelet2_python
Author(s): Fabian Poggenhans
autogenerated on Thu Mar 6 2025 03:26:14