DLListBase::iterator Class Reference

An STL-conforming iterator. More...

Public Member Functions

 iterator (DLListBase &, link *)
 Construct for a given DLListBase and link. More...
 
 iterator (const iterator &)=default
 Copy constructor. More...
 
void operator= (const iterator &)
 
bool operator== (const iterator &) const
 
bool operator!= (const iterator &) const
 
linkoperator* ()
 
iteratoroperator++ ()
 
iterator operator++ (int)
 

Friends

class DLListBase
 
class const_iterator
 

Detailed Description

An STL-conforming iterator.

Definition at line 182 of file DLListBase.H.

Constructor & Destructor Documentation

◆ iterator() [1/2]

iterator ( DLListBase s,
link elmt 
)
inline

Construct for a given DLListBase and link.

Definition at line 182 of file DLListBaseI.H.

◆ iterator() [2/2]

iterator ( const iterator )
inlinedefault

Copy constructor.

Member Function Documentation

◆ operator=()

void operator= ( const iterator iter)
inline

Definition at line 198 of file DLListBaseI.H.

◆ operator==()

bool operator== ( const iterator iter) const
inline

Definition at line 205 of file DLListBaseI.H.

◆ operator!=()

bool operator!= ( const iterator iter) const
inline

Definition at line 211 of file DLListBaseI.H.

◆ operator*()

Foam::DLListBase::link & operator* ( )
inline

Definition at line 218 of file DLListBaseI.H.

◆ operator++() [1/2]

Foam::DLListBase::iterator & operator++ ( )
inline

Definition at line 225 of file DLListBaseI.H.

◆ operator++() [2/2]

Foam::DLListBase::iterator operator++ ( int  )
inline

Definition at line 244 of file DLListBaseI.H.

Friends And Related Function Documentation

◆ DLListBase

friend class DLListBase
friend

Definition at line 184 of file DLListBase.H.

◆ const_iterator

friend class const_iterator
friend

Definition at line 185 of file DLListBase.H.


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