dune-istl  2.5.1
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 std::conditional< std::is_same< typename std::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...
 
std::conditional< std::is_same< C, typename std::remove_const< C >::type >::value, EdgeProperties &, const EdgeProperties & >::type properties () const
 Get the properties of the current edge. More...
 

Member Typedef Documentation

◆ Father

template<class G, class VP, class EP, class VM = IdentityMap, class EM = IdentityMap>
template<class C >
typedef std::conditional<std::is_same<typename std::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

◆ EdgeIteratorT() [1/3]

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.

◆ EdgeIteratorT() [2/3]

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.

◆ EdgeIteratorT() [3/3]

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

◆ properties()

template<class G, class VP, class EP, class VM = IdentityMap, class EM = IdentityMap>
template<class C >
std::conditional<std::is_same<C,typename std::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: