Public Member Functions | Friends | List of all members
DLListBase::iterator Class Reference

An STL-conforming iterator. More...

Public Member Functions

 iterator (DLListBase &, link *)
 Construct for a given DLListBase and link. 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 181 of file DLListBase.H.

Constructor & Destructor Documentation

◆ iterator()

iterator ( DLListBase s,
link elmt 
)
inline

Construct for a given DLListBase and link.

Definition at line 182 of file DLListBaseI.H.

References s().

Here is the call graph for this function:

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.

References DLListBase::link::next_.

◆ 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 183 of file DLListBase.H.

◆ const_iterator

friend class const_iterator
friend

Definition at line 184 of file DLListBase.H.


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