walberla::pe::ShadowBodyIterator::iterator< T > Class Template Reference

#include <BodyIterators.h>

Public Types

using iterator_category = std::input_iterator_tag
 
using value_type = typename T::value_type
 
using difference_type = typename T::difference_type
 
using pointer = typename T::pointer
 
using reference = typename T::reference
 

Public Member Functions

iteratoroperator++ ()
 
iterator operator++ (int)
 
bool operator== (const iterator &rhs) const
 
bool operator!= (const iterator &rhs) const
 
T::reference operator* ()
 
T::pointer operator-> ()
 
T::pointer getBodyID ()
 

Private Member Functions

 iterator (const T &begin, const T &end)
 
 iterator ()
 
void checkStateAndAdapt ()
 

Private Attributes

it_
 
itEnd_
 
bool ended_
 

Friends

class ShadowBodyIterator
 

Member Typedef Documentation

◆ difference_type

template<typename T >
using walberla::pe::ShadowBodyIterator::iterator< T >::difference_type = typename T::difference_type

◆ iterator_category

template<typename T >
using walberla::pe::ShadowBodyIterator::iterator< T >::iterator_category = std::input_iterator_tag

◆ pointer

template<typename T >
using walberla::pe::ShadowBodyIterator::iterator< T >::pointer = typename T::pointer

◆ reference

template<typename T >
using walberla::pe::ShadowBodyIterator::iterator< T >::reference = typename T::reference

◆ value_type

template<typename T >
using walberla::pe::ShadowBodyIterator::iterator< T >::value_type = typename T::value_type

Constructor & Destructor Documentation

◆ iterator() [1/2]

template<typename T >
walberla::pe::ShadowBodyIterator::iterator< T >::iterator ( const T &  begin,
const T &  end 
)
inlineprivate

◆ iterator() [2/2]

template<typename T >
walberla::pe::ShadowBodyIterator::iterator< T >::iterator ( )
inlineprivate

Member Function Documentation

◆ checkStateAndAdapt()

template<typename T >
void walberla::pe::ShadowBodyIterator::iterator< T >::checkStateAndAdapt ( )
inlineprivate

◆ getBodyID()

template<typename T >
T::pointer walberla::pe::ShadowBodyIterator::iterator< T >::getBodyID ( )
inline

◆ operator!=()

template<typename T >
bool walberla::pe::ShadowBodyIterator::iterator< T >::operator!= ( const iterator< T > &  rhs) const
inline

◆ operator*()

template<typename T >
T::reference walberla::pe::ShadowBodyIterator::iterator< T >::operator* ( )
inline

◆ operator++() [1/2]

template<typename T >
iterator& walberla::pe::ShadowBodyIterator::iterator< T >::operator++ ( )
inline

◆ operator++() [2/2]

template<typename T >
iterator walberla::pe::ShadowBodyIterator::iterator< T >::operator++ ( int  )
inline

◆ operator->()

template<typename T >
T::pointer walberla::pe::ShadowBodyIterator::iterator< T >::operator-> ( )
inline

◆ operator==()

template<typename T >
bool walberla::pe::ShadowBodyIterator::iterator< T >::operator== ( const iterator< T > &  rhs) const
inline

Friends And Related Function Documentation

◆ ShadowBodyIterator

template<typename T >
friend class ShadowBodyIterator
friend

Member Data Documentation

◆ ended_

template<typename T >
bool walberla::pe::ShadowBodyIterator::iterator< T >::ended_
private

◆ it_

template<typename T >
T walberla::pe::ShadowBodyIterator::iterator< T >::it_
private

◆ itEnd_

template<typename T >
T walberla::pe::ShadowBodyIterator::iterator< T >::itEnd_
private

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