dune-istl 3.0-git
|
#include <dune/istl/paamg/graph.hh>
Public Types | |
typedef std::conditional< std::is_same< typenamestd::remove_const< C >::type, C >::value, typenameGraph::EdgeIterator, typenameGraph::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. | |
std::conditional< std::is_same< C, typenamestd::remove_const< C >::type >::value, EdgeProperties &, constEdgeProperties & >::type | properties () const |
Get the properties of the current edge. | |
typedef std::conditional<std::is_same<typenamestd::remove_const<C>::type,C>::value,typenameGraph::EdgeIterator,typenameGraph::ConstEdgeIterator>::type Dune::Amg::PropertiesGraph< G, VP, EP, VM, EM >::EdgeIteratorT< C >::Father |
The father class.
|
explicit |
Constructor.
iter | The iterator of the underlying graph. |
graph | The graph over whose edges we iterate on. |
|
explicit |
Constructor for the end iterator.
Only operator== or operator!= should be called on an iterator constructed this way.
iter | The iterator of the underlying graph. |
Dune::Amg::PropertiesGraph< G, VP, EP, VM, EM >::EdgeIteratorT< C >::EdgeIteratorT | ( | const EdgeIteratorT< C1 > & | other | ) |
Copy constructor.
other | the iterator to copy. |
std::conditional< std::is_same< C, typenamestd::remove_const< C >::type >::value, EdgeProperties &, constEdgeProperties & >::type Dune::Amg::PropertiesGraph< G, VP, EP, VM, EM >::EdgeIteratorT< C >::properties | ( | ) | const |
Get the properties of the current edge.