SLListBase::const_iterator Class Reference

An STL-conforming const_iterator. More...

Public Member Functions

 const_iterator (const SLListBase &, const link *)
 Construct for a given SLListBase and link. More...
 
 const_iterator (const iterator &)
 Construct from a non-const iterator. More...
 
 const_iterator (const const_iterator &)=default
 Copy constructor. More...
 
void operator= (const const_iterator &)
 
bool operator== (const const_iterator &) const
 
bool operator!= (const const_iterator &) const
 
const linkoperator* ()
 
const_iteratoroperator++ ()
 
const_iterator operator++ (int)
 

Detailed Description

An STL-conforming const_iterator.

Definition at line 215 of file SLListBase.H.

Constructor & Destructor Documentation

◆ const_iterator() [1/3]

const_iterator ( const SLListBase s,
const link elmt 
)
inline

Construct for a given SLListBase and link.

Definition at line 247 of file SLListBaseI.H.

◆ const_iterator() [2/3]

const_iterator ( const iterator iter)
inline

Construct from a non-const iterator.

Definition at line 258 of file SLListBaseI.H.

◆ const_iterator() [3/3]

const_iterator ( const const_iterator )
inlinedefault

Copy constructor.

Member Function Documentation

◆ operator=()

void operator= ( const const_iterator iter)
inline

Definition at line 265 of file SLListBaseI.H.

◆ operator==()

bool operator== ( const const_iterator iter) const
inline

Definition at line 274 of file SLListBaseI.H.

◆ operator!=()

bool operator!= ( const const_iterator iter) const
inline

Definition at line 283 of file SLListBaseI.H.

◆ operator*()

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

Definition at line 293 of file SLListBaseI.H.

◆ operator++() [1/2]

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

Definition at line 300 of file SLListBaseI.H.

◆ operator++() [2/2]

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

Definition at line 316 of file SLListBaseI.H.


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