Classes | Functions
eigenpy::details Namespace Reference

Classes

struct  build_list
 
struct  build_list< vector_type, true >
 
struct  cast
 
struct  cast< Scalar, NewScalar, EigenBase, false >
 
struct  check_swap_impl
 
struct  check_swap_impl< MatType, Eigen::MatrixBase< MatType > >
 
struct  check_swap_impl_matrix
 
struct  container_traits
 
struct  container_traits< std::array< _Tp, Size > >
 
struct  copy_if_non_const
 
struct  copy_if_non_const< const MatType, true >
 
struct  empty_variant
 
struct  empty_variant< boost::variant< Alternatives... > >
 
struct  EmptyConvertible
 
class  final_array_derived_policies
 
struct  init_matrix_or_array
 
struct  init_matrix_or_array< MatType, true >
 
struct  InternalStdUniquePtrConverter
 result_converter of ReturnInternalStdUniquePtr More...
 
struct  is_class_or_union
 Trait to detect if T is a class or an union. More...
 
struct  is_empty_variant
 
struct  is_empty_variant< boost::blank >
 
struct  is_python_complex
 trait to detect if T is a std::complex managed by Boost Python More...
 
struct  is_python_complex< std::complex< double > >
 
struct  is_python_complex< std::complex< float > >
 From boost/python/converter/builtin_converters. More...
 
struct  is_python_complex< std::complex< long double > >
 
struct  is_python_primitive_type
 Trait to detect if T is a Python primitive type. More...
 
struct  is_python_primitive_type_helper
 
struct  NumericConvertible
 Convert numeric type to Variant without ambiguity. More...
 
struct  NumericConvertibleImpl
 Implement convertible and expected_pytype for bool, integer and float. More...
 
struct  NumericConvertibleImpl< T, typename std::enable_if< std::is_floating_point< T >::value >::type >
 
struct  NumericConvertibleImpl< T, typename std::enable_if< std::is_same< T, bool >::value >::type >
 
struct  NumericConvertibleImpl< T, typename std::enable_if<!std::is_same< T, bool >::value &&std::is_integral< T >::value >::type >
 
struct  overload_base_get_item_for_std_vector
 Change the behavior of indexing (method getitem in Python). This is suitable for container of Eigen matrix objects if you want to mutate them. More...
 
struct  remove_cvref
 Trait to remove const&. More...
 
struct  StdUniquePtrResultConverter
 result_converter of StdUniquePtrCallPolicies More...
 
struct  VariantAlternatives
 Allow to get all alternatives in a boost::mpl vector. More...
 
struct  VariantAlternatives< boost::variant< Alternatives... > >
 
struct  VariantConverter
 
struct  VariantConvertible
 Convert an Alternative type to a Variant. More...
 
struct  VariantRefToObject
 
struct  VariantValueToObject
 
struct  VariantVisitorType
 Allow to use std::variant and boost::variant with the same API. More...
 
struct  VariantVisitorType< ResultType, boost::variant< Alternatives... > >
 boost::variant implementation More...
 

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...
 

Function Documentation

◆ check_swap()

template<typename EigenType >
bool eigenpy::details::check_swap ( PyArrayObject *  pyArray,
const EigenType &  mat 
)

Definition at line 117 of file eigen-allocator.hpp.

◆ from_python_list()

template<typename T >
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.

◆ internal_unique_ptr_to_python() [1/2]

template<typename T >
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.

◆ internal_unique_ptr_to_python() [2/2]

template<typename T >
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.

◆ unique_ptr_to_python() [1/2]

template<typename T >
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.

◆ unique_ptr_to_python() [2/2]

template<typename T >
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.



eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Sat Nov 2 2024 02:14:45