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

Change the behavior of indexing (method getitem in Python). This is suitable e.g. for container of Eigen matrix objects if you want to mutate them. More...

#include <map.hpp>

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

Public Types

typedef Container::value_type::second_type data_type
 
typedef Container::key_type index_type
 
typedef Container::key_type key_type
 
typedef Container::value_type value_type
 

Public Member Functions

template<class Class >
void visit (Class &cl) const
 

Static Private Member Functions

static boost::python::object base_get_item (boost::python::back_reference< Container & > container, PyObject *i_)
 
static index_type convert_index (Container &, PyObject *i_)
 

Detailed Description

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

Change the behavior of indexing (method getitem in Python). This is suitable e.g. for container of Eigen matrix objects if you want to mutate them.

See also
overload_base_get_item_for_std_vector

Definition at line 24 of file map.hpp.

Member Typedef Documentation

◆ data_type

template<typename Container >
typedef Container::value_type::second_type eigenpy::overload_base_get_item_for_map< Container >::data_type

Definition at line 28 of file map.hpp.

◆ index_type

template<typename Container >
typedef Container::key_type eigenpy::overload_base_get_item_for_map< Container >::index_type

Definition at line 30 of file map.hpp.

◆ key_type

template<typename Container >
typedef Container::key_type eigenpy::overload_base_get_item_for_map< Container >::key_type

Definition at line 29 of file map.hpp.

◆ value_type

template<typename Container >
typedef Container::value_type eigenpy::overload_base_get_item_for_map< Container >::value_type

Definition at line 27 of file map.hpp.

Member Function Documentation

◆ base_get_item()

template<typename Container >
static boost::python::object eigenpy::overload_base_get_item_for_map< Container >::base_get_item ( boost::python::back_reference< Container & >  container,
PyObject *  i_ 
)
inlinestaticprivate

Definition at line 38 of file map.hpp.

◆ convert_index()

template<typename Container >
static index_type eigenpy::overload_base_get_item_for_map< Container >::convert_index ( Container &  ,
PyObject *  i_ 
)
inlinestaticprivate

Definition at line 53 of file map.hpp.

◆ visit()

template<typename Container >
template<class Class >
void eigenpy::overload_base_get_item_for_map< Container >::visit ( Class &  cl) const
inline

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