Public Types | Public Member Functions | List of all members
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 242 of file UPtrList.H.

Member Typedef Documentation

◆ Tref

typedef const T& Tref

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

◆ const_iterator() [2/2]

const_iterator ( const iterator iter)
inline

Construct from an iterator.

Definition at line 323 of file UPtrListI.H.

Member Function Documentation

◆ operator==()

bool operator== ( const const_iterator iter) const
inline

Definition at line 331 of file UPtrListI.H.

◆ operator!=()

bool operator!= ( const const_iterator iter) const
inline

Definition at line 341 of file UPtrListI.H.

◆ operator*()

const T & operator* ( )
inline

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

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

Here is the call graph for this function:

◆ operator++() [1/2]

Definition at line 365 of file UPtrListI.H.

◆ operator++() [2/2]

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

Definition at line 374 of file UPtrListI.H.

◆ operator--() [1/2]

Definition at line 384 of file UPtrListI.H.

◆ operator--() [2/2]

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

Definition at line 393 of file UPtrListI.H.

◆ operator+=()

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

Definition at line 403 of file UPtrListI.H.

References n.

◆ 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) const
inline

Definition at line 421 of file UPtrListI.H.

References n.

◆ operator-() [1/2]

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

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

References n.

◆ operator<()

bool operator< ( const const_iterator iter) const
inline

Definition at line 456 of file UPtrListI.H.

◆ operator>()

bool operator> ( const const_iterator iter) const
inline

Definition at line 466 of file UPtrListI.H.

◆ operator<=()

bool operator<= ( const const_iterator iter) const
inline

Definition at line 476 of file UPtrListI.H.

◆ operator>=()

bool operator>= ( const const_iterator iter) const
inline

Definition at line 486 of file UPtrListI.H.


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