dune-istl  2.1.1
Public Types | Public Member Functions | Friends
Dune::Amg::PropertiesGraph< G, VP, EP, VM, EM >::EdgeIteratorT< 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::EdgeIterator, typename
Graph::ConstEdgeIterator >
::Type 
Father
 The father class.

Public Member Functions

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

Friends

class EdgeIteratorT< const typename remove_const< C >::type >
class EdgeIteratorT< 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 >::EdgeIteratorT< 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::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 >
SelectType<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.


Friends And Related Function Documentation

template<class G , class VP , class EP , class VM = IdentityMap, class EM = IdentityMap>
template<class C >
friend class EdgeIteratorT< 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 EdgeIteratorT< typename remove_const< C >::type > [friend]

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