Public Member Functions | List of all members
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...
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 210 of file SLListBase.H.

Constructor & Destructor Documentation

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 ( const iterator iter)

Construct from a non-const iterator.

Definition at line 258 of file SLListBaseI.H.

Member Function Documentation

void operator= ( const const_iterator iter)

Definition at line 266 of file SLListBaseI.H.

bool operator== ( const const_iterator iter) const

Definition at line 275 of file SLListBaseI.H.

bool operator!= ( const const_iterator iter) const

Definition at line 284 of file SLListBaseI.H.

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

Definition at line 293 of file SLListBaseI.H.

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

Definition at line 300 of file SLListBaseI.H.

References SLListBase::link::next_.

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: