Loading...
Searching...
No Matches
labelRanges::const_iterator Class Reference

Forward input iterator with const access. More...

#include <labelRanges.H>

Public Member Functions

constexpr const_iterator (const UList< labelRange > *list, const label idx=0, const label subIdx=0) noexcept
 Construct from range list at given index (and sub-index).
label operator* () const
 Return the current label.
const_iteratoroperator++ ()
const_iterator operator++ (int)
constexpr bool operator== (const const_iterator &iter) const noexcept
constexpr bool operator!= (const const_iterator &iter) const noexcept

Detailed Description

Forward input iterator with const access.

Definition at line 221 of file labelRanges.H.

Constructor & Destructor Documentation

◆ const_iterator()

const_iterator ( const UList< labelRange > * list,
const label idx = 0,
const label subIdx = 0 )
inlineexplicitconstexprnoexcept

Construct from range list at given index (and sub-index).

Definition at line 54 of file labelRangesI.H.

References Foam::noexcept.

Referenced by operator!=(), operator++(), and operator==().

Here is the caller graph for this function:

Member Function Documentation

◆ operator*()

Foam::label operator* ( ) const
inline

Return the current label.

Definition at line 68 of file labelRangesI.H.

◆ operator++() [1/2]

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

Definition at line 76 of file labelRangesI.H.

Referenced by operator++().

Here is the caller graph for this function:

◆ operator++() [2/2]

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

Definition at line 92 of file labelRangesI.H.

References const_iterator(), and operator++().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const const_iterator & iter) const
inlineconstexprnoexcept

Definition at line 102 of file labelRangesI.H.

References const_iterator().

Here is the call graph for this function:

◆ operator!=()

bool operator!= ( const const_iterator & iter) const
inlineconstexprnoexcept

Definition at line 117 of file labelRangesI.H.

References const_iterator().

Here is the call graph for this function:

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