A bidirectional iterator that runs through the raw vectors for surfaces in this list.
More...
#include <surface/normalsurfaces.h>
A bidirectional iterator that runs through the raw vectors for surfaces in this list.
- Python
- Not present. Instead NormalSurfaces::vectors() returns an object of a different (hidden) class that supports the Python iterable/iterator interface.
◆ difference_type
The type obtained by subtracting iterators.
◆ iterator_category
Declares this to be a bidirectional iterator type.
◆ pointer
◆ reference
The type obtained when dereferencing iterators.
◆ value_type
Indicates what type the iterator points to.
◆ VectorIterator() [1/2]
regina::NormalSurfaces::VectorIterator::VectorIterator |
( |
| ) |
|
|
default |
Creates a new uninitialised iterator.
◆ VectorIterator() [2/2]
regina::NormalSurfaces::VectorIterator::VectorIterator |
( |
const VectorIterator & |
| ) |
|
|
default |
Creates a copy of the given iterator.
◆ operator!=()
bool regina::NormalSurfaces::VectorIterator::operator!= |
( |
const VectorIterator & |
other | ) |
const |
|
inline |
Compares this with the given iterator for inequality.
- Parameters
-
other | the iterator to compare this with. |
- Returns
false
if the iterators point to the same element of the same normal surface list, or true
if they do not.
◆ operator*()
const Vector< LargeInteger > & regina::NormalSurfaces::VectorIterator::operator* |
( |
| ) |
const |
|
inline |
Returns the raw vector for the normal surface that this iterator is currently pointing to.
- Precondition
- This iterator is dereferenceable (in particular, it is not past-the-end).
- Returns
- the corresponding normal surface vector.
◆ operator++() [1/2]
The preincrement operator.
- Returns
- a reference to this iterator after the increment.
◆ operator++() [2/2]
The postincrement operator.
- Returns
- a copy of this iterator before the increment took place.
◆ operator--() [1/2]
The predecrement operator.
- Returns
- a reference to this iterator after the decrement.
◆ operator--() [2/2]
The postdecrement operator.
- Returns
- a copy of this iterator before the decrement took place.
◆ operator=()
Makes this a copy of the given iterator.
- Returns
- a reference to this iterator.
◆ operator==()
bool regina::NormalSurfaces::VectorIterator::operator== |
( |
const VectorIterator & |
other | ) |
const |
|
inline |
Compares this with the given iterator for equality.
- Parameters
-
other | the iterator to compare this with. |
- Returns
true
if the iterators point to the same element of the same normal surface list, or false
if they do not.
The documentation for this class was generated from the following file: