Proto
|
Iterator for Boxes. More...
#include <Proto_Box.H>
Public Member Functions | |
BoxIterator () | |
Constructor. | |
bool | operator== (const BoxIterator &a_iter) const |
Equality Operator. More... | |
bool | operator!= (const BoxIterator &a_iter) const |
Inequality Operator. | |
Point | operator* () const |
Dereference Iterator. More... | |
int | operator() () const |
Get Index. More... | |
BoxIterator & | operator++ () |
Increment Iterator. | |
BoxIterator & | operator-- () |
Decrement Iterator. | |
bool | done () |
Check if Done. | |
Iterator for Boxes.
Iteration class which conforms to most of the syntax of std Iterator implementations.
Example:
|
inline |
Get Index.
Returns the current index of the point *(*this).
|
inline |
Equality Operator.
Determines equality between two BoxIterators. Note that this operation CAN return true for BoxIterators constructed from different Box instances so long as said Boxes have the same bounds (e.g. they must be ==)