dune-istl
2.2.0
|
#include <dune/istl/paamg/graph.hh>
Public Types | |
typedef SelectType< is_same < typename remove_const< C > ::type, C >::value, typename Graph::VertexIterator, typename Graph::ConstVertexIterator > ::Type | Father |
The father class. | |
typedef SelectType< is_same < typename remove_const< C > ::type, C >::value, typename Graph::EdgeIterator, typename Graph::ConstEdgeIterator > ::Type | EdgeIterator |
The class of the edge iterator. |
Public Member Functions | |
VertexIteratorT (const Father &iter, C *graph) | |
Constructor. | |
VertexIteratorT (const Father &iter) | |
Constructor for the end iterator. | |
template<class C1 > | |
VertexIteratorT (const VertexIteratorT< C1 > &other) | |
Copy Constructor. | |
SelectType< is_same< C, typename remove_const< C > ::type >::value, VertexProperties &, const VertexProperties & >::Type | properties () const |
Get the properties of the current Vertex. | |
EdgeIterator | begin () const |
Get an iterator over the edges starting from the current vertex. | |
EdgeIterator | end () const |
Get an iterator over the edges starting from the current vertex. |
Friends | |
class | VertexIteratorT< const typename remove_const< C >::type > |
class | VertexIteratorT< typename remove_const< C >::type > |
typedef SelectType<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 SelectType<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.
SelectType<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.
|
friend |
|
friend |