DP3
Public Member Functions | List of all members
dp3::parmdb::CellIterator Class Reference

Utility class that simplifies iterating over a 2-D range of cells. More...

#include <Grid.h>

Public Member Functions

 CellIterator (const Grid::Location &start, const Grid::Location &end)
 
bool atEnd () const
 Test if the iterator is at the end. More...
 
const Grid::Locationoperator* () const
 STL-like iterator dereference. More...
 
const Grid::Locationoperator-> () const
 STL-like iterator pointer. More...
 
void operator++ ()
 
void operator++ (int)
 

Detailed Description

Utility class that simplifies iterating over a 2-D range of cells.

Constructor & Destructor Documentation

◆ CellIterator()

dp3::parmdb::CellIterator::CellIterator ( const Grid::Location start,
const Grid::Location end 
)
inline

Member Function Documentation

◆ atEnd()

bool dp3::parmdb::CellIterator::atEnd ( ) const
inline

Test if the iterator is at the end.

◆ operator*()

const Grid::Location& dp3::parmdb::CellIterator::operator* ( ) const
inline

STL-like iterator dereference.

◆ operator++() [1/2]

void dp3::parmdb::CellIterator::operator++ ( )
inline

Increment the iterator.

◆ operator++() [2/2]

void dp3::parmdb::CellIterator::operator++ ( int  )
inline

◆ operator->()

const Grid::Location* dp3::parmdb::CellIterator::operator-> ( ) const
inline

STL-like iterator pointer.


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