|
dune-istl 2.10
|
The vertex iterator type of the graph. More...
#include <dune/istl/paamg/graph.hh>

Public Types | |
| enum | { isMutable = std::is_same<C, MutableContainer>::value } |
| typedef std::remove_const< C >::type | MutableContainer |
| The mutable type of the container type. | |
| typedef const std::remove_const< C >::type | ConstContainer |
| The constant type of the container type. | |
| typedef std::conditional< std::is_same< C, typenamestd::remove_const< C >::type >::value &&C::mutableMatrix, typenameM::block_type, consttypenameM::block_type >::type | WeightType |
Public Member Functions | |
| VertexIteratorT (C *graph, const VertexDescriptor ¤t) | |
| Constructor. | |
| VertexIteratorT (const VertexDescriptor ¤t) | |
| Constructor for the end iterator. | |
| VertexIteratorT (const VertexIteratorT< MutableContainer > &other) | |
| VertexIteratorT< C > & | operator++ () |
| Move to the next vertex. | |
| bool | operator!= (const VertexIteratorT< ConstContainer > &other) const |
| Inequality operator. | |
| bool | operator== (const VertexIteratorT< ConstContainer > &other) const |
| Equality operator. | |
| bool | operator!= (const VertexIteratorT< MutableContainer > &other) const |
| Inequality operator. | |
| bool | operator== (const VertexIteratorT< MutableContainer > &other) const |
| Equality operator. | |
| WeightType & | weight () const |
| Access the weight of the vertex. | |
| const VertexDescriptor & | operator* () const |
| Get the descriptor of the current vertex. | |
| EdgeIteratorT< C > | begin () const |
| Get an iterator over all edges starting at the current vertex. | |
| EdgeIteratorT< C > | end () const |
| Get an iterator over all edges starting at the current vertex. | |
The vertex iterator type of the graph.
| typedef const std::remove_const<C>::type Dune::Amg::MatrixGraph< M >::VertexIteratorT< C >::ConstContainer |
The constant type of the container type.
| typedef std::remove_const<C>::type Dune::Amg::MatrixGraph< M >::VertexIteratorT< C >::MutableContainer |
The mutable type of the container type.
| typedef std::conditional<std::is_same<C,typenamestd::remove_const<C>::type>::value&&C::mutableMatrix,typenameM::block_type,consttypenameM::block_type>::type Dune::Amg::MatrixGraph< M >::VertexIteratorT< C >::WeightType |
|
explicit |
Constructor.
| graph | The graph we are a vertex iterator for. |
| current | The current vertex to position on. |
|
explicit |
Constructor for the end iterator.
only operator== or operator!= may be called safely on an iterator constructed this way.
| current | The current vertex to position on. |
| Dune::Amg::MatrixGraph< M >::VertexIteratorT< C >::VertexIteratorT | ( | const VertexIteratorT< MutableContainer > & | other | ) |
| EdgeIteratorT< C > Dune::Amg::MatrixGraph< M >::VertexIteratorT< C >::begin | ( | ) | const |
Get an iterator over all edges starting at the current vertex.
| EdgeIteratorT< C > Dune::Amg::MatrixGraph< M >::VertexIteratorT< C >::end | ( | ) | const |
Get an iterator over all edges starting at the current vertex.
| bool Dune::Amg::MatrixGraph< M >::VertexIteratorT< C >::operator!= | ( | const VertexIteratorT< ConstContainer > & | other | ) | const |
Inequality operator.
| bool Dune::Amg::MatrixGraph< M >::VertexIteratorT< C >::operator!= | ( | const VertexIteratorT< MutableContainer > & | other | ) | const |
Inequality operator.
| const VertexDescriptor & Dune::Amg::MatrixGraph< M >::VertexIteratorT< C >::operator* | ( | ) | const |
Get the descriptor of the current vertex.
| VertexIteratorT< C > & Dune::Amg::MatrixGraph< M >::VertexIteratorT< C >::operator++ | ( | ) |
Move to the next vertex.
| bool Dune::Amg::MatrixGraph< M >::VertexIteratorT< C >::operator== | ( | const VertexIteratorT< ConstContainer > & | other | ) | const |
Equality operator.
| bool Dune::Amg::MatrixGraph< M >::VertexIteratorT< C >::operator== | ( | const VertexIteratorT< MutableContainer > & | other | ) | const |
Equality operator.
| WeightType & Dune::Amg::MatrixGraph< M >::VertexIteratorT< C >::weight | ( | ) | const |
Access the weight of the vertex.