An STL-conforming iterator. More...
Public Member Functions | |
iterator (SLListBase &, link *) | |
Construct for a given SLListBase 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 (SLListBase &) | |
Construct for a given SLListBase with NULL element and link. More... | |
Private Attributes | |
SLListBase & | 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 | SLListBase |
class | const_iterator |
An STL-conforming iterator.
Definition at line 163 of file SLListBase.H.
|
inlineprivate |
Construct for a given SLListBase with NULL element and link.
Only used to create endIter
Definition at line 166 of file SLListBaseI.H.
|
inline |
Construct for a given SLListBase and link.
Definition at line 158 of file SLListBaseI.H.
|
inline |
Definition at line 174 of file SLListBaseI.H.
References SLListBase::iterator::curElmt_, and SLListBase::iterator::curLink_.
|
inline |
Definition at line 181 of file SLListBaseI.H.
References SLListBase::iterator::curElmt_.
|
inline |
Definition at line 187 of file SLListBaseI.H.
References SLListBase::iterator::curElmt_.
|
inline |
Definition at line 193 of file SLListBaseI.H.
|
inline |
Definition at line 199 of file SLListBaseI.H.
|
inline |
Definition at line 216 of file SLListBaseI.H.
|
friend |
Definition at line 165 of file SLListBase.H.
|
friend |
Definition at line 166 of file SLListBase.H.
|
private |
Reference to the list this is an iterator for.
Definition at line 171 of file SLListBase.H.
|
private |
Current element.
Definition at line 174 of file SLListBase.H.
Referenced by SLListBase::iterator::operator!=(), SLListBase::iterator::operator=(), SLListBase::iterator::operator==(), and SLListBase::remove().
|
private |
Copy of the link.
Definition at line 177 of file SLListBase.H.
Referenced by SLListBase::iterator::operator=().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.