Static Public Member Functions | List of all members
eigenpy::dict_to_map< Container > Struct Template Reference

#include <map.hpp>

Inheritance diagram for eigenpy::dict_to_map< Container >:
Inheritance graph
[legend]

Static Public Member Functions

static void construct (PyObject *object, bp::converter::rvalue_from_python_stage1_data *data)
 Perform the conversion. More...
 
static void * convertible (PyObject *object)
 Check if conversion is possible. More...
 
static void register_converter ()
 
static bp::dict todict (Container &self)
 

Detailed Description

template<typename Container>
struct eigenpy::dict_to_map< Container >

Conversion from dict to map solution proposed in https://stackoverflow.com/questions/6116345/boostpython-possible-to-automatically-convert-from-dict-stdmap This template encapsulates the conversion machinery.

Definition at line 96 of file map.hpp.

Member Function Documentation

◆ construct()

template<typename Container >
static void eigenpy::dict_to_map< Container >::construct ( PyObject *  object,
bp::converter::rvalue_from_python_stage1_data *  data 
)
inlinestatic

Perform the conversion.

Definition at line 111 of file map.hpp.

◆ convertible()

template<typename Container >
static void* eigenpy::dict_to_map< Container >::convertible ( PyObject *  object)
inlinestatic

Check if conversion is possible.

Definition at line 104 of file map.hpp.

◆ register_converter()

template<typename Container >
static void eigenpy::dict_to_map< Container >::register_converter ( )
inlinestatic

Definition at line 97 of file map.hpp.

◆ todict()

template<typename Container >
static bp::dict eigenpy::dict_to_map< Container >::todict ( Container &  self)
inlinestatic

Definition at line 154 of file map.hpp.


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


eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Sat Nov 2 2024 02:14:45