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 

Construct for a given SLListBase and link.

Definition at line 248 of file SLListBaseI.H.

Referenced by SLListBase::cbegin(), and SLListBase::end().

Here is the caller graph for this function:

◆ const_iterator() [2/3]

const_iterator ( const iterator iter)

Construct from a non-const iterator.

Definition at line 258 of file SLListBaseI.H.

◆ const_iterator() [3/3]

const_iterator ( const const_iterator )

Copy constructor.

Member Function Documentation

◆ operator=()

void operator= ( const const_iterator iter)

Definition at line 266 of file SLListBaseI.H.

◆ operator==()

bool operator== ( const const_iterator iter) const

Definition at line 275 of file SLListBaseI.H.

◆ operator!=()

bool operator!= ( const const_iterator iter) const

Definition at line 284 of file SLListBaseI.H.

◆ operator*()

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

Definition at line 293 of file SLListBaseI.H.

◆ operator++() [1/2]

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

Definition at line 300 of file SLListBaseI.H.

References SLListBase::link::next_.

◆ operator++() [2/2]

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

Definition at line 316 of file SLListBaseI.H.

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