ATLAS Offline Software
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
impl::simple_tuple_conversion< T, Elems > Struct Template Reference

#include <CaloGPUClusterAndCellDataMonitorOptions.h>

Collaboration diagram for impl::simple_tuple_conversion< T, Elems >:

Public Types

using TupleType = std::tuple< to_tuple_type< Elems >... >
 

Static Public Member Functions

static TupleType to_tuple (const T &s)
 
static T from_tuple (const TupleType &tup)
 

Static Public Attributes

static constexpr size_t TupleSize = sizeof...(Elems)
 

Detailed Description

template<class T, class ... Elems>
struct impl::simple_tuple_conversion< T, Elems >

Definition at line 212 of file CaloGPUClusterAndCellDataMonitorOptions.h.

Member Typedef Documentation

◆ TupleType

template<class T , class ... Elems>
using impl::simple_tuple_conversion< T, Elems >::TupleType = std::tuple<to_tuple_type<Elems>...>

Definition at line 214 of file CaloGPUClusterAndCellDataMonitorOptions.h.

Member Function Documentation

◆ from_tuple()

template<class T , class ... Elems>
static T impl::simple_tuple_conversion< T, Elems >::from_tuple ( const TupleType tup)
inlinestatic

Definition at line 224 of file CaloGPUClusterAndCellDataMonitorOptions.h.

225  {
226  T ret;
228  return ret;
229  }

◆ to_tuple()

template<class T , class ... Elems>
static TupleType impl::simple_tuple_conversion< T, Elems >::to_tuple ( const T &  s)
inlinestatic

Definition at line 218 of file CaloGPUClusterAndCellDataMonitorOptions.h.

219  {
220  TupleType ret;
222  return ret;
223  }

Member Data Documentation

◆ TupleSize

template<class T , class ... Elems>
constexpr size_t impl::simple_tuple_conversion< T, Elems >::TupleSize = sizeof...(Elems)
inlinestaticconstexpr

Definition at line 216 of file CaloGPUClusterAndCellDataMonitorOptions.h.


The documentation for this struct was generated from the following file:
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
impl::simple_tuple_conversion::TupleType
std::tuple< to_tuple_type< Elems >... > TupleType
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:214
ret
T ret(T t)
Definition: rootspy.cxx:260
impl::struct_tuple_conversion::t2s
static T t2s(const TupleT &, T &)
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:136
impl::struct_tuple_conversion::s2t
static void s2t(const T &, TupleT &)
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:134
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35