ROSE 0.11.145.192
|
Bidirectional edge node iterator.
Iterates over the edge nodes in a list, returning the Edge when dereferenced. Edge iterators are stable across insert and erase operations. The difference between EdgeIterator and ConstEdgeIterator is that the latter returns const references when dereferenced. A ConstEdgeIterator can be implicitly converted to a ConstEdgeValueIterator.
#include <Sawyer/Graph.h>
Public Types | |
typedef const Edge & | Reference |
typedef const Edge * | Pointer |
Public Types inherited from Sawyer::Container::Graph< V, E, VKey, EKey, Alloc >::EdgeBaseIterator< ConstEdgeIterator, const Edge, const Edge, EdgeList::ConstNodeIterator, const VirtualList< Edge > > | |
using | iterator_category = std::bidirectional_iterator_tag |
using | value_type = const Edge |
using | difference_type = std::ptrdiff_t |
using | pointer = const Edge * |
using | reference = const Edge & |
Public Member Functions | |
ConstEdgeIterator (const ConstEdgeIterator &other) | |
ConstEdgeIterator (const EdgeIterator &other) | |
ConstEdgeIterator & | operator= (const ConstEdgeIterator &other) |
const Edge & | operator* () const |
const Edge * | operator-> () const |
Public Member Functions inherited from Sawyer::Container::Graph< V, E, VKey, EKey, Alloc >::EdgeBaseIterator< ConstEdgeIterator, const Edge, const Edge, EdgeList::ConstNodeIterator, const VirtualList< Edge > > | |
ConstEdgeIterator & | operator= (const ConstEdgeIterator &other) |
Assignment. | |
bool | isEmpty () const |
True if iterator doesn't point to anything. | |
ConstEdgeIterator & | operator++ () |
Increment. | |
ConstEdgeIterator | operator++ (int) |
Increment. | |
ConstEdgeIterator & | operator-- () |
Decrement. | |
ConstEdgeIterator | operator-- (int) |
Decrement. | |
bool | operator== (const OtherIter &other) const |
Equality predicate. | |
bool | operator!= (const OtherIter &other) const |
Equality predicate. | |
Additional Inherited Members | |
Protected Member Functions inherited from Sawyer::Container::Graph< V, E, VKey, EKey, Alloc >::EdgeBaseIterator< ConstEdgeIterator, const Edge, const Edge, EdgeList::ConstNodeIterator, const VirtualList< Edge > > | |
EdgeBaseIterator (const EdgeBaseIterator &other) | |
EdgeBaseIterator (const EdgeList::ConstNodeIterator &iter) | |
EdgeBaseIterator (EdgePhase phase, const VirtualList< Edge > *vlist) | |
EdgeBaseIterator (EdgePhase phase, const BaseIter2 &iter, const VirtualList< Edge > *vlist) | |
const Edge & | dereference () const |
typedef const Edge& Sawyer::Container::Graph< V, E, VKey, EKey, Alloc >::ConstEdgeIterator::Reference |
typedef const Edge* Sawyer::Container::Graph< V, E, VKey, EKey, Alloc >::ConstEdgeIterator::Pointer |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |