walberla::cell::CellIntervalIterator Class Reference

#include <CellInterval.h>

Public Types

using iterator_category = std::bidirectional_iterator_tag
 
using value_type = Cell
 
using difference_type = ptrdiff_t
 
using pointer = Cell *
 
using reference = Cell &
 

Public Member Functions

 CellIntervalIterator (const CellInterval &ci, const Cell &cell)
 
const CellIntervalIteratoroperator++ ()
 
CellIntervalIterator operator++ (int)
 
const CellIntervalIteratoroperator-- ()
 
CellIntervalIterator operator-- (int)
 
bool operator== (const CellIntervalIterator &other) const
 
bool operator!= (const CellIntervalIterator &other) const
 
Cell operator* () const
 
const Celloperator-> () const
 

Private Member Functions

void increment ()
 
void decrement ()
 

Private Attributes

const CellIntervalci_
 
Cell cell_
 

Member Typedef Documentation

◆ difference_type

◆ iterator_category

using walberla::cell::CellIntervalIterator::iterator_category = std::bidirectional_iterator_tag

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ CellIntervalIterator()

walberla::cell::CellIntervalIterator::CellIntervalIterator ( const CellInterval ci,
const Cell cell 
)
inline

Member Function Documentation

◆ decrement()

void walberla::cell::CellIntervalIterator::decrement ( )
inlineprivate

◆ increment()

void walberla::cell::CellIntervalIterator::increment ( )
inlineprivate

◆ operator!=()

bool walberla::cell::CellIntervalIterator::operator!= ( const CellIntervalIterator other) const
inline

◆ operator*()

Cell walberla::cell::CellIntervalIterator::operator* ( ) const
inline

◆ operator++() [1/2]

const CellIntervalIterator& walberla::cell::CellIntervalIterator::operator++ ( )
inline

◆ operator++() [2/2]

CellIntervalIterator walberla::cell::CellIntervalIterator::operator++ ( int  )
inline

◆ operator--() [1/2]

const CellIntervalIterator& walberla::cell::CellIntervalIterator::operator-- ( )
inline

◆ operator--() [2/2]

CellIntervalIterator walberla::cell::CellIntervalIterator::operator-- ( int  )
inline

◆ operator->()

const Cell* walberla::cell::CellIntervalIterator::operator-> ( ) const
inline

◆ operator==()

bool walberla::cell::CellIntervalIterator::operator== ( const CellIntervalIterator other) const
inline

Member Data Documentation

◆ cell_

Cell walberla::cell::CellIntervalIterator::cell_
private

◆ ci_

const CellInterval& walberla::cell::CellIntervalIterator::ci_
private

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