MaMiCo 1.2
|
Provides iterator functionality (increment, access as <*cell, index> pair, equality) More...
#include <CellContainer.h>
Public Types | |
using | CouplingCellIterator = typename std::vector<coupling::datastructures::CouplingCell<dim>*>::const_iterator |
Public Member Functions | |
Iterator (CouplingCellIterator itCouplingCells, typename CellIndexT::IndexIterator itIdx) | |
const std::pair< coupling::datastructures::CouplingCell< dim > *, CellIndexT > | operator* () const |
Iterator & | operator++ () |
Iterator | operator++ (int) |
Private Attributes | |
CouplingCellIterator | _itCouplingCells |
CellIndexT::IndexIterator | _itIdx |
Friends | |
bool | operator== (const Iterator &a, const Iterator &b) |
bool | operator!= (const Iterator &a, const Iterator &b) |
Provides iterator functionality (increment, access as <*cell, index> pair, equality)
|
inline |
Iterator access, returning the data at the current iterator location
|
private |
Iterator to underlying cell* vector
|
private |
Iterator over the index subdomain
As the container spans the whole index subdomain, the iterators already available for this index domain can be reused, and incremented in lockstep with the internal iterator for the vector