dune-istl
2.4.1-rc2
|
#include <dune/istl/paamg/graph.hh>
Public Types | |
typedef conditional< is_same < typename remove_const< C > ::type, C >::value, typename Graph::VertexIterator, typename Graph::ConstVertexIterator > ::type | Father |
The father class. More... | |
typedef conditional< is_same < typename remove_const< C > ::type, C >::value, typename Graph::EdgeIterator, typename Graph::ConstEdgeIterator > ::type | EdgeIterator |
The class of the edge iterator. More... | |
Public Member Functions | |
VertexIteratorT (const Father &iter, C *graph) | |
Constructor. More... | |
VertexIteratorT (const Father &iter) | |
Constructor for the end iterator. More... | |
template<class C1 > | |
VertexIteratorT (const VertexIteratorT< C1 > &other) | |
Copy Constructor. More... | |
conditional< is_same< C, typename remove_const< C > ::type >::value, VertexProperties &, const VertexProperties & >::type | properties () const |
Get the properties of the current Vertex. More... | |
EdgeIterator | begin () const |
Get an iterator over the edges starting from the current vertex. More... | |
EdgeIterator | end () const |
Get an iterator over the edges starting from the current vertex. More... | |
typedef conditional<is_same<typename remove_const<C>::type, C>::value, typename Graph::EdgeIterator, typename Graph::ConstEdgeIterator>::type Dune::Amg::VertexPropertiesGraph< G, VP, VM >::VertexIteratorT< C >::EdgeIterator |
The class of the edge iterator.
typedef conditional<is_same<typename remove_const<C>::type, C>::value, typename Graph::VertexIterator, typename Graph::ConstVertexIterator>::type Dune::Amg::VertexPropertiesGraph< G, VP, VM >::VertexIteratorT< C >::Father |
The father class.
|
explicit |
Constructor.
iter | The iterator of the underlying graph. |
graph | The property graph over whose vertices we iterate. |
|
explicit |
Constructor for the end iterator.
Only operator!= or operator== can be calles safely on an iterator constructed this way.
iter | The iterator of the underlying graph. |
Dune::Amg::VertexPropertiesGraph< G, VP, VM >::VertexIteratorT< C >::VertexIteratorT | ( | const VertexIteratorT< C1 > & | other | ) |
Copy Constructor.
other | The iterator to copy. |
EdgeIterator Dune::Amg::VertexPropertiesGraph< G, VP, VM >::VertexIteratorT< C >::begin | ( | ) | const |
Get an iterator over the edges starting from the current vertex.
EdgeIterator Dune::Amg::VertexPropertiesGraph< G, VP, VM >::VertexIteratorT< C >::end | ( | ) | const |
Get an iterator over the edges starting from the current vertex.
conditional<is_same<C,typename remove_const<C>::type>::value, VertexProperties&, const VertexProperties&>::type Dune::Amg::VertexPropertiesGraph< G, VP, VM >::VertexIteratorT< C >::properties | ( | ) | const |
Get the properties of the current Vertex.