HepMC3 event record library
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Types | Static Private Attributes
tuple_caster< Tuple, Ts > Class Template Reference

Public Types

template<typename T >
using cast_op_type = type
 

Public Member Functions

bool load (handle src, bool convert)
 
 operator type ()&
 
 operator type ()&&
 

Static Public Member Functions

template<typename T >
static handle cast (T &&src, return_value_policy policy, handle parent)
 
template<typename T >
static handle cast (T *src, return_value_policy policy, handle parent)
 

Static Public Attributes

static constexpr auto name = _("Tuple[") + concat(make_caster<Ts>::name...) + _("]")
 

Protected Member Functions

template<size_t... Is>
type implicit_cast (index_sequence< Is...>)&
 
template<size_t... Is>
type implicit_cast (index_sequence< Is...>)&&
 
template<size_t... Is>
bool load_impl (const sequence &seq, bool convert, index_sequence< Is...>)
 

Static Protected Member Functions

static constexpr bool load_impl (const sequence &, bool, index_sequence<>)
 
template<typename T , size_t... Is>
static handle cast_impl (T &&src, return_value_policy policy, handle parent, index_sequence< Is...>)
 

Protected Attributes

Tuple< make_caster< Ts >...> subcasters
 

Private Types

using type = Tuple< Ts...>
 
using indices = make_index_sequence< size >
 

Static Private Attributes

static constexpr auto size = sizeof...(Ts)
 

Detailed Description

template<template< typename...> class Tuple, typename... Ts>
class tuple_caster< Tuple, Ts >

Definition at line 1403 of file cast.h.


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