Register the conversion from a Python list to a std::vector. More...
#include <std-vector.hpp>
Public Types | |
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) |
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 91 of file std-vector.hpp.
typedef vector_type::value_type pinocchio::python::StdContainerFromPythonList< vector_type >::T |
Definition at line 93 of file std-vector.hpp.
|
inlinestatic |
Allocate the std::vector and fill it with the element contained in the list.
Definition at line 119 of file std-vector.hpp.
|
inlinestatic |
Check if obj_ptr can be converted.
Definition at line 96 of file std-vector.hpp.
|
inlinestatic |
Definition at line 141 of file std-vector.hpp.
|
inlinestatic |
Definition at line 148 of file std-vector.hpp.