eigenpy 3.12.0
Bindings between Numpy and Eigen using Boost.Python
Loading...
Searching...
No Matches
eigenpy::details::VariantValueToObject< Variant > Struct Template Reference

#include <eigenpy/variant.hpp>

Inheritance diagram for eigenpy::details::VariantValueToObject< Variant >:
[legend]
Collaboration diagram for eigenpy::details::VariantValueToObject< Variant >:
[legend]

Public Types

typedef VariantVisitorType< PyObject *, Variant > Base
typedef Base::result_type result_type
typedef Base::variant_type variant_type

Public Member Functions

template<typename T>
result_type operator() (T &t) const

Static Public Member Functions

static result_type convert (const variant_type &v)

Detailed Description

template<typename Variant>
struct eigenpy::details::VariantValueToObject< Variant >

Convert {boost,std}::variant<class...> alternative to a Python object. This converter copy the alternative.

Definition at line 192 of file variant.hpp.

Member Typedef Documentation

◆ Base

template<typename Variant>
typedef VariantVisitorType<PyObject*, Variant> eigenpy::details::VariantValueToObject< Variant >::Base

Definition at line 193 of file variant.hpp.

◆ result_type

template<typename Variant>
typedef Base::result_type eigenpy::details::VariantValueToObject< Variant >::result_type

Definition at line 194 of file variant.hpp.

◆ variant_type

template<typename Variant>
typedef Base::variant_type eigenpy::details::VariantValueToObject< Variant >::variant_type

Definition at line 195 of file variant.hpp.

Member Function Documentation

◆ convert()

template<typename Variant>
result_type eigenpy::details::VariantValueToObject< Variant >::convert(const variant_type &v)
inlinestatic

Definition at line 197 of file variant.hpp.

◆ operator()()

template<typename Variant>
template<typename T>
result_type eigenpy::details::VariantValueToObject< Variant >::operator()(T &t)const
inline

Definition at line 202 of file variant.hpp.


The documentation for this struct was generated from the following file: