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

iterator for the outer access of the index, either row or column direction More...

#include <TableView.h>

Inherits o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator.

Public Types

using base = iterator
 
using value_type = typename base::value_type
 
using self_type = outerIterator
 
- Public Types inherited from o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator
enum  IteratorDirections { kAlongRow , kAlongColumn }
 
using self_type = iterator
 

Public Member Functions

 outerIterator ()=delete
 
 ~outerIterator ()=default
 
 outerIterator (TableView *parent, unsigned index)
 
self_typeoperator++ ()
 
iterator begin ()
 begin the inner iteration
 
iterator end ()
 end of the inner iteration
 
- Public Member Functions inherited from o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator
 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
 

Static Public Attributes

static const unsigned direction = Direction
 

Additional Inherited Members

- Protected Attributes inherited from o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::iterator
IteratorDirections mDirection
 
unsigned mRow
 
unsigned mColumn
 
unsigned mEnd
 
TableViewmParent
 
value_type mCache
 
bool mIsCached
 

Detailed Description

template<typename RowDescT, typename ColumnDescT, typename ParserT>
template<unsigned Direction>
class o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::outerIterator< Direction >

iterator for the outer access of the index, either row or column direction

Definition at line 258 of file TableView.h.

Member Typedef Documentation

◆ base

template<typename RowDescT , typename ColumnDescT , typename ParserT >
template<unsigned Direction>
using o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::outerIterator< Direction >::base = iterator

Definition at line 261 of file TableView.h.

◆ self_type

template<typename RowDescT , typename ColumnDescT , typename ParserT >
template<unsigned Direction>
using o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::outerIterator< Direction >::self_type = outerIterator

Definition at line 263 of file TableView.h.

◆ value_type

template<typename RowDescT , typename ColumnDescT , typename ParserT >
template<unsigned Direction>
using o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::outerIterator< Direction >::value_type = typename base::value_type

Definition at line 262 of file TableView.h.

Constructor & Destructor Documentation

◆ outerIterator() [1/2]

template<typename RowDescT , typename ColumnDescT , typename ParserT >
template<unsigned Direction>
o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::outerIterator< Direction >::outerIterator ( )
delete

◆ ~outerIterator()

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

◆ outerIterator() [2/2]

template<typename RowDescT , typename ColumnDescT , typename ParserT >
template<unsigned Direction>
o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::outerIterator< Direction >::outerIterator ( TableView parent,
unsigned  index 
)
inline

Definition at line 268 of file TableView.h.

Member Function Documentation

◆ begin()

template<typename RowDescT , typename ColumnDescT , typename ParserT >
template<unsigned Direction>
iterator o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::outerIterator< Direction >::begin ( )
inline

begin the inner iteration

Definition at line 288 of file TableView.h.

◆ end()

template<typename RowDescT , typename ColumnDescT , typename ParserT >
template<unsigned Direction>
iterator o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::outerIterator< Direction >::end ( )
inline

end of the inner iteration

Definition at line 297 of file TableView.h.

◆ operator++()

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

Definition at line 273 of file TableView.h.

Member Data Documentation

◆ direction

template<typename RowDescT , typename ColumnDescT , typename ParserT >
template<unsigned Direction>
const unsigned o2::algorithm::TableView< RowDescT, ColumnDescT, ParserT >::outerIterator< Direction >::direction = Direction
static

Definition at line 264 of file TableView.h.


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