Main Page
Namespaces
Classes
Package Documentation
FWCore
SOA
interface
tablehelpers.h
Go to the documentation of this file.
1
#ifndef FWCore_SOA_tablehelpers_h
2
#define FWCore_SOA_tablehelpers_h
3
// -*- C++ -*-
4
//
5
// Package: FWCore/SOA
6
//
15
//
16
// Original Author: Chris Jones
17
// Created: Thu, 24 Aug 2017 16:18:18 GMT
18
//
19
20
// system include files
21
#include <type_traits>
22
#include <tuple>
23
24
// user include files
25
26
// forward declarations
27
28
namespace
edm
{
29
namespace
soa {
30
namespace
impl
{
31
32
template
<
int
I>
33
struct
FoundIndex
{
34
static
constexpr
int
index
=
I
;
35
};
36
37
template
<
int
I,
typename
T,
typename
TPL>
38
struct
GetIndex
{
39
static
constexpr
int
index
=
std::conditional<std::is_same<T, typename std::tuple_element<I,TPL>::type
>
::value
,
40
FoundIndex<I>
,
41
GetIndex<I+1, T,TPL>
>
::type::index
;
42
};
43
44
}
45
}
46
}
47
48
#endif
type
type
Definition:
HCALResponse.h:21
impl
Definition:
trackAlgoPriorityOrder.h:18
edm::soa::impl::FoundIndex::index
static constexpr int index
Definition:
tablehelpers.h:34
constexpr
#define constexpr
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:33
Exhume::I
const std::complex< double > I
Definition:
I.h:8
relativeConstraints.value
value
Definition:
relativeConstraints.py:52
edm::soa::impl::FoundIndex
Definition:
tablehelpers.h:33
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::soa::impl::GetIndex
Definition:
tablehelpers.h:38
Generated for CMSSW Reference Manual by
1.8.11