|
ROSE
0.11.96.11
|
Bidirectional vertex value iterator.
Iterates over the vertex values in a list, returning the user-defined value (type VertexValue) when dereferenced. Vertex iterators are stable across insert and erase operations. The difference between VertexValueIterator and ConstVertexValueIterator is that the latter returns const references when dereferenced.
#include <Graph.h>


Public Member Functions | |
| ConstVertexValueIterator (const ConstVertexValueIterator &other) | |
| ConstVertexValueIterator (const VertexValueIterator &other) | |
| ConstVertexValueIterator (const VertexIterator &other) | |
| ConstVertexValueIterator (const ConstVertexIterator &other) | |
| const VertexValue & | operator* () const |
| const VertexValue * | operator-> () const |
Public Member Functions inherited from Sawyer::Container::Graph< V, E, VKey, EKey, Alloc >::VertexBaseIterator< ConstVertexValueIterator, const VertexValue, const Vertex, VertexList::ConstNodeIterator > | |
| ConstVertexValueIterator & | operator= (const ConstVertexValueIterator &other) |
| Assignment. | |
| bool | isEmpty () const |
| True if iterator doesn't point to anything. | |
| ConstVertexValueIterator & | operator++ () |
| Increment. More... | |
| ConstVertexValueIterator | operator++ (int) |
| Increment. More... | |
| ConstVertexValueIterator & | operator-- () |
| Decrement. More... | |
| ConstVertexValueIterator | operator-- (int) |
| Decrement. More... | |
| bool | operator== (const OtherIter &other) const |
| Equality predicate. More... | |
| bool | operator!= (const OtherIter &other) const |
| Equality predicate. More... | |
Public Attributes | |
| const typedef VertexValue & | Reference |
| const typedef VertexValue * | Pointer |
Additional Inherited Members | |
Public Types inherited from Sawyer::Container::Graph< V, E, VKey, EKey, Alloc >::VertexBaseIterator< ConstVertexValueIterator, const VertexValue, const Vertex, VertexList::ConstNodeIterator > | |
| using | iterator_category = std::bidirectional_iterator_tag |
| using | value_type = const VertexValue |
| using | difference_type = std::ptrdiff_t |
| using | pointer = const VertexValue * |
| using | reference = const VertexValue & |
Protected Member Functions inherited from Sawyer::Container::Graph< V, E, VKey, EKey, Alloc >::VertexBaseIterator< ConstVertexValueIterator, const VertexValue, const Vertex, VertexList::ConstNodeIterator > | |
| VertexBaseIterator (const VertexBaseIterator &other) | |
| VertexBaseIterator (const VertexList::ConstNodeIterator &base) | |
| const Vertex & | dereference () const |
1.8.17