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


|
inline |
Construct for a node on a list.
Definition at line 206 of file DLListBaseI.H.
References DLListBase.

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

|
inline |
Move backward through list.
Definition at line 236 of file DLListBaseI.H.
Referenced by iterator().

|
inline |
Move forward through list.
Definition at line 255 of file DLListBaseI.H.
Referenced by iterator().

|
inline |
Definition at line 274 of file DLListBaseI.H.
References iterator().

|
inline |
Definition at line 282 of file DLListBaseI.H.
References iterator().

|
inline |
Definition at line 288 of file DLListBaseI.H.
References iterator().

|
friend |
Definition at line 288 of file DLListBase.H.
References DLListBase.
Referenced by const_iterator, DLListBase, iterator(), and iterator().
|
friend |
Definition at line 289 of file DLListBase.H.
References const_iterator, and DLListBase.
Referenced by const_iterator.