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

#include <std-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 94 of file std-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 109 of file std-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 102 of file std-map.hpp.

◆ register_converter()

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

Definition at line 95 of file std-map.hpp.

◆ todict()

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

Definition at line 152 of file std-map.hpp.


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


eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Fri Sep 20 2024 02:17:48