![]() |
Walls And Holes
1
|
An almost-implemented iterator object that iterates through all positions in a rectangle. More...
#include <array2d_private.h>
Public Member Functions | |
Array2DItrTemplate & | operator++ () |
bool | operator== (const Array2DItrTemplate &other) const |
bool | operator!= (const Array2DItrTemplate &other) const |
Protected Member Functions | |
int | x () const |
int | y () const |
int | width () const |
int | height () const |
Array2DItrTemplate (int w, int h, int x, int y) | |
An almost-implemented iterator object that iterates through all positions in a rectangle.
A postfix ++ is not implemented (since this requires copying self).
Implementing operator*() will make this a valid iterator.
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |