Project
Loading...
Searching...
No Matches
o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator Class Reference

Iterator class for configurable direction, i.e. either row or column. More...

#include <TableView.h>

Inherited by o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::outerIterator< Direction >.

Classes

struct  value_type
 

Public Types

enum  IteratorDirections { kAlongRow , kAlongColumn }
 
using self_type = iterator
 

Public Member Functions

 iterator ()=delete
 
 ~iterator ()=default
 
 iterator (IteratorDirections direction, TableView *parent, unsigned row=0, unsigned column=0)
 
self_typeoperator++ ()
 
value_type operator* () const
 
bool operator== (const self_type &other) const
 
bool operator!= (const self_type &other) const
 
bool isEnd () const
 
bool isValid () const
 

Protected Attributes

IteratorDirections mDirection
 
unsigned mRow
 
unsigned mColumn
 
unsigned mEnd
 
TableViewmParent
 
value_type mCache
 
bool mIsCached
 

Detailed Description

template<typename RowDescT, typename ColumnDescT, typename ParserT>
class o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator

Iterator class for configurable direction, i.e. either row or column.

Definition at line 169 of file TableView.h.

Member Typedef Documentation

◆ self_type

template<typename RowDescT , typename ColumnDescT , typename ParserT >
using o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator::self_type = iterator

Definition at line 175 of file TableView.h.

Member Enumeration Documentation

◆ IteratorDirections

template<typename RowDescT , typename ColumnDescT , typename ParserT >
enum o2::algorithm::TableView::iterator::IteratorDirections
Enumerator
kAlongRow 
kAlongColumn 

Definition at line 177 of file TableView.h.

Constructor & Destructor Documentation

◆ iterator() [1/2]

template<typename RowDescT , typename ColumnDescT , typename ParserT >
o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator::iterator ( )
delete

◆ ~iterator()

template<typename RowDescT , typename ColumnDescT , typename ParserT >
o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator::~iterator ( )
default

◆ iterator() [2/2]

template<typename RowDescT , typename ColumnDescT , typename ParserT >
o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator::iterator ( IteratorDirections  direction,
TableView parent,
unsigned  row = 0,
unsigned  column = 0 
)
inline

Definition at line 184 of file TableView.h.

Member Function Documentation

◆ isEnd()

template<typename RowDescT , typename ColumnDescT , typename ParserT >
bool o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator::isEnd ( ) const
inline

Definition at line 231 of file TableView.h.

◆ isValid()

template<typename RowDescT , typename ColumnDescT , typename ParserT >
bool o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator::isValid ( ) const
inline

Definition at line 236 of file TableView.h.

◆ operator!=()

template<typename RowDescT , typename ColumnDescT , typename ParserT >
bool o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator::operator!= ( const self_type other) const
inline

Definition at line 226 of file TableView.h.

◆ operator*()

template<typename RowDescT , typename ColumnDescT , typename ParserT >
value_type o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator::operator* ( ) const
inline

Definition at line 210 of file TableView.h.

◆ operator++()

template<typename RowDescT , typename ColumnDescT , typename ParserT >
self_type & o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator::operator++ ( )
inline

Definition at line 192 of file TableView.h.

◆ operator==()

template<typename RowDescT , typename ColumnDescT , typename ParserT >
bool o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator::operator== ( const self_type other) const
inline

Definition at line 221 of file TableView.h.

Member Data Documentation

◆ mCache

template<typename RowDescT , typename ColumnDescT , typename ParserT >
value_type o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator::mCache
protected

Definition at line 252 of file TableView.h.

◆ mColumn

template<typename RowDescT , typename ColumnDescT , typename ParserT >
unsigned o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator::mColumn
protected

Definition at line 249 of file TableView.h.

◆ mDirection

template<typename RowDescT , typename ColumnDescT , typename ParserT >
IteratorDirections o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator::mDirection
protected

Definition at line 247 of file TableView.h.

◆ mEnd

template<typename RowDescT , typename ColumnDescT , typename ParserT >
unsigned o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator::mEnd
protected

Definition at line 250 of file TableView.h.

◆ mIsCached

template<typename RowDescT , typename ColumnDescT , typename ParserT >
bool o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator::mIsCached
protected

Definition at line 253 of file TableView.h.

◆ mParent

template<typename RowDescT , typename ColumnDescT , typename ParserT >
TableView* o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator::mParent
protected

Definition at line 251 of file TableView.h.

◆ mRow

template<typename RowDescT , typename ColumnDescT , typename ParserT >
unsigned o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator::mRow
protected

Definition at line 248 of file TableView.h.


The documentation for this class was generated from the following file: