Functions | |
template<typename EigenType > | |
bool | check_swap (PyArrayObject *pyArray, const EigenType &mat) |
template<typename T > | |
bool | from_python_list (PyObject *obj_ptr, T *) |
Check if a PyObject can be converted to an std::vector<T>. More... | |
template<typename T > | |
std::enable_if<!is_python_primitive_type< T >::value, PyObject * >::type | internal_unique_ptr_to_python (std::unique_ptr< T > &x) |
template<typename T > | |
std::enable_if< is_python_primitive_type< T >::value, PyObject * >::type | internal_unique_ptr_to_python (std::unique_ptr< T > &x) |
Convert and copy the primitive value to python. More... | |
template<typename T > | |
std::enable_if<!is_python_primitive_type< T >::value, PyObject * >::type | unique_ptr_to_python (std::unique_ptr< T > &&x) |
Transfer std::unique_ptr ownership to an owning holder. More... | |
template<typename T > | |
std::enable_if< is_python_primitive_type< T >::value, PyObject * >::type | unique_ptr_to_python (std::unique_ptr< T > &&x) |
Convert and copy the primitive value to python. More... | |
bool eigenpy::details::check_swap | ( | PyArrayObject * | pyArray, |
const EigenType & | mat | ||
) |
Definition at line 117 of file eigen-allocator.hpp.
bool eigenpy::details::from_python_list | ( | PyObject * | obj_ptr, |
T * | |||
) |
Check if a PyObject can be converted to an std::vector<T>.
Definition at line 35 of file std-vector.hpp.
std::enable_if<!is_python_primitive_type<T>::value, PyObject*>::type eigenpy::details::internal_unique_ptr_to_python | ( | std::unique_ptr< T > & | x | ) |
std::unique_ptr keep the ownership but a reference to the std::unique_ptr value is created
Definition at line 48 of file std-unique-ptr.hpp.
std::enable_if<is_python_primitive_type<T>::value, PyObject*>::type eigenpy::details::internal_unique_ptr_to_python | ( | std::unique_ptr< T > & | x | ) |
Convert and copy the primitive value to python.
Definition at line 59 of file std-unique-ptr.hpp.
std::enable_if<!is_python_primitive_type<T>::value, PyObject*>::type eigenpy::details::unique_ptr_to_python | ( | std::unique_ptr< T > && | x | ) |
Transfer std::unique_ptr ownership to an owning holder.
Definition at line 24 of file std-unique-ptr.hpp.
std::enable_if<is_python_primitive_type<T>::value, PyObject*>::type eigenpy::details::unique_ptr_to_python | ( | std::unique_ptr< T > && | x | ) |
Convert and copy the primitive value to python.
Definition at line 36 of file std-unique-ptr.hpp.