An STL-conforming iterator. More...
#include <src/OpenFOAM/containers/Lists/PtrList/PtrList.H>
An STL-conforming iterator.
Definition at line 240 of file PtrList.H.
Public Types | |
typedef T & | Tref |
Public Member Functions | |
iterator (T **) | |
Construct for a given PtrList entry.
| |
bool | operator== (const iterator &) const |
bool | operator!= (const iterator &) const |
Tref | operator* () |
Tref | 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 &) |
iterator | ( | T ** | ptr ) | [inline]
|
Construct for a given PtrList entry.
Definition at line 141 of file PtrListI.H.
bool operator== | ( | const iterator & | iter ) | const [inline]
|
Definition at line 147 of file PtrListI.H.
bool operator!= | ( | const iterator & | iter ) | const [inline]
|
Definition at line 153 of file PtrListI.H.
T & operator* | ( | ) | [inline]
|
Definition at line 159 of file PtrListI.H.
T & operator() | ( | ) | [inline]
|
Definition at line 165 of file PtrListI.H.
References Foam::operator*().
Foam::PtrList< T >::iterator operator++ | ( | ) | [inline]
|
Definition at line 172 of file PtrListI.H.
Foam::PtrList< T >::iterator operator++ | ( | int | ) | [inline]
|
Definition at line 180 of file PtrListI.H.
Foam::PtrList< T >::iterator operator-- | ( | ) | [inline]
|
Definition at line 189 of file PtrListI.H.
Foam::PtrList< T >::iterator operator-- | ( | int | ) | [inline]
|
Definition at line 197 of file PtrListI.H.
Foam::PtrList< T >::iterator operator+= | ( | label | n ) | [inline]
|
Definition at line 206 of file PtrListI.H.
Foam::PtrList< T >::iterator operator-= | ( | label | n ) | [inline]
|
Definition at line 230 of file PtrListI.H.
T & operator[] | ( | label | n ) | [inline]
|
Definition at line 255 of file PtrListI.H.
bool operator< | ( | const iterator & | iter ) | const [inline]
|
Definition at line 261 of file PtrListI.H.
bool operator> | ( | const iterator & | iter ) | const [inline]
|
Definition at line 267 of file PtrListI.H.
bool operator<= | ( | const iterator & | iter ) | const [inline]
|
Definition at line 273 of file PtrListI.H.
bool operator>= | ( | const iterator & | iter ) | const [inline]
|
Definition at line 279 of file PtrListI.H.