UPtrList< T >::const_iterator Class Reference

An STL-conforming const_iterator. More...

Public Types

typedef const TTref
 

Public Member Functions

 const_iterator (const T *const *)
 Construct for a given UPtrList entry. More...
 
 const_iterator (const iterator &)
 Construct from an iterator. More...
 
bool operator== (const const_iterator &) const
 
bool operator!= (const const_iterator &) const
 
Tref operator* ()
 
Tref operator() ()
 
const_iterator operator++ ()
 
const_iterator operator++ (const int)
 
const_iterator operator-- ()
 
const_iterator operator-- (const int)
 
const_iterator operator+= (const label)
 
const_iterator operator-= (const label)
 
const_iterator operator+ (const label) const
 
const_iterator operator- (const label) const
 
label operator- (const const_iterator &) const
 
const Toperator[] (const label)
 
bool operator< (const const_iterator &) const
 
bool operator> (const const_iterator &) const
 
bool operator<= (const const_iterator &) const
 
bool operator>= (const const_iterator &) const
 

Detailed Description

template<class T>
class Foam::UPtrList< T >::const_iterator

An STL-conforming const_iterator.

Definition at line 238 of file UPtrList.H.

Member Typedef Documentation

◆ Tref

typedef const T& Tref

Definition at line 256 of file UPtrList.H.

Constructor & Destructor Documentation

◆ const_iterator() [1/2]

const_iterator ( const T *const *  ptr)
inline

Construct for a given UPtrList entry.

Definition at line 309 of file UPtrListI.H.

◆ const_iterator() [2/2]

const_iterator ( const iterator iter)
inline

Construct from an iterator.

Definition at line 316 of file UPtrListI.H.

Member Function Documentation

◆ operator==()

bool operator== ( const const_iterator iter) const
inline

Definition at line 324 of file UPtrListI.H.

◆ operator!=()

bool operator!= ( const const_iterator iter) const
inline

Definition at line 334 of file UPtrListI.H.

◆ operator*()

const T & operator* ( )
inline

Definition at line 343 of file UPtrListI.H.

Referenced by UPtrList< T >::const_iterator::operator()().

Here is the caller graph for this function:

◆ operator()()

const T & operator() ( )
inline

Definition at line 350 of file UPtrListI.H.

References UPtrList< T >::const_iterator::operator*().

Here is the call graph for this function:

◆ operator++() [1/2]

Definition at line 358 of file UPtrListI.H.

◆ operator++() [2/2]

Foam::UPtrList< T >::const_iterator operator++ ( const int  )
inline

Definition at line 367 of file UPtrListI.H.

◆ operator--() [1/2]

Definition at line 377 of file UPtrListI.H.

◆ operator--() [2/2]

Foam::UPtrList< T >::const_iterator operator-- ( const int  )
inline

Definition at line 386 of file UPtrListI.H.

◆ operator+=()

Foam::UPtrList< T >::const_iterator operator+= ( const label  n)
inline

Definition at line 396 of file UPtrListI.H.

References n.

◆ operator-=()

Foam::UPtrList< T >::const_iterator operator-= ( const label  n)
inline

Definition at line 405 of file UPtrListI.H.

References n.

◆ operator+()

Foam::UPtrList< T >::const_iterator operator+ ( const label  n) const
inline

Definition at line 414 of file UPtrListI.H.

References n.

◆ operator-() [1/2]

Foam::UPtrList< T >::const_iterator operator- ( const label  n) const
inline

Definition at line 423 of file UPtrListI.H.

References n.

◆ operator-() [2/2]

label operator- ( const const_iterator ) const
inline

◆ operator[]()

const T & operator[] ( const label  n)
inline

Definition at line 441 of file UPtrListI.H.

References n.

◆ operator<()

bool operator< ( const const_iterator iter) const
inline

Definition at line 449 of file UPtrListI.H.

◆ operator>()

bool operator> ( const const_iterator iter) const
inline

Definition at line 459 of file UPtrListI.H.

◆ operator<=()

bool operator<= ( const const_iterator iter) const
inline

Definition at line 469 of file UPtrListI.H.

◆ operator>=()

bool operator>= ( const const_iterator iter) const
inline

Definition at line 479 of file UPtrListI.H.


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