Regina 7.0 Calculation Engine
|
A bidirectional iterator that runs through the raw vectors for surfaces in this list. More...
#include <surface/normalsurfaces.h>
Public Types | |
using | iterator_category = std::bidirectional_iterator_tag |
Declares this to be a bidirectional iterator type. More... | |
using | value_type = Vector< LargeInteger > |
Indicates what type the iterator points to. More... | |
using | difference_type = ptrdiff_t |
The type obtained by subtracting iterators. More... | |
using | pointer = const Vector< LargeInteger > * |
A pointer to value_type. More... | |
using | reference = const Vector< LargeInteger > & |
The type obtained when dereferencing iterators. More... | |
Public Member Functions | |
VectorIterator ()=default | |
Creates a new uninitialised iterator. More... | |
VectorIterator (const VectorIterator &cloneMe)=default | |
Creates a copy of the given iterator. More... | |
VectorIterator & | operator= (const VectorIterator &cloneMe)=default |
Makes this a copy of the given iterator. More... | |
bool | operator== (const VectorIterator &other) const |
Compares this with the given iterator for equality. More... | |
bool | operator!= (const VectorIterator &other) const |
Compares this with the given iterator for inequality. More... | |
const Vector< LargeInteger > & | operator* () const |
Returns the raw vector for the normal surface that this iterator is currently pointing to. More... | |
VectorIterator & | operator++ () |
The preincrement operator. More... | |
VectorIterator | operator++ (int) |
The postincrement operator. More... | |
VectorIterator & | operator-- () |
The predecrement operator. More... | |
VectorIterator | operator-- (int) |
The postdecrement operator. More... | |
Friends | |
class | NormalSurfaces |
A bidirectional iterator that runs through the raw vectors for surfaces in this list.
using regina::NormalSurfaces::VectorIterator::difference_type = ptrdiff_t |
The type obtained by subtracting iterators.
using regina::NormalSurfaces::VectorIterator::iterator_category = std::bidirectional_iterator_tag |
Declares this to be a bidirectional iterator type.
using regina::NormalSurfaces::VectorIterator::pointer = const Vector<LargeInteger>* |
A pointer to value_type.
using regina::NormalSurfaces::VectorIterator::reference = const Vector<LargeInteger>& |
The type obtained when dereferencing iterators.
Indicates what type the iterator points to.
|
default |
Creates a new uninitialised iterator.
|
default |
Creates a copy of the given iterator.
cloneMe | the iterator to clone. |
|
inline |
Compares this with the given iterator for inequality.
other | the iterator to compare this with. |
false
if the iterators point to the same element of the same normal surface list, or true
if they do not.
|
inline |
Returns the raw vector for the normal surface that this iterator is currently pointing to.
|
inline |
The preincrement operator.
|
inline |
The postincrement operator.
|
inline |
The predecrement operator.
|
inline |
The postdecrement operator.
|
default |
Makes this a copy of the given iterator.
cloneMe | the iterator to clone. |
|
inline |
Compares this with the given iterator for equality.
other | the iterator to compare this with. |
true
if the iterators point to the same element of the same normal surface list, or false
if they do not.