eigenpy 3.12.0
Bindings between Numpy and Eigen using Boost.Python
Loading...
Searching...
No Matches
eigenpy::GenericMapVisitor< Container, NoProxy > Struct Template Reference

Expose the map-like container, e.g. (std::map). More...

#include <eigenpy/map.hpp>

Inheritance diagram for eigenpy::GenericMapVisitor< Container, NoProxy >:
[legend]
Collaboration diagram for eigenpy::GenericMapVisitor< Container, NoProxy >:
[legend]

Public Types

typedef dict_to_map< Container > FromPythonDictConverter
Public Types inherited from eigenpy::emplace_set_derived_policies< Container, false >
typedef Container::key_type index_type
typedef Container::value_type::second_type data_type
typedef Container::value_type value_type
using DerivedPolicies

Static Public Member Functions

template<typename DerivedVisitor>
static void expose (const std::string &class_name, const std::string &doc_string, const bp::def_visitor< DerivedVisitor > &visitor)
static void expose (const std::string &class_name, const std::string &doc_string="")
template<typename DerivedVisitor>
static void expose (const std::string &class_name, const bp::def_visitor< DerivedVisitor > &visitor)
Static Public Member Functions inherited from eigenpy::emplace_set_derived_policies< Container, false >
static void extension_def (Class &cl)
static void set_item (Container &container, index_type i, data_type const &v)
Static Public Member Functions inherited from eigenpy::dict_to_map< Container >
static void register_converter ()
static void * convertible (PyObject *object)
 Check if conversion is possible.
static void construct (PyObject *object, bp::converter::rvalue_from_python_stage1_data *data)
 Perform the conversion.
static bp::dict todict (Container &self)

Detailed Description

template<class Container, bool NoProxy = false>
struct eigenpy::GenericMapVisitor< Container, NoProxy >

Expose the map-like container, e.g. (std::map).

Parameters
[in]ContainerContainer to expose.
[in]NoProxyWhen set to false, the elements will be copied when returned to Python.

Definition at line 210 of file map.hpp.

Member Typedef Documentation

◆ FromPythonDictConverter

template<class Container, bool NoProxy = false>
typedef dict_to_map<Container> eigenpy::GenericMapVisitor< Container, NoProxy >::FromPythonDictConverter

Definition at line 213 of file map.hpp.

Member Function Documentation

◆ expose() [1/3]

template<class Container, bool NoProxy = false>
template<typename DerivedVisitor>
void eigenpy::GenericMapVisitor< Container, NoProxy >::expose(const std::string &class_name,
const bp::def_visitor< DerivedVisitor > &visitor )
inlinestatic

Definition at line 239 of file map.hpp.

◆ expose() [2/3]

template<class Container, bool NoProxy = false>
template<typename DerivedVisitor>
void eigenpy::GenericMapVisitor< Container, NoProxy >::expose(const std::string &class_name,
const std::string &doc_string,
const bp::def_visitor< DerivedVisitor > &visitor )
inlinestatic

Definition at line 216 of file map.hpp.

◆ expose() [3/3]

template<class Container, bool NoProxy = false>
void eigenpy::GenericMapVisitor< Container, NoProxy >::expose(const std::string &class_name,
const std::string &doc_string = "" )
inlinestatic

Definition at line 233 of file map.hpp.


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