An STL-conforming iterator. More...
Public Member Functions | |
iterator (DLListBase &, link *) | |
Construct for a given DLListBase and link. More... | |
void | operator= (const iterator &) |
bool | operator== (const iterator &) const |
bool | operator!= (const iterator &) const |
link & | operator* () |
iterator & | operator++ () |
iterator | operator++ (int) |
Private Member Functions | |
iterator (DLListBase &) | |
Construct for a given SLListBase with NULL element and link. More... | |
Private Attributes | |
DLListBase & | curList_ |
Reference to the list this is an iterator for. More... | |
link * | curElmt_ |
Current element. More... | |
link | curLink_ |
Copy of the link. More... | |
Friends | |
class | DLListBase |
class | const_iterator |
An STL-conforming iterator.
Definition at line 181 of file DLListBase.H.
|
inlineprivate |
Construct for a given SLListBase with NULL element and link.
Only used to create endIter
Definition at line 190 of file DLListBaseI.H.
|
inline |
Construct for a given DLListBase and link.
Definition at line 182 of file DLListBaseI.H.
|
inline |
Definition at line 198 of file DLListBaseI.H.
References DLListBase::iterator::curElmt_, and DLListBase::iterator::curLink_.
|
inline |
Definition at line 205 of file DLListBaseI.H.
References DLListBase::iterator::curElmt_.
|
inline |
Definition at line 211 of file DLListBaseI.H.
References DLListBase::iterator::curElmt_.
|
inline |
Definition at line 218 of file DLListBaseI.H.
|
inline |
Definition at line 225 of file DLListBaseI.H.
|
inline |
Definition at line 244 of file DLListBaseI.H.
|
friend |
Definition at line 183 of file DLListBase.H.
|
friend |
Definition at line 184 of file DLListBase.H.
|
private |
Reference to the list this is an iterator for.
Definition at line 189 of file DLListBase.H.
|
private |
Current element.
Definition at line 192 of file DLListBase.H.
Referenced by DLListBase::iterator::operator!=(), DLListBase::iterator::operator=(), DLListBase::iterator::operator==(), DLListBase::remove(), and DLListBase::replace().
|
private |
Copy of the link.
Definition at line 195 of file DLListBase.H.
Referenced by DLListBase::iterator::operator=().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.