Expose an std::vector from a type given as template argument.
More...
#include <std-vector.hpp>
|
static void | expose (const std::string &class_name, const std::string &doc_string="") |
|
template<typename VisitorDerived > |
static void | expose (const std::string &class_name, const boost::python::def_visitor< VisitorDerived > &visitor) |
|
template<typename VisitorDerived > |
static void | expose (const std::string &class_name, const std::string &doc_string, const boost::python::def_visitor< VisitorDerived > &visitor) |
|
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) |
|
template<class vector_type, bool NoProxy = false, bool EnableFromPythonListConverter = true>
struct eigenpy::StdVectorPythonVisitor< vector_type, NoProxy, EnableFromPythonListConverter >
Expose an std::vector from a type given as template argument.
- Template Parameters
-
T | Type to expose as std::vector<T>. |
Allocator | Type for the Allocator in std::vector<T,Allocator>. |
NoProxy | When set to false, the elements will be copied when returned to Python. |
EnableFromPythonListConverter | Enables the conversion from a Python list to a std::vector<T,Allocator> |
- See also
- StdAlignedVectorPythonVisitor
Definition at line 376 of file std-vector.hpp.
◆ allocator_type
template<class vector_type, bool NoProxy = false, bool EnableFromPythonListConverter = true>
◆ FromPythonListConverter
template<class vector_type, bool NoProxy = false, bool EnableFromPythonListConverter = true>
◆ value_type
template<class vector_type, bool NoProxy = false, bool EnableFromPythonListConverter = true>
◆ expose() [1/3]
template<class vector_type, bool NoProxy = false, bool EnableFromPythonListConverter = true>
static void eigenpy::StdVectorPythonVisitor< vector_type, NoProxy, EnableFromPythonListConverter >::expose |
( |
const std::string & |
class_name, |
|
|
const std::string & |
doc_string = "" |
|
) |
| |
|
inlinestatic |
◆ expose() [2/3]
template<class vector_type, bool NoProxy = false, bool EnableFromPythonListConverter = true>
template<typename VisitorDerived >
static void eigenpy::StdVectorPythonVisitor< vector_type, NoProxy, EnableFromPythonListConverter >::expose |
( |
const std::string & |
class_name, |
|
|
const boost::python::def_visitor< VisitorDerived > & |
visitor |
|
) |
| |
|
inlinestatic |
◆ expose() [3/3]
template<class vector_type, bool NoProxy = false, bool EnableFromPythonListConverter = true>
template<typename VisitorDerived >
static void eigenpy::StdVectorPythonVisitor< vector_type, NoProxy, EnableFromPythonListConverter >::expose |
( |
const std::string & |
class_name, |
|
|
const std::string & |
doc_string, |
|
|
const boost::python::def_visitor< VisitorDerived > & |
visitor |
|
) |
| |
|
inlinestatic |
The documentation for this struct was generated from the following file: