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 255 of file UPtrList.H.

Member Typedef Documentation

◆ Tref

typedef const T& Tref

Definition at line 273 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 325 of file UPtrListI.H.

◆ const_iterator() [2/2]

const_iterator ( const iterator iter)
inline

Construct from an iterator.

Definition at line 332 of file UPtrListI.H.

Member Function Documentation

◆ operator==()

bool operator== ( const const_iterator iter) const
inline

Definition at line 339 of file UPtrListI.H.

◆ operator!=()

bool operator!= ( const const_iterator iter) const
inline

Definition at line 349 of file UPtrListI.H.

◆ operator*()

const T & operator*
inline

Definition at line 359 of file UPtrListI.H.

◆ operator()()

const T & operator()
inline

Definition at line 366 of file UPtrListI.H.

References Foam::operator*().

Here is the call graph for this function:

◆ operator++() [1/2]

Definition at line 374 of file UPtrListI.H.

◆ operator++() [2/2]

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

Definition at line 383 of file UPtrListI.H.

◆ operator--() [1/2]

Definition at line 393 of file UPtrListI.H.

◆ operator--() [2/2]

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

Definition at line 402 of file UPtrListI.H.

◆ operator+=()

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

Definition at line 412 of file UPtrListI.H.

References n.

◆ operator-=()

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

Definition at line 421 of file UPtrListI.H.

References n.

◆ operator+()

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

Definition at line 430 of file UPtrListI.H.

References n.

◆ operator-() [1/2]

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

Definition at line 439 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 457 of file UPtrListI.H.

References n.

◆ operator<()

bool operator< ( const const_iterator iter) const
inline

Definition at line 464 of file UPtrListI.H.

◆ operator>()

bool operator> ( const const_iterator iter) const
inline

Definition at line 474 of file UPtrListI.H.

◆ operator<=()

bool operator<= ( const const_iterator iter) const
inline

Definition at line 484 of file UPtrListI.H.

◆ operator>=()

bool operator>= ( const const_iterator iter) const
inline

Definition at line 494 of file UPtrListI.H.


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