DLListBase::const_iterator Class Reference

An STL-conforming const_iterator. More...

Public Member Functions

 const_iterator (const DLListBase &, const link *)
 Construct for a given DLListBase 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 232 of file DLListBase.H.

Constructor & Destructor Documentation

◆ const_iterator() [1/3]

const_iterator ( const DLListBase s,
const link elmt 
)
inline

Construct for a given DLListBase and link.

Definition at line 275 of file DLListBaseI.H.

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

Here is the caller graph for this function:

◆ const_iterator() [2/3]

const_iterator ( const iterator iter)
inline

Construct from a non-const iterator.

Definition at line 285 of file DLListBaseI.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 293 of file DLListBaseI.H.

◆ operator==()

bool operator== ( const const_iterator iter) const
inline

Definition at line 302 of file DLListBaseI.H.

◆ operator!=()

bool operator!= ( const const_iterator iter) const
inline

Definition at line 311 of file DLListBaseI.H.

◆ operator*()

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

Definition at line 320 of file DLListBaseI.H.

◆ operator++() [1/2]

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

Definition at line 327 of file DLListBaseI.H.

References DLListBase::link::next_.

◆ operator++() [2/2]

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

Definition at line 343 of file DLListBaseI.H.


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