eigenpy 3.13.0 Bindings between Numpy and Eigen using Boost.Python |
Register the conversion from a Python list to a std::vector. More...
#include <eigenpy/std-vector.hpp>
Public Types | |
| typedef vector_type::value_type | T |
| typedef details::container_traits< vector_type >::Allocator | Allocator |
Static Public Member Functions | |
| static void * | convertible (PyObject *obj_ptr) |
| Check if obj_ptr can be converted. | |
| static void | construct (PyObject *obj_ptr, bp::converter::rvalue_from_python_stage1_data *memory) |
| Allocate the std::vector and fill it with the element contained in the list. | |
| static void | register_converter () |
| static bp::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 324 of file std-vector.hpp.
| typedef details::container_traits<vector_type>::Allocator eigenpy::StdContainerFromPythonList< vector_type, NoProxy >::Allocator |
Definition at line 326 of file std-vector.hpp.
| typedef vector_type::value_type eigenpy::StdContainerFromPythonList< vector_type, NoProxy >::T |
Definition at line 325 of file std-vector.hpp.
| inlinestatic |
Allocate the std::vector and fill it with the element contained in the list.
Definition at line 351 of file std-vector.hpp.
| inlinestatic |
Check if obj_ptr can be converted.
Definition at line 329 of file std-vector.hpp.
| inlinestatic |
Definition at line 372 of file std-vector.hpp.
| inlinestatic |
Definition at line 377 of file std-vector.hpp.