A primitive non-const node iterator. More...
#include <SLListBase.H>
Public Member Functions | |
| iterator (const iterator &)=default | |
| Copy construct. | |
| iterator (SLListBase *list, link *item) | |
| Construct for a node on the list. | |
| link * | get_node () const noexcept |
| The storage node. | |
| bool | good () const noexcept |
| Pointing at a valid storage node. | |
| void | prev ()=delete |
| Cannot move backward through list. | |
| void | next () |
| Move forward through list. | |
| void | operator= (const iterator &iter) |
| Copy assignment. | |
| bool | operator== (const iterator &iter) const |
| bool | operator!= (const iterator &iter) const |
Friends | |
| class | SLListBase |
| class | const_iterator |
A primitive non-const node iterator.
Must normally be extended by inheriting classes.
Definition at line 248 of file SLListBase.H.
|
default |
Copy construct.
References good(), iterator(), Foam::noexcept, and SLListBase.
Referenced by iterator(), operator!=(), operator=(), operator==(), and prev().


|
inline |
Construct for a node on the list.
Definition at line 162 of file SLListBaseI.H.
References SLListBase.

|
inlinenoexcept |
The storage node.
Definition at line 180 of file SLListBaseI.H.
References Foam::noexcept.
Referenced by SLListBase::remove().

|
inlinenoexcept |
Pointing at a valid storage node.
Definition at line 186 of file SLListBaseI.H.
References Foam::noexcept.
Referenced by iterator().

|
inlinedelete |
Cannot move backward through list.
References iterator(), next(), and prev().
Referenced by prev().


|
inline |
Move forward through list.
Definition at line 192 of file SLListBaseI.H.
Referenced by prev(), and SLListBase::remove().

|
inline |
Copy assignment.
Definition at line 209 of file SLListBaseI.H.
References iterator().

|
inline |
Definition at line 217 of file SLListBaseI.H.
References iterator().

|
inline |
Definition at line 223 of file SLListBaseI.H.
References iterator().

|
friend |
Definition at line 250 of file SLListBase.H.
References SLListBase.
Referenced by const_iterator, iterator(), iterator(), and SLListBase.
|
friend |
Definition at line 251 of file SLListBase.H.
References const_iterator, and SLListBase.
Referenced by const_iterator.