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 127 of file TableItr.h.

Member Typedef Documentation

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

Definition at line 128 of file TableItr.h.

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

Definition at line 131 of file TableItr.h.

Constructor & Destructor Documentation

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

Definition at line 133 of file TableItr.h.

133  :
134  m_values{iValues} {}
std::array< void const *, sizeof...(Args)> m_values
Definition: TableItr.h:129
template<typename... Args>
edm::soa::ConstTableItr< Args >::ConstTableItr ( std::array< void const *, sizeof...(Args)> const &  iValues,
long  iOffset 
)
inline

Definition at line 136 of file TableItr.h.

References edm::soa::impl::TableItrAdvance< I, Args >::advance().

136  :
137  m_values{iValues} {
138  impl::ConstTableItrAdvance<sizeof...(Args)-1, Args...>::advance(m_values, iOffset);
139  }
std::array< void const *, sizeof...(Args)> m_values
Definition: TableItr.h:129
template<typename... Args>
edm::soa::ConstTableItr< Args >::ConstTableItr ( std::array< void const *, sizeof...(Args)> const &  iValues,
unsigned int  iOffset 
)
inline

Definition at line 141 of file TableItr.h.

References edm::soa::impl::TableItrAdvance< I, Args >::advance().

141  :
142  m_values{iValues} {
143  impl::ConstTableItrAdvance<sizeof...(Args)-1, Args...>::advance(m_values, static_cast<long>(iOffset));
144  }
std::array< void const *, sizeof...(Args)> m_values
Definition: TableItr.h:129

Member Function Documentation

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

Definition at line 163 of file TableItr.h.

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

163  {
164  return TableItr<Args...>{ m_values, iDiff };
165  }
std::array< void const *, sizeof...(Args)> m_values
Definition: TableItr.h:129
template<typename... Args>
bool edm::soa::ConstTableItr< Args >::operator!= ( const ConstTableItr< Args... > &  iOther)
inline

Definition at line 159 of file TableItr.h.

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

159  {
160  return m_values[0] != iOther.m_values[0];
161  }
std::array< void const *, sizeof...(Args)> m_values
Definition: TableItr.h:129
template<typename... Args>
value_type edm::soa::ConstTableItr< Args >::operator* ( void  ) const
inline

Definition at line 146 of file TableItr.h.

146  {
147  return value_type{m_values};
148  }
RowView< Args... > value_type
Definition: TableItr.h:131
std::array< void const *, sizeof...(Args)> m_values
Definition: TableItr.h:129
template<typename... Args>
ConstTableItr& edm::soa::ConstTableItr< Args >::operator++ ( void  )
inline

Definition at line 150 of file TableItr.h.

References edm::soa::impl::TableItrAdvance< I, Args >::advance().

150  {
151  impl::ConstTableItrAdvance<sizeof...(Args)-1, Args...>::advance(m_values, 1);
152  return *this;
153  }
std::array< void const *, sizeof...(Args)> m_values
Definition: TableItr.h:129
template<typename... Args>
bool edm::soa::ConstTableItr< Args >::operator== ( const ConstTableItr< Args... > &  iOther)
inline

Definition at line 155 of file TableItr.h.

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

155  {
156  return m_values[0] == iOther.m_values[0];
157  }
std::array< void const *, sizeof...(Args)> m_values
Definition: TableItr.h:129

Member Data Documentation

template<typename... Args>
std::array<void const*, sizeof...(Args)> edm::soa::ConstTableItr< Args >::m_values
private