1 #ifndef FWCore_SOA_TableExaminer_h
2 #define FWCore_SOA_TableExaminer_h
46 return m_table->columnAddressByIndex(iColumnIndex);
50 std::vector<std::type_index> returnValue;
52 columnTypesImpl<0, T::kNColumns>(returnValue);
57 std::vector<std::pair<char const*, std::type_index>> returnValue;
59 columnDescImpl<0, T::kNColumns>(returnValue);
66 template <
int I,
int S>
68 if constexpr (
I !=
S) {
69 using Layout =
typename T::Layout;
71 columnTypesImpl<I + 1, S>(iV);
75 template <
int I,
int S>
76 void columnDescImpl(std::vector<std::pair<char const*, std::type_index>>& iV)
const {
77 if constexpr (
I !=
S) {
78 using Layout =
typename T::Layout;
81 columnDescImpl<I + 1, S>(iV);