dune-istl 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Dune::Amg::VertexPropertiesGraph< G, VP, VM >::VertexIteratorT< C > Class Template Reference

#include <dune/istl/paamg/graph.hh>

Inheritance diagram for Dune::Amg::VertexPropertiesGraph< G, VP, VM >::VertexIteratorT< C >:
Inheritance graph

Public Types

typedef std::conditional< std::is_same< typenamestd::remove_const< C >::type, C >::value, typenameGraph::VertexIterator, typenameGraph::ConstVertexIterator >::type Father
 The father class. More...
 
typedef std::conditional< std::is_same< typenamestd::remove_const< C >::type, C >::value, typenameGraph::EdgeIterator, typenameGraph::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...
 
std::conditional< std::is_same< C, typenamestd::remove_const< C >::type >::value, VertexProperties &, constVertexProperties & >::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...
 

Member Typedef Documentation

◆ EdgeIterator

template<class G , class VP , class VM = IdentityMap>
template<class C >
typedef std::conditional<std::is_same<typenamestd::remove_const<C>::type,C>::value,typenameGraph::EdgeIterator,typenameGraph::ConstEdgeIterator>::type Dune::Amg::VertexPropertiesGraph< G, VP, VM >::VertexIteratorT< C >::EdgeIterator

The class of the edge iterator.

◆ Father

template<class G , class VP , class VM = IdentityMap>
template<class C >
typedef std::conditional<std::is_same<typenamestd::remove_const<C>::type,C>::value,typenameGraph::VertexIterator,typenameGraph::ConstVertexIterator>::type Dune::Amg::VertexPropertiesGraph< G, VP, VM >::VertexIteratorT< C >::Father

The father class.

Constructor & Destructor Documentation

◆ VertexIteratorT() [1/3]

template<class G , class VP , class VM = IdentityMap>
template<class C >
Dune::Amg::VertexPropertiesGraph< G, VP, VM >::VertexIteratorT< C >::VertexIteratorT ( const Father iter,
C *  graph 
)
explicit

Constructor.

Parameters
iterThe iterator of the underlying graph.
graphThe property graph over whose vertices we iterate.

◆ VertexIteratorT() [2/3]

template<class G , class VP , class VM = IdentityMap>
template<class C >
Dune::Amg::VertexPropertiesGraph< G, VP, VM >::VertexIteratorT< C >::VertexIteratorT ( const Father iter)
explicit

Constructor for the end iterator.

Only operator!= or operator== can be calles safely on an iterator constructed this way.

Parameters
iterThe iterator of the underlying graph.

◆ VertexIteratorT() [3/3]

template<class G , class VP , class VM = IdentityMap>
template<class C >
template<class C1 >
Dune::Amg::VertexPropertiesGraph< G, VP, VM >::VertexIteratorT< C >::VertexIteratorT ( const VertexIteratorT< C1 > &  other)

Copy Constructor.

Parameters
otherThe iterator to copy.

Member Function Documentation

◆ begin()

template<class G , class VP , class VM = IdentityMap>
template<class C >
EdgeIterator Dune::Amg::VertexPropertiesGraph< G, VP, VM >::VertexIteratorT< C >::begin ( ) const

Get an iterator over the edges starting from the current vertex.

Returns
An iterator over the edges starting from the current vertex positioned at the first edge.

◆ end()

template<class G , class VP , class VM = IdentityMap>
template<class C >
EdgeIterator Dune::Amg::VertexPropertiesGraph< G, VP, VM >::VertexIteratorT< C >::end ( ) const

Get an iterator over the edges starting from the current vertex.

Returns
An iterator over the edges starting from the current vertex positioned after the last edge.

◆ properties()

template<class G , class VP , class VM = IdentityMap>
template<class C >
std::conditional< std::is_same< C, typenamestd::remove_const< C >::type >::value, VertexProperties &, constVertexProperties & >::type Dune::Amg::VertexPropertiesGraph< G, VP, VM >::VertexIteratorT< C >::properties ( ) const

Get the properties of the current Vertex.


The documentation for this class was generated from the following file: