#include <EdgeIterator.h>
Public Types | |
| typedef Base::iterator_category | iterator_category |
| Iterator category. | |
| typedef Base::value_type | value_type |
| Value type. | |
| typedef Base::difference_type | difference_type |
| Pointer difference type. | |
| typedef Base::pointer | pointer |
| Pointer to the value type. | |
| typedef Base::reference | reference |
| Reference to the value type. | |
| typedef value_type | Edge |
| An edge in the mesh. | |
|
typedef Loki::Select< Const, typename Mesh::CellConstIterator, typename Mesh::CellIterator >::Result | CellIterator |
| Cell iterator. | |
Public Member Functions | |
Constructors for the mesh to call. | |
| EdgeIterator (const CellIterator c, const CellIterator cellsEnd) | |
| Construct a edge const iterator for the mesh. | |
Constructors etc. | |
| EdgeIterator (const EdgeIterator &other) | |
| Copy constructor. | |
| EdgeIterator & | operator= (const EdgeIterator &other) |
| Assignment operator. | |
| ~EdgeIterator () | |
| Destructor. | |
| const Edge & | getEdge () const |
| The edge. | |
| const CellIterator & | getCellsEnd () const |
| The end of the list of cells. | |
| template<bool _Const> | |
| EdgeIterator (const EdgeIterator< Mesh, _Const > &other) | |
| Conversion from iterator to const iterator. | |
Forward iterator requirements | |
| reference | operator * () const |
| Dereference. | |
| pointer | operator-> () const |
| Return a const pointer to the edge. | |
| EdgeIterator & | operator++ () |
| Pre-increment. | |
| EdgeIterator | operator++ (int) |
| Post-increment. | |
Bidirectional iterator requirements | |
| EdgeIterator & | operator-- () |
| Pre-decrement. | |
| EdgeIterator | operator-- (int) |
| Post-decrement. | |
Equality. | |
| bool | operator== (const EdgeIterator &x) |
| Return true if x is an iterator to the same edge. | |
| bool | operator!= (const EdgeIterator &x) |
| Return true if x is not an iterator to the same edge. | |
| const CellIterator& EdgeIterator< _Mesh, Const >::getCellsEnd | ( | ) | const [inline] |
The end of the list of cells.
This is needed for the conversion constructor.
| const Edge& EdgeIterator< _Mesh, Const >::getEdge | ( | ) | const [inline] |
The edge.
This is needed for the conversion constructor.
| EdgeIterator EdgeIterator< _Mesh, Const >::operator++ | ( | int | ) | [inline] |
Post-increment.
| EdgeIterator EdgeIterator< _Mesh, Const >::operator-- | ( | int | ) | [inline] |
Post-decrement.
1.4.7