Public Member Functions | List of all members
labelRanges::const_iterator Class Reference

Forward input iterator with const access. More...

Public Member Functions

constexpr const_iterator (const labelRanges *list, const label i=0) noexcept
 Construct from range list at given index. More...
 
label operator* () const
 Return the current label. More...
 
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 142 of file labelRanges.H.

Constructor & Destructor Documentation

◆ const_iterator()

constexpr const_iterator ( const labelRanges list,
const label  i = 0 
)
inlineexplicitnoexcept

Construct from range list at given index.

Definition at line 34 of file labelRangesI.H.

Member Function Documentation

◆ operator*()

Foam::label operator* ( ) const
inline

Return the current label.

Definition at line 46 of file labelRangesI.H.

◆ operator++() [1/2]

Definition at line 54 of file labelRangesI.H.

◆ operator++() [2/2]

Definition at line 69 of file labelRangesI.H.

◆ operator==()

constexpr bool operator== ( const const_iterator iter) const
inlinenoexcept

Definition at line 80 of file labelRangesI.H.

◆ operator!=()

constexpr bool operator!= ( const const_iterator iter) const
inlinenoexcept

Definition at line 95 of file labelRangesI.H.


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