dune-istl  2.4.1-rc2
Public Types | Public Member Functions | List of all members
Dune::Amg::PropertiesGraph< G, VP, EP, VM, EM >::EdgeIteratorT< C > Class Template Reference

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

Inheritance diagram for Dune::Amg::PropertiesGraph< G, VP, EP, VM, EM >::EdgeIteratorT< C >:
Inheritance graph

Public Types

typedef conditional< is_same
< typename remove_const< C >
::type, C >::value, typename
Graph::EdgeIterator, typename
Graph::ConstEdgeIterator >
::type 
Father
 The father class. More...
 

Public Member Functions

 EdgeIteratorT (const Father &iter, C *graph)
 Constructor. More...
 
 EdgeIteratorT (const Father &iter)
 Constructor for the end iterator. More...
 
template<class C1 >
 EdgeIteratorT (const EdgeIteratorT< C1 > &other)
 Copy constructor. More...
 
conditional< is_same< C,
typename remove_const< C >
::type >::value,
EdgeProperties &, const
EdgeProperties & >::type 
properties () const
 Get the properties of the current edge. More...
 

Member Typedef Documentation

template<class G , class VP , class EP , class VM = IdentityMap, class EM = IdentityMap>
template<class C >
typedef conditional<is_same<typename remove_const<C>::type, C>::value, typename Graph::EdgeIterator, typename Graph::ConstEdgeIterator>::type Dune::Amg::PropertiesGraph< G, VP, EP, VM, EM >::EdgeIteratorT< 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 >::EdgeIteratorT< C >::EdgeIteratorT ( const Father iter,
C *  graph 
)
explicit

Constructor.

Parameters
iterThe iterator of the underlying graph.
graphThe graph over whose edges we iterate on.
template<class G , class VP , class EP , class VM = IdentityMap, class EM = IdentityMap>
template<class C >
Dune::Amg::PropertiesGraph< G, VP, EP, VM, EM >::EdgeIteratorT< C >::EdgeIteratorT ( const Father iter)
explicit

Constructor for the end iterator.

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

Parameters
iterThe 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 >::EdgeIteratorT< C >::EdgeIteratorT ( const EdgeIteratorT< C1 > &  other)

Copy constructor.

Parameters
otherthe iterator to copy.

Member Function Documentation

template<class G , class VP , class EP , class VM = IdentityMap, class EM = IdentityMap>
template<class C >
conditional<is_same<C,typename remove_const<C>::type>::value, EdgeProperties&, const EdgeProperties&>::type Dune::Amg::PropertiesGraph< G, VP, EP, VM, EM >::EdgeIteratorT< C >::properties ( ) const

Get the properties of the current edge.


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