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

#include <SelectableObject.h>

Public Member Functions

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

Private Member Functions

 const_iterator (const SelectableObject *const selectable, const size_t index)
 

Private Attributes

const SelectableObject *const selectable_
 
size_t index_
 

Friends

class SelectableObject
 

Constructor & Destructor Documentation

◆ const_iterator() [1/3]

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

◆ const_iterator() [2/3]

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

◆ const_iterator() [3/3]

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

Member Function Documentation

◆ get()

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

◆ identifier()

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

◆ operator!=()

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

◆ operator*()

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

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

◆ operator->()

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

◆ operator==()

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

Friends And Related Function Documentation

◆ 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 >::const_iterator::index_
private

◆ selectable_

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

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