Template Struct VariantValueToObject

Inheritance Relationships

Base Type

Struct Documentation

template<typename Variant>
struct VariantValueToObject : public eigenpy::details::VariantVisitorType<PyObject*, Variant>

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

Public Types

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

Public Functions

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

Public Static Functions

static inline result_type convert(const variant_type &v)