Public Member Functions | Friends | List of all members
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++ (int)
 
iterator operator-- ()
 
iterator operator-- (int)
 
iterator operator+= (label)
 
iterator operator-= (label)
 
Toperator[] (label)
 
bool operator< (const iterator &) const
 
bool operator> (const iterator &) const
 
bool operator<= (const iterator &) const
 
bool operator>= (const iterator &) const
 

Friends

iterator operator+ (const iterator &, label)
 
iterator operator+ (label, const iterator &)
 
iterator operator- (const iterator &, label)
 
label operator- (const iterator &, const iterator &)
 

Detailed Description

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

An STL iterator.

Definition at line 244 of file UPtrList.H.

Constructor & Destructor Documentation

iterator ( T **  ptr)
inline

Construct for a given UPtrList entry.

Definition at line 144 of file UPtrListI.H.

Member Function Documentation

bool operator== ( const iterator iter) const
inline

Definition at line 150 of file UPtrListI.H.

bool operator!= ( const iterator iter) const
inline

Definition at line 156 of file UPtrListI.H.

T & operator* ( )
inline

Definition at line 162 of file UPtrListI.H.

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

Here is the caller graph for this function:

T & operator() ( )
inline

Definition at line 168 of file UPtrListI.H.

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

Here is the call graph for this function:

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

Definition at line 175 of file UPtrListI.H.

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

Definition at line 183 of file UPtrListI.H.

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

Definition at line 192 of file UPtrListI.H.

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

Definition at line 200 of file UPtrListI.H.

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

Definition at line 209 of file UPtrListI.H.

References n, and Foam::operator+().

Here is the call graph for this function:

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

Definition at line 233 of file UPtrListI.H.

References n, Foam::operator-(), and Foam::T().

Here is the call graph for this function:

T & operator[] ( label  n)
inline

Definition at line 258 of file UPtrListI.H.

References n.

bool operator< ( const iterator iter) const
inline

Definition at line 264 of file UPtrListI.H.

bool operator> ( const iterator iter) const
inline

Definition at line 270 of file UPtrListI.H.

bool operator<= ( const iterator iter) const
inline

Definition at line 276 of file UPtrListI.H.

bool operator>= ( const iterator iter) const
inline

Definition at line 282 of file UPtrListI.H.

Friends And Related Function Documentation

iterator operator+ ( const iterator ,
label   
)
friend
iterator operator+ ( label  ,
const iterator  
)
friend
iterator operator- ( const iterator ,
label   
)
friend
label operator- ( const iterator ,
const iterator  
)
friend

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