A primitive const node iterator. More...
#include <SLListBase.H>
Public Member Functions | |
| const_iterator (const const_iterator &)=default | |
| Copy construct. | |
| const_iterator (const SLListBase *list, const link *item) | |
| Construct for a node on the list. | |
| const_iterator (const SLListBase::iterator &iter) | |
| Construct from a non-const iterator. | |
| const 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. | |
| const_iterator & | operator= (const const_iterator &)=default |
| Copy assignment. | |
| bool | operator== (const const_iterator &iter) const |
| bool | operator!= (const const_iterator &iter) const |
A primitive const node iterator.
Must normally be extended by inheriting classes.
Definition at line 320 of file SLListBase.H.
|
default |
Copy construct.
References const_iterator(), good(), Foam::noexcept, and SLListBase::SLListBase().
Referenced by const_iterator(), operator!=(), operator=(), and operator==().


|
inline |
Construct for a node on the list.
Definition at line 257 of file SLListBaseI.H.
References SLListBase::SLListBase().

|
inline |
Construct from a non-const iterator.
Definition at line 268 of file SLListBaseI.H.
|
inlinenoexcept |
|
inlinenoexcept |
Pointing at a valid storage node.
Definition at line 285 of file SLListBaseI.H.
References Foam::noexcept.
Referenced by const_iterator().

|
inlinedelete |
|
inline |
Move forward through list.
Definition at line 291 of file SLListBaseI.H.
Referenced by prev().

|
default |
Copy assignment.
References SLListBase::begin(), SLListBase::cbegin(), and const_iterator().

|
inline |
Definition at line 307 of file SLListBaseI.H.
References const_iterator().

|
inline |
Definition at line 316 of file SLListBaseI.H.
References const_iterator().
