SLListBase::iterator Class Reference

An STL-conforming iterator. More...

Public Member Functions

 iterator (SLListBase &, link *)
 Construct for a given SLListBase 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 SLListBase
 
class const_iterator
 

Detailed Description

An STL-conforming iterator.

Definition at line 165 of file SLListBase.H.

Constructor & Destructor Documentation

◆ iterator() [1/2]

iterator ( SLListBase s,
link elmt 
)
inline

Construct for a given SLListBase and link.

Definition at line 158 of file SLListBaseI.H.

References s().

Here is the call graph for this function:

◆ iterator() [2/2]

iterator ( const iterator )
inlinedefault

Copy constructor.

Member Function Documentation

◆ operator=()

void operator= ( const iterator iter)
inline

Definition at line 174 of file SLListBaseI.H.

◆ operator==()

bool operator== ( const iterator iter) const
inline

Definition at line 181 of file SLListBaseI.H.

◆ operator!=()

bool operator!= ( const iterator iter) const
inline

Definition at line 187 of file SLListBaseI.H.

◆ operator*()

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

Definition at line 193 of file SLListBaseI.H.

◆ operator++() [1/2]

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

Definition at line 199 of file SLListBaseI.H.

References SLListBase::link::next_.

◆ operator++() [2/2]

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

Definition at line 216 of file SLListBaseI.H.

Friends And Related Function Documentation

◆ SLListBase

friend class SLListBase
friend

Definition at line 167 of file SLListBase.H.

◆ const_iterator

friend class const_iterator
friend

Definition at line 168 of file SLListBase.H.


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