ug4
ug::AttachedElementListIterator< TAAEntry > Class Template Reference

A special iterator which allows to iterate over elements in a AttachedElementList. More...

#include <attached_list.h>

+ Inheritance diagram for ug::AttachedElementListIterator< TAAEntry >:

Public Types

typedef TAAEntry::element element
 
typedef AttachedElementListIterator< TAAEntry > iterator
 

Public Member Functions

 AttachedElementListIterator ()
 
 AttachedElementListIterator (const AttachedElementListIterator &cpy)
 
 AttachedElementListIterator (element curElem, const TAAEntry &aaEntry)
 
bool operator!= (const iterator &iter) const
 
element operator* () const
 note that the * operator is read only. More...
 
iterator operator++ ()
 
iterator operator++ (int)
 
iterator operator-- ()
 
iterator operator-- (int)
 
elementoperator-> () const
 
const iteratoroperator= (const iterator &iter)
 
bool operator== (const iterator &iter) const
 

Private Attributes

TAAEntry m_aaEntry
 
element m_curElem
 

Friends

class ConstAttachedElementListIterator< TAAEntry >
 

Detailed Description

template<class TAAEntry>
class ug::AttachedElementListIterator< TAAEntry >

A special iterator which allows to iterate over elements in a AttachedElementList.

Member Typedef Documentation

◆ element

template<class TAAEntry >
typedef TAAEntry::element ug::AttachedElementListIterator< TAAEntry >::element

◆ iterator

template<class TAAEntry >
typedef AttachedElementListIterator<TAAEntry> ug::AttachedElementListIterator< TAAEntry >::iterator

Constructor & Destructor Documentation

◆ AttachedElementListIterator() [1/3]

template<class TAAEntry >
ug::AttachedElementListIterator< TAAEntry >::AttachedElementListIterator ( )
inline

◆ AttachedElementListIterator() [2/3]

template<class TAAEntry >
ug::AttachedElementListIterator< TAAEntry >::AttachedElementListIterator ( element  curElem,
const TAAEntry &  aaEntry 
)
inline

◆ AttachedElementListIterator() [3/3]

template<class TAAEntry >
ug::AttachedElementListIterator< TAAEntry >::AttachedElementListIterator ( const AttachedElementListIterator< TAAEntry > &  cpy)
inline

Member Function Documentation

◆ operator!=()

template<class TAAEntry >
bool ug::AttachedElementListIterator< TAAEntry >::operator!= ( const iterator iter) const
inline

◆ operator*()

template<class TAAEntry >
element ug::AttachedElementListIterator< TAAEntry >::operator* ( ) const
inline

note that the * operator is read only.

References ug::AttachedElementListIterator< TAAEntry >::m_curElem.

◆ operator++() [1/2]

◆ operator++() [2/2]

◆ operator--() [1/2]

◆ operator--() [2/2]

◆ operator->()

template<class TAAEntry >
element* ug::AttachedElementListIterator< TAAEntry >::operator-> ( ) const
inline

◆ operator=()

template<class TAAEntry >
const iterator& ug::AttachedElementListIterator< TAAEntry >::operator= ( const iterator iter)
inline

◆ operator==()

template<class TAAEntry >
bool ug::AttachedElementListIterator< TAAEntry >::operator== ( const iterator iter) const
inline

Friends And Related Function Documentation

◆ ConstAttachedElementListIterator< TAAEntry >

template<class TAAEntry >
friend class ConstAttachedElementListIterator< TAAEntry >
friend

Member Data Documentation

◆ m_aaEntry

◆ m_curElem


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