ROSE  0.9.10.47
Public Types | Public Member Functions | List of all members
Sawyer::Container::Graph< V, E, VKey, EKey, Alloc >::ConstEdgeValueIterator 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 >::ConstEdgeValueIterator

Bidirectional edge value iterator.

Iterates over the edge values in a list, returning the user-defined value (type EdgeValue) when dereferenced. Edge iterators are stable across insert and erase operations. The difference between EdgeValueIterator and ConstEdgeValueIterator is that the latter returns const references when dereferenced.

Definition at line 981 of file Graph.h.

#include <Graph.h>

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

Public Types

typedef const EdgeValueReference
 
typedef const EdgeValuePointer
 

Public Member Functions

 ConstEdgeValueIterator (const ConstEdgeValueIterator &other)
 
 ConstEdgeValueIterator (const EdgeValueIterator &other)
 
 ConstEdgeValueIterator (const EdgeIterator &other)
 
 ConstEdgeValueIterator (const ConstEdgeIterator &other)
 
const EdgeValueoperator* () const
 
const EdgeValueoperator-> () const
 
- Public Member Functions inherited from Sawyer::Container::Graph< V, E, VKey, EKey, Alloc >::EdgeBaseIterator< ConstEdgeValueIterator, const EdgeValue, const Edge, EdgeList::ConstNodeIterator, const VirtualList< Edge > >
ConstEdgeValueIteratoroperator= (const ConstEdgeValueIterator &other)
 Assignment. More...
 
bool operator< (const EdgeBaseIterator &other) const
 Iterator comparison. More...
 
ConstEdgeValueIteratoroperator++ ()
 Increment. More...
 
ConstEdgeValueIterator operator++ (int)
 Increment. More...
 
ConstEdgeValueIteratoroperator-- ()
 Decrement. More...
 
ConstEdgeValueIterator 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 >::EdgeBaseIterator< ConstEdgeValueIterator, const EdgeValue, 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 Edgedereference () const
 

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