ROSE  0.9.10.6
Public Types | Public Member Functions | List of all members
Sawyer::Container::Graph< V, E, VKey, EKey, Alloc >::ConstVertexValueIterator Class Reference

Description

template<class V = Nothing, class E = Nothing, class VKey = GraphVertexNoKey<V>, class EKey = GraphEdgeNoKey<E>, class Alloc = DefaultAllocator>
class Sawyer::Container::Graph< V, E, VKey, EKey, Alloc >::ConstVertexValueIterator

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.

Definition at line 1075 of file Graph.h.

#include <Graph.h>

Inheritance diagram for Sawyer::Container::Graph< V, E, VKey, EKey, Alloc >::ConstVertexValueIterator:
Inheritance graph
[legend]
Collaboration diagram for Sawyer::Container::Graph< V, E, VKey, EKey, Alloc >::ConstVertexValueIterator:
Collaboration graph
[legend]

Public Types

typedef const VertexValueReference
 
typedef const VertexValuePointer
 

Public Member Functions

 ConstVertexValueIterator (const ConstVertexValueIterator &other)
 
 ConstVertexValueIterator (const VertexValueIterator &other)
 
 ConstVertexValueIterator (const VertexIterator &other)
 
 ConstVertexValueIterator (const ConstVertexIterator &other)
 
const VertexValueoperator* () const
 
const VertexValueoperator-> () const
 
- Public Member Functions inherited from Sawyer::Container::Graph< V, E, VKey, EKey, Alloc >::VertexBaseIterator< ConstVertexValueIterator, const VertexValue, const Vertex, VertexList::ConstNodeIterator >
ConstVertexValueIteratoroperator= (const ConstVertexValueIterator &other)
 Assignment. More...
 
bool operator< (const VertexBaseIterator &other) const
 Iterator comparison. More...
 
ConstVertexValueIteratoroperator++ ()
 Increment. More...
 
ConstVertexValueIterator operator++ (int)
 Increment. More...
 
ConstVertexValueIteratoroperator-- ()
 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...
 

Additional Inherited Members

- 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 Vertexdereference () const
 

The documentation for this class was generated from the following file: