Public Types | Public Member Functions | Static Public Member Functions | List of all members
eigenpy::details::VariantValueToObject< Variant > Struct Template Reference

#include <variant.hpp>

Inheritance diagram for eigenpy::details::VariantValueToObject< Variant >:
Inheritance graph
[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 >
static 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:


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