mp_traversals
Terrible Traversals
ImageTraversal::Iterator Class Reference

A forward iterator through an ImageTraversal. More...

#include <ImageTraversal.h>

Inheritance diagram for ImageTraversal::Iterator:
[legend]
Collaboration diagram for ImageTraversal::Iterator:
[legend]

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

◆ Iterator()

ImageTraversal::Iterator::Iterator ( )

Default iterator constructor.

Todo:
[Part 1]

Member Function Documentation

◆ operator *()

Point ImageTraversal::Iterator::operator * ( )

Iterator accessor opreator.

Accesses the current Point in the ImageTraversal.

Todo:
[Part 1]

◆ operator!=()

bool ImageTraversal::Iterator::operator!= ( const Iterator other)

Iterator inequality operator.

Determines if two iterators are not equal.

Todo:
[Part 1]

◆ operator++()

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

Iterator increment opreator.

Advances the traversal of the image.

Todo:
[Part 1]

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