Dune::Amg::MatrixGraph< M >::VertexIteratorT< C > Class Template Reference

#include <graph.hh>

List of all members.


Detailed Description

template<class M>
template<class C>
class Dune::Amg::MatrixGraph< M >::VertexIteratorT< C >

The vertex iterator type of the graph.

Public Types

enum  { isMutable = is_same<C }
typedef remove_const< C >::type MutableContainer
 The mutable type of the container type.
typedef const remove_const< C >
::type 
ConstContainer
 The constant type of the container type.

Public Member Functions

 VertexIteratorT (C *graph, const VertexDescriptor &current)
 Constructor.
 VertexIteratorT (const VertexDescriptor &current)
 Constructor for the end iterator.
VertexIteratorT< C > & operator++ ()
 Move to the next vertex.
bool operator!= (const VertexIteratorT< ConstContainer > &other) const
 Inequality operator.
bool operator== (const VertexIteratorT< ConstContainer > &other) const
 Equality operator.
bool operator!= (const VertexIteratorT< MutableContainer > &other) const
 Inequality operator.
bool operator== (const VertexIteratorT< MutableContainer > &other) const
 Equality operator.
WeightType & weight () const
 Access the weight of the vertex.
const VertexDescriptoroperator* () const
 Get the descriptor of the current vertex.
EdgeIteratorT< C > begin () const
 Get an iterator over all edges starting at the current vertex.
EdgeIteratorT< C > end () const
 Get an iterator over all edges starting at the current vertex.

Member Enumeration Documentation

template<class M>
template<class C>
anonymous enum

Enumerator:
isMutable  whether C is mutable.


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

Generated on Thu Apr 2 10:40:17 2009 for dune-istl by  doxygen 1.5.6