CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Types | Private Attributes
edm::soa::ConstTableItr< Args > Class Template Reference

#include <TableItr.h>

Public Types

using value_type = RowView< Args... >
 

Public Member Functions

 ConstTableItr (std::array< void const *, sizeof...(Args)> const &iValues)
 
 ConstTableItr (std::array< void const *, sizeof...(Args)> const &iValues, long iOffset)
 
 ConstTableItr (std::array< void const *, sizeof...(Args)> const &iValues, unsigned int iOffset)
 
TableItr< Args... > makeOffset (long iDiff) const
 
bool operator!= (const ConstTableItr< Args... > &iOther)
 
value_type operator* () const
 
ConstTableItroperator++ ()
 
bool operator== (const ConstTableItr< Args... > &iOther)
 

Private Types

using Layout = std::tuple< Args... >
 

Private Attributes

std::array< void const *, sizeof...(Args)> m_values
 

Detailed Description

template<typename... Args>
class edm::soa::ConstTableItr< Args >

Definition at line 116 of file TableItr.h.

Member Typedef Documentation

◆ Layout

template<typename... Args>
using edm::soa::ConstTableItr< Args >::Layout = std::tuple<Args...>
private

Definition at line 117 of file TableItr.h.

◆ value_type

template<typename... Args>
using edm::soa::ConstTableItr< Args >::value_type = RowView<Args...>

Definition at line 121 of file TableItr.h.

Constructor & Destructor Documentation

◆ ConstTableItr() [1/3]

template<typename... Args>
edm::soa::ConstTableItr< Args >::ConstTableItr ( std::array< void const *, sizeof...(Args)> const &  iValues)
inlineexplicit

Definition at line 123 of file TableItr.h.

123 : m_values{iValues} {}

◆ ConstTableItr() [2/3]

template<typename... Args>
edm::soa::ConstTableItr< Args >::ConstTableItr ( std::array< void const *, sizeof...(Args)> const &  iValues,
long  iOffset 
)
inline

Definition at line 125 of file TableItr.h.

125  : m_values{iValues} {
126  impl::ConstTableItrAdvance<sizeof...(Args) - 1, Args...>::advance(m_values, iOffset);
127  }

◆ ConstTableItr() [3/3]

template<typename... Args>
edm::soa::ConstTableItr< Args >::ConstTableItr ( std::array< void const *, sizeof...(Args)> const &  iValues,
unsigned int  iOffset 
)
inline

Definition at line 129 of file TableItr.h.

129  : m_values{iValues} {
130  impl::ConstTableItrAdvance<sizeof...(Args) - 1, Args...>::advance(m_values, static_cast<long>(iOffset));
131  }

Member Function Documentation

◆ makeOffset()

template<typename... Args>
TableItr<Args...> edm::soa::ConstTableItr< Args >::makeOffset ( long  iDiff) const
inline

Definition at line 144 of file TableItr.h.

144 { return TableItr<Args...>{m_values, iDiff}; }

References edm::soa::ConstTableItr< Args >::m_values.

Referenced by edm::soa::operator+().

◆ operator!=()

template<typename... Args>
bool edm::soa::ConstTableItr< Args >::operator!= ( const ConstTableItr< Args... > &  iOther)
inline

Definition at line 142 of file TableItr.h.

142 { return m_values[0] != iOther.m_values[0]; }

References edm::soa::ConstTableItr< Args >::m_values.

◆ operator*()

template<typename... Args>
value_type edm::soa::ConstTableItr< Args >::operator* ( void  ) const
inline

Definition at line 133 of file TableItr.h.

133 { return value_type{m_values}; }

References edm::soa::ConstTableItr< Args >::m_values.

◆ operator++()

template<typename... Args>
ConstTableItr& edm::soa::ConstTableItr< Args >::operator++ ( void  )
inline

Definition at line 135 of file TableItr.h.

135  {
136  impl::ConstTableItrAdvance<sizeof...(Args) - 1, Args...>::advance(m_values, 1);
137  return *this;
138  }

References edm::soa::ConstTableItr< Args >::m_values.

◆ operator==()

template<typename... Args>
bool edm::soa::ConstTableItr< Args >::operator== ( const ConstTableItr< Args... > &  iOther)
inline

Definition at line 140 of file TableItr.h.

140 { return m_values[0] == iOther.m_values[0]; }

References edm::soa::ConstTableItr< Args >::m_values.

Member Data Documentation

◆ m_values

template<typename... Args>
std::array<void const*, sizeof...(Args)> edm::soa::ConstTableItr< Args >::m_values
private
TableItr
edm::soa::ConstTableItr::value_type
RowView< Args... > value_type
Definition: TableItr.h:121
edm::soa::ConstTableItr::m_values
std::array< void const *, sizeof...(Args)> m_values
Definition: TableItr.h:118