Public Types | Static Public Member Functions | List of all members
eigenpy::GenericMapVisitor< Container, NoProxy > Struct Template Reference

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

#include <map.hpp>

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

Public Types

typedef dict_to_map< Container > FromPythonDictConverter
 
- Public Types inherited from eigenpy::emplace_set_derived_policies< Container, false >
typedef Container::value_type::second_type data_type
 
using DerivedPolicies = bp::detail::final_map_derived_policies< Container, NoProxy >
 
typedef Container::key_type index_type
 
typedef Container::value_type value_type
 

Static Public Member Functions

template<typename DerivedVisitor >
static void expose (const std::string &class_name, const bp::def_visitor< DerivedVisitor > &visitor)
 
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="")
 
- 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 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<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 211 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 214 of file map.hpp.

Member Function Documentation

◆ expose() [1/3]

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

Definition at line 240 of file map.hpp.

◆ expose() [2/3]

template<class Container , bool NoProxy = false>
template<typename DerivedVisitor >
static 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 217 of file map.hpp.

◆ expose() [3/3]

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

Definition at line 234 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