UPtrList< T >::iterator Class Reference

An STL iterator. More...

Public Member Functions

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

Friends

class const_iterator
 

Detailed Description

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

An STL iterator.

Definition at line 185 of file UPtrList.H.

Constructor & Destructor Documentation

◆ iterator()

iterator ( T **  ptr)
inline

Construct for a given UPtrList entry.

Definition at line 137 of file UPtrListI.H.

Member Function Documentation

◆ operator==()

bool operator== ( const iterator iter) const
inline

Definition at line 144 of file UPtrListI.H.

◆ operator!=()

bool operator!= ( const iterator iter) const
inline

Definition at line 151 of file UPtrListI.H.

◆ operator*()

T & operator* ( )
inline

Definition at line 158 of file UPtrListI.H.

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

Here is the caller graph for this function:

◆ operator()()

T & operator() ( )
inline

Definition at line 165 of file UPtrListI.H.

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

Here is the call graph for this function:

◆ operator++() [1/2]

Foam::UPtrList< T >::iterator operator++ ( )
inline

Definition at line 173 of file UPtrListI.H.

◆ operator++() [2/2]

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

Definition at line 182 of file UPtrListI.H.

◆ operator--() [1/2]

Foam::UPtrList< T >::iterator operator-- ( )
inline

Definition at line 192 of file UPtrListI.H.

◆ operator--() [2/2]

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

Definition at line 201 of file UPtrListI.H.

◆ operator+=()

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

Definition at line 211 of file UPtrListI.H.

References n.

◆ operator-=()

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

Definition at line 220 of file UPtrListI.H.

References n.

◆ operator+()

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

Definition at line 229 of file UPtrListI.H.

References n.

◆ operator-() [1/2]

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

Definition at line 238 of file UPtrListI.H.

References n.

◆ operator-() [2/2]

label operator- ( const iterator ) const
inline

◆ operator[]()

T & operator[] ( const label  n)
inline

Definition at line 256 of file UPtrListI.H.

References n.

◆ operator<()

bool operator< ( const iterator iter) const
inline

Definition at line 263 of file UPtrListI.H.

◆ operator>()

bool operator> ( const iterator iter) const
inline

Definition at line 270 of file UPtrListI.H.

◆ operator<=()

bool operator<= ( const iterator iter) const
inline

Definition at line 277 of file UPtrListI.H.

◆ operator>=()

bool operator>= ( const iterator iter) const
inline

Definition at line 284 of file UPtrListI.H.

Friends And Related Function Documentation

◆ const_iterator

friend class const_iterator
friend

Definition at line 191 of file UPtrList.H.


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