DLPermutation< LabelList >::const_iterator Class Reference

A bi-directional constant iterator. More...

Public Member Functions

 const_iterator (const DLPermutation &, const label)
 Construct at an index within a permutation. More...
 
 const_iterator (const const_iterator &)=default
 Use the default copy constructor. More...
 
label operator* () const
 Dereference. More...
 
const_iteratoroperator= (const const_iterator &iter)
 Assignment. More...
 
const_iteratoroperator++ ()
 Increment. More...
 
const_iterator operator++ (int)
 Increment. More...
 
const_iteratoroperator-- ()
 Decrement. More...
 
const_iterator operator-- (int)
 Decrement. More...
 
bool operator== (const const_iterator &iter) const
 Equality comparison. More...
 
bool operator!= (const const_iterator &iter) const
 Inequality comparison. More...
 
const_iterator next () const
 Return the next iterator without incrementing. More...
 
const_iterator previous () const
 Return the previous iterator without incrementing. More...
 

Detailed Description

template<class LabelList>
class Foam::DLPermutation< LabelList >::const_iterator

A bi-directional constant iterator.

Definition at line 72 of file DLPermutation.H.

Constructor & Destructor Documentation

◆ const_iterator() [1/2]

const_iterator ( const DLPermutation ,
const  label 
)
inline

Construct at an index within a permutation.

◆ const_iterator() [2/2]

const_iterator ( const const_iterator )
inlinedefault

Use the default copy constructor.

Member Function Documentation

◆ operator*()

Foam::label operator*
inline

Dereference.

Definition at line 86 of file DLPermutationI.H.

◆ operator=()

Foam::DLPermutation< LabelList >::const_iterator & operator= ( const const_iterator iter)
inline

Assignment.

Definition at line 94 of file DLPermutationI.H.

◆ operator++() [1/2]

Foam::DLPermutation< LabelList >::const_iterator & operator++
inline

Increment.

Definition at line 106 of file DLPermutationI.H.

◆ operator++() [2/2]

Foam::DLPermutation< LabelList >::const_iterator operator++ ( int  )
inline

Increment.

Definition at line 115 of file DLPermutationI.H.

◆ operator--() [1/2]

Foam::DLPermutation< LabelList >::const_iterator & operator--
inline

Decrement.

Definition at line 125 of file DLPermutationI.H.

◆ operator--() [2/2]

Foam::DLPermutation< LabelList >::const_iterator operator-- ( int  )
inline

Decrement.

Definition at line 134 of file DLPermutationI.H.

◆ operator==()

bool operator== ( const const_iterator iter) const
inline

Equality comparison.

Definition at line 143 of file DLPermutationI.H.

◆ operator!=()

bool operator!= ( const const_iterator iter) const
inline

Inequality comparison.

Definition at line 153 of file DLPermutationI.H.

◆ next()

Foam::DLPermutation< LabelList >::const_iterator next
inline

Return the next iterator without incrementing.

Definition at line 166 of file DLPermutationI.H.

◆ previous()

Foam::DLPermutation< LabelList >::const_iterator previous
inline

Return the previous iterator without incrementing.

Definition at line 181 of file DLPermutationI.H.


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