walberla::selectable::SelectableObject< T, A, S >::iterator Class Reference

#include <SelectableObject.h>

Public Member Functions

 iterator (const iterator &it)
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
bool operator== (const iterator &rhs) const
 
bool operator!= (const iterator &rhs) const
 
T * get ()
 
const std::string & identifier ()
 
T & operator* ()
 
T * operator-> ()
 

Private Member Functions

 iterator (SelectableObject *const selectable, const size_t index)
 

Private Attributes

SelectableObject *const selectable_
 
size_t index_
 

Friends

class const_iterator
 
class SelectableObject
 

Constructor & Destructor Documentation

◆ iterator() [1/2]

template<typename T , typename A , typename S >
walberla::selectable::SelectableObject< T, A, S >::iterator::iterator ( const iterator it)
inline

◆ iterator() [2/2]

template<typename T , typename A , typename S >
walberla::selectable::SelectableObject< T, A, S >::iterator::iterator ( SelectableObject *const  selectable,
const size_t  index 
)
inlineprivate

Member Function Documentation

◆ get()

template<typename T , typename A , typename S >
T* walberla::selectable::SelectableObject< T, A, S >::iterator::get ( )
inline

◆ identifier()

template<typename T , typename A , typename S >
const std::string& walberla::selectable::SelectableObject< T, A, S >::iterator::identifier ( )
inline

◆ operator!=()

template<typename T , typename A , typename S >
bool walberla::selectable::SelectableObject< T, A, S >::iterator::operator!= ( const iterator rhs) const
inline

◆ operator*()

template<typename T , typename A , typename S >
T& walberla::selectable::SelectableObject< T, A, S >::iterator::operator* ( )
inline

◆ operator++() [1/2]

template<typename T , typename A , typename S >
iterator& walberla::selectable::SelectableObject< T, A, S >::iterator::operator++ ( )
inline

◆ operator++() [2/2]

template<typename T , typename A , typename S >
iterator walberla::selectable::SelectableObject< T, A, S >::iterator::operator++ ( int  )
inline

◆ operator->()

template<typename T , typename A , typename S >
T* walberla::selectable::SelectableObject< T, A, S >::iterator::operator-> ( )
inline

◆ operator==()

template<typename T , typename A , typename S >
bool walberla::selectable::SelectableObject< T, A, S >::iterator::operator== ( const iterator rhs) const
inline

Friends And Related Function Documentation

◆ const_iterator

template<typename T , typename A , typename S >
friend class const_iterator
friend

◆ SelectableObject

template<typename T , typename A , typename S >
friend class SelectableObject
friend

Member Data Documentation

◆ index_

template<typename T , typename A , typename S >
size_t walberla::selectable::SelectableObject< T, A, S >::iterator::index_
private

◆ selectable_

template<typename T , typename A , typename S >
SelectableObject* const walberla::selectable::SelectableObject< T, A, S >::iterator::selectable_
private

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