FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

UPtrList< T >::iterator Class Reference

An STL iterator. More...

#include <src/OpenFOAM/containers/Lists/UPtrList/UPtrList.H>


Detailed Description

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

An STL iterator.

Definition at line 197 of file UPtrList.H.

List of all members.

Public Member Functions

 iterator (T **)
 Construct for a given UPtrList entry.
bool  operator== (const iterator &) const
bool  operator!= (const iterator &) const
T &  operator* ()
T &  operator() ()
iterator  operator++ ()
iterator  operator++ (int)
iterator  operator-- ()
iterator  operator-- (int)
iterator  operator+= (label)
iterator  operator-= (label)
T &  operator[] (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 &)

Constructor & Destructor Documentation

iterator ( T **   ptr  ) [inline]

Construct for a given UPtrList entry.

Definition at line 112 of file UPtrListI.H.


Member Function Documentation

bool operator== ( const iterator &   iter  ) const [inline]

Definition at line 118 of file UPtrListI.H.

bool operator!= ( const iterator &   iter  ) const [inline]

Definition at line 124 of file UPtrListI.H.

T & operator* (  ) [inline]

Definition at line 130 of file UPtrListI.H.

T & operator() (  ) [inline]

Definition at line 136 of file UPtrListI.H.

References Foam::operator*().

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

Definition at line 143 of file UPtrListI.H.

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

Definition at line 151 of file UPtrListI.H.

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

Definition at line 160 of file UPtrListI.H.

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

Definition at line 168 of file UPtrListI.H.

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

Definition at line 177 of file UPtrListI.H.

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

Definition at line 201 of file UPtrListI.H.

T & operator[] ( label   n  ) [inline]

Definition at line 226 of file UPtrListI.H.

bool operator< ( const iterator &   iter  ) const [inline]

Definition at line 232 of file UPtrListI.H.

bool operator> ( const iterator &   iter  ) const [inline]

Definition at line 238 of file UPtrListI.H.

bool operator<= ( const iterator &   iter  ) const [inline]

Definition at line 244 of file UPtrListI.H.

bool operator>= ( const iterator &   iter  ) const [inline]

Definition at line 250 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: