Dune::Amg::PropertiesGraph< G, VP, EP, VM, EM >::VertexIteratorT< C > Class Template Reference

#include <dune/istl/paamg/graph.hh>

List of all members.

Public Types

typedef SelectType< is_same
< typename remove_const< C >
::type, C >::value, typename
Graph::VertexIterator,
typename
Graph::ConstVertexIterator >
::Type 
Father
 The father class.

Public Member Functions

 VertexIteratorT (const Father &iter, C *graph)
 Constructor.
 VertexIteratorT (const Father &iter)
 Constructor for the end iterator.
template<class C1 >
 VertexIteratorT (const VertexIteratorT< C1 > &other)
 Copy Constructor.
SelectType< is_same< C,
typename remove_const< C >
::type >::value,
VertexProperties &, const
VertexProperties & >::Type 
properties () const
 Get the properties of the current Vertex.
EdgeIteratorT< C > begin () const
 Get an iterator over the edges starting from the current vertex.
EdgeIteratorT< C > end () const
 Get an iterator over the edges starting from the current vertex.

Friends

class VertexIteratorT< const typename remove_const< C >::type >
class VertexIteratorT< typename remove_const< C >::type >

template<class G, class VP, class EP, class VM = IdentityMap, class EM = IdentityMap>
template<class C>
class Dune::Amg::PropertiesGraph< G, VP, EP, VM, EM >::VertexIteratorT< C >


Member Typedef Documentation

template<class G , class VP , class EP , class VM = IdentityMap, class EM = IdentityMap>
template<class C >
typedef SelectType<is_same<typename remove_const<C>::type, C>::value, typename Graph::VertexIterator, typename Graph::ConstVertexIterator>::Type Dune::Amg::PropertiesGraph< G, VP, EP, VM, EM >::VertexIteratorT< C >::Father

The father class.


Constructor & Destructor Documentation

template<class G , class VP , class EP , class VM = IdentityMap, class EM = IdentityMap>
template<class C >
Dune::Amg::PropertiesGraph< G, VP, EP, VM, EM >::VertexIteratorT< C >::VertexIteratorT ( const Father iter,
C *  graph 
) [explicit]

Constructor.

Parameters:
iter The iterator of the underlying graph.
graph The property graph over whose vertices we iterate.
template<class G , class VP , class EP , class VM = IdentityMap, class EM = IdentityMap>
template<class C >
Dune::Amg::PropertiesGraph< G, VP, EP, VM, EM >::VertexIteratorT< C >::VertexIteratorT ( const Father iter  )  [explicit]

Constructor for the end iterator.

Only operator!= or operator== can be called safely on an iterator constructed this way.

Parameters:
iter The iterator of the underlying graph.
template<class G , class VP , class EP , class VM = IdentityMap, class EM = IdentityMap>
template<class C >
template<class C1 >
Dune::Amg::PropertiesGraph< G, VP, EP, VM, EM >::VertexIteratorT< C >::VertexIteratorT ( const VertexIteratorT< C1 > &  other  )  [inline]

Copy Constructor.

Parameters:
other The iterator to copy.

Member Function Documentation

template<class G , class VP , class EP , class VM = IdentityMap, class EM = IdentityMap>
template<class C >
EdgeIteratorT<C> Dune::Amg::PropertiesGraph< G, VP, EP, VM, EM >::VertexIteratorT< C >::begin (  )  const

Get an iterator over the edges starting from the current vertex.

Returns:
An iterator over the edges starting from the current vertex positioned at the first edge.
template<class G , class VP , class EP , class VM = IdentityMap, class EM = IdentityMap>
template<class C >
EdgeIteratorT<C> Dune::Amg::PropertiesGraph< G, VP, EP, VM, EM >::VertexIteratorT< C >::end (  )  const

Get an iterator over the edges starting from the current vertex.

Returns:
An iterator over the edges starting from the current vertex positioned after the last edge.
template<class G , class VP , class EP , class VM = IdentityMap, class EM = IdentityMap>
template<class C >
SelectType<is_same<C,typename remove_const<C>::type>::value, VertexProperties&, const VertexProperties&>::Type Dune::Amg::PropertiesGraph< G, VP, EP, VM, EM >::VertexIteratorT< C >::properties (  )  const

Get the properties of the current Vertex.


Friends And Related Function Documentation

template<class G , class VP , class EP , class VM = IdentityMap, class EM = IdentityMap>
template<class C >
friend class VertexIteratorT< const typename remove_const< C >::type > [friend]
template<class G , class VP , class EP , class VM = IdentityMap, class EM = IdentityMap>
template<class C >
friend class VertexIteratorT< typename remove_const< C >::type > [friend]

The documentation for this class was generated from the following file:
Generated on Sat Apr 24 11:13:51 2010 for dune-istl by  doxygen 1.6.3