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

Constructor & Destructor Documentation

◆ iterator()

iterator ( T **  ptr)
inline

Construct for a given UPtrList entry.

Definition at line 153 of file UPtrListI.H.

Member Function Documentation

◆ operator==()

bool operator== ( const iterator iter) const
inline

Definition at line 160 of file UPtrListI.H.

◆ operator!=()

bool operator!= ( const iterator iter) const
inline

Definition at line 167 of file UPtrListI.H.

◆ operator*()

T & operator*
inline

Definition at line 174 of file UPtrListI.H.

◆ operator()()

T & operator()
inline

Definition at line 181 of file UPtrListI.H.

References Foam::operator*().

Here is the call graph for this function:

◆ operator++() [1/2]

Definition at line 189 of file UPtrListI.H.

◆ operator++() [2/2]

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

Definition at line 198 of file UPtrListI.H.

◆ operator--() [1/2]

Definition at line 208 of file UPtrListI.H.

◆ operator--() [2/2]

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

Definition at line 217 of file UPtrListI.H.

◆ operator+=()

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

Definition at line 227 of file UPtrListI.H.

◆ operator-=()

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

Definition at line 236 of file UPtrListI.H.

◆ operator+()

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

Definition at line 245 of file UPtrListI.H.

◆ operator-() [1/2]

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

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

◆ operator<()

bool operator< ( const iterator iter) const
inline

Definition at line 279 of file UPtrListI.H.

◆ operator>()

bool operator> ( const iterator iter) const
inline

Definition at line 286 of file UPtrListI.H.

◆ operator<=()

bool operator<= ( const iterator iter) const
inline

Definition at line 293 of file UPtrListI.H.

◆ operator>=()

bool operator>= ( const iterator iter) const
inline

Definition at line 300 of file UPtrListI.H.

Friends And Related Function Documentation

◆ const_iterator

friend class const_iterator
friend

Definition at line 208 of file UPtrList.H.


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