Register the conversion from a Python list to a std::vector. More...
#include <std-vector.hpp>
Public Types | |
typedef details::container_traits< vector_type >::Allocator | Allocator |
typedef vector_type::value_type | T |
Static Public Member Functions | |
static void | construct (PyObject *obj_ptr, boost::python::converter::rvalue_from_python_stage1_data *memory) |
Allocate the std::vector and fill it with the element contained in the list. More... | |
static void * | convertible (PyObject *obj_ptr) |
Check if obj_ptr can be converted. More... | |
static void | register_converter () |
::boost::python::list | tolist (vector_type &self, const bool deep_copy=false) |
Register the conversion from a Python list to a std::vector.
vector_type | A std container (e.g. std::vector or std::list) |
Definition at line 29 of file std-vector.hpp.
typedef details::container_traits<vector_type>::Allocator eigenpy::StdContainerFromPythonList< vector_type, NoProxy >::Allocator |
Definition at line 263 of file std-vector.hpp.
typedef vector_type::value_type eigenpy::StdContainerFromPythonList< vector_type, NoProxy >::T |
Definition at line 262 of file std-vector.hpp.
|
inlinestatic |
Allocate the std::vector and fill it with the element contained in the list.
Definition at line 288 of file std-vector.hpp.
|
inlinestatic |
Check if obj_ptr can be converted.
Definition at line 266 of file std-vector.hpp.
|
inlinestatic |
Definition at line 310 of file std-vector.hpp.
|
inlinestatic |
Definition at line 315 of file std-vector.hpp.