#include <nanglestructurelist.h>
Public Member Functions | |
StructureInserter () | |
Creates a new uninitialised output iterator. | |
StructureInserter (NAngleStructureList &newList, NTriangulation *newOwner) | |
Creates a new output iterator. | |
StructureInserter (const StructureInserter &cloneMe) | |
Creates a new output iterator that is a clone of the given iterator. | |
StructureInserter & | operator= (const StructureInserter &cloneMe) |
Sets this iterator to be a clone of the given output iterator. | |
StructureInserter & | operator= (NAngleStructure *structure) |
Appends an angle structure to the end of the appropriate structure list. | |
StructureInserter & | operator= (NAngleStructureVector *vector) |
Appends the angle structure corresponding to the given vector to the end of the appropriate structure list. | |
StructureInserter & | operator* () |
Returns a reference to this output iterator. | |
StructureInserter & | operator++ () |
Returns a reference to this output iterator. | |
StructureInserter & | operator++ (int) |
Returns a reference to this output iterator. | |
Public Attributes | |
NAngleStructureList * | list |
The list into which angle structures will be inserted. | |
NTriangulation * | owner |
The triangulation on which the angle structures to be inserted lie. |
Objects of type NAngleStructure*
and NAngleStructureVector*
can be assigned to this iterator. In the latter case, a surrounding NAngleStructure will be automatically created.
regina::NAngleStructureList::NAngleStructureList::StructureInserter::StructureInserter | ( | ) | [inline] |
Creates a new uninitialised output iterator.
regina::NAngleStructureList::NAngleStructureList::StructureInserter::StructureInserter | ( | NAngleStructureList & | newList, | |
NTriangulation * | newOwner | |||
) | [inline] |
Creates a new output iterator.
The member variables of this iterator will be initialised according to the parameters passed to this constructor.
newList | the list into which angle structures will be inserted. | |
newOwner | the triangulation on which the structures to be inserted lie. |
regina::NAngleStructureList::NAngleStructureList::StructureInserter::StructureInserter | ( | const StructureInserter & | cloneMe | ) | [inline] |
Creates a new output iterator that is a clone of the given iterator.
cloneMe | the output iterator to clone. |
NAngleStructureList::StructureInserter & regina::NAngleStructureList::NAngleStructureList::StructureInserter::operator* | ( | ) | [inline] |
Returns a reference to this output iterator.
NAngleStructureList::StructureInserter & regina::NAngleStructureList::NAngleStructureList::StructureInserter::operator++ | ( | int | ) | [inline] |
Returns a reference to this output iterator.
NAngleStructureList::StructureInserter & regina::NAngleStructureList::NAngleStructureList::StructureInserter::operator++ | ( | ) | [inline] |
Returns a reference to this output iterator.
NAngleStructureList::StructureInserter & regina::NAngleStructureList::NAngleStructureList::StructureInserter::operator= | ( | NAngleStructureVector * | vector | ) | [inline] |
Appends the angle structure corresponding to the given vector to the end of the appropriate structure list.
The given vector will be owned by the newly created angle structure and will be deallocated with the other angle structures in this list.
vector | the vector of the angle structure to insert. |
NAngleStructureList::StructureInserter & regina::NAngleStructureList::NAngleStructureList::StructureInserter::operator= | ( | NAngleStructure * | structure | ) | [inline] |
Appends an angle structure to the end of the appropriate structure list.
The given angle structure will be deallocated with the other angle structures in this list.
structure | the angle structure to insert. |
NAngleStructureList::StructureInserter & regina::NAngleStructureList::NAngleStructureList::StructureInserter::operator= | ( | const StructureInserter & | cloneMe | ) | [inline] |
Sets this iterator to be a clone of the given output iterator.
cloneMe | the output iterator to clone. |
NAngleStructureList* regina::NAngleStructureList::NAngleStructureList::StructureInserter::list |
The list into which angle structures will be inserted.
NTriangulation* regina::NAngleStructureList::NAngleStructureList::StructureInserter::owner |
The triangulation on which the angle structures to be inserted lie.