OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

iterator Class Reference

An STL iterator. More...

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 &)

Detailed Description

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

An STL iterator.

Definition at line 204 of file UPtrList.H.


Constructor & Destructor Documentation

iterator ( T **  ptr  )  [inline]

Construct for a given UPtrList entry.

Definition at line 104 of file UPtrListI.H.


Member Function Documentation

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

Definition at line 110 of file UPtrListI.H.

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

Definition at line 116 of file UPtrListI.H.

T & operator* (  )  [inline]

Definition at line 122 of file UPtrListI.H.

Referenced by iterator::operator++().

Here is the caller graph for this function:

T & operator() (  )  [inline]

Definition at line 128 of file UPtrListI.H.

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

Definition at line 135 of file UPtrListI.H.

References iterator::operator*().

Here is the call graph for this function:

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

Definition at line 143 of file UPtrListI.H.

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

Definition at line 152 of file UPtrListI.H.

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

Definition at line 160 of file UPtrListI.H.

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

Definition at line 169 of file UPtrListI.H.

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

Definition at line 193 of file UPtrListI.H.

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

Definition at line 218 of file UPtrListI.H.

References T.

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

Definition at line 224 of file UPtrListI.H.

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

Definition at line 230 of file UPtrListI.H.

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

Definition at line 236 of file UPtrListI.H.

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

Definition at line 242 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:
Copyright © 2000-2009 OpenCFD Ltd