|
DP3
|
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::Location & | operator* () const |
| STL-like iterator dereference. More... | |
| const Grid::Location * | operator-> () const |
| STL-like iterator pointer. More... | |
| void | operator++ () |
| void | operator++ (int) |
Utility class that simplifies iterating over a 2-D range of cells.
|
inline |
|
inline |
Test if the iterator is at the end.
|
inline |
STL-like iterator dereference.
|
inline |
Increment the iterator.
|
inline |
|
inline |
STL-like iterator pointer.