|
Regina Calculation Engine
|
An iterator used for running through all normal discs in a normal surface. More...
#include <surfaces/disc.h>
Public Member Functions | |
| DiscSpecIterator () | |
| Creates a new uninitialised iterator. More... | |
| DiscSpecIterator (const DiscSetSurface &discSet) | |
| Creates a new iterator pointing to the first disc in the given disc set. More... | |
| void | init (const DiscSetSurface &discSet) |
| Points this iterator to the first disc in the given disc set. More... | |
| void | operator++ () |
| Points this iterator to the next disc, or makes it past-the-end if there is no next disc. More... | |
| void | operator++ (int) |
| Points this iterator to the next disc, or makes it past-the-end if there is no next disc. More... | |
| const DiscSpec & | operator* () const |
| Returns a reference to the disc pointed to by this iterator. More... | |
| bool | done () const |
| Determines if this iterator is past-the-end. More... | |
| bool | operator== (const DiscSpecIterator &other) const |
| Determines if this and the given iterator are equal. More... | |
| bool | operator!= (const DiscSpecIterator &other) const |
| Determines if this and the given iterator are different. More... | |
Protected Attributes | |
| const DiscSetSurface * | internalDiscSet |
| The disc set through which we are iterating. More... | |
| DiscSpec | current |
| The disc currently pointed to. More... | |
An iterator used for running through all normal discs in a normal surface.
unsigned long. See the precondition below.