DFS and BFS using Stacks and Queues
ImageTraversal::Iterator Class Reference

A forward iterator through an ImageTraversal. More...

#include "ImageTraversal.h"

+ Inheritance diagram for ImageTraversal::Iterator:
+ Collaboration diagram for ImageTraversal::Iterator:

Public Member Functions

 Iterator ()
 Default iterator constructor. More...
Iteratoroperator++ ()
 Iterator increment opreator. More...
Point operator* ()
 Iterator accessor opreator. More...
bool operator!= (const Iterator &other)
 Iterator inequality operator. More...

Detailed Description

A forward iterator through an ImageTraversal.

Constructor & Destructor Documentation

ImageTraversal::Iterator::Iterator ( )

Default iterator constructor.

[Part 1]

Member Function Documentation

ImageTraversal::Iterator & ImageTraversal::Iterator::operator++ ( )

Iterator increment opreator.

Advances the traversal of the image.

[Part 1]
Point ImageTraversal::Iterator::operator* ( )

Iterator accessor opreator.

Accesses the current Point in the ImageTraversal.

[Part 1]
bool ImageTraversal::Iterator::operator!= ( const Iterator other)

Iterator inequality operator.

Determines if two iterators are not equal.

[Part 1]

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