walberla::pe::LocalBodyIterator::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 LocalBodyIterator
 

Member Typedef Documentation

◆ difference_type

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

◆ iterator_category

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

◆ pointer

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

◆ reference

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

◆ value_type

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

Constructor & Destructor Documentation

◆ iterator() [1/2]

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

◆ iterator() [2/2]

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

Member Function Documentation

◆ checkStateAndAdapt()

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

◆ getBodyID()

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

◆ operator!=()

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

◆ operator*()

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

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

◆ operator->()

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

◆ operator==()

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

Friends And Related Function Documentation

◆ LocalBodyIterator

template<typename T >
friend class LocalBodyIterator
friend

Member Data Documentation

◆ ended_

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

◆ it_

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

◆ itEnd_

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

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