Internally used base for iterator and const_iterator. More...
#include <UPtrList.H>

Public Types | |
| using | list_type |
| The list container type. | |
Public Member Functions | |
| bool | good () const noexcept |
| True if iterator points to a non-null entry. | |
| label | key () const noexcept |
| The iterator position/index within the list. | |
| template<bool Any> | |
| bool | operator== (const Iterator< Any > &iter) const noexcept |
| Compare hash-entry element pointers. | |
| template<bool Any> | |
| bool | operator!= (const Iterator< Any > &iter) const noexcept |
Protected Member Functions | |
| constexpr | Iterator () noexcept |
| Default construct. Also the same as the end iterator. | |
| Iterator (list_type *list) | |
| Construct begin iterator. | |
| void | increment () |
| Increment to the next non-null position. | |
| template<bool Any> | |
| operator const Iterator< Any > & () const | |
| Permit explicit cast to the other (const/non-const) iterator. | |
Protected Attributes | |
| list_type * | list_ |
| The parent being iterated. | |
| label | pos_ |
| The position within the list. | |
Friends | |
| class | UPtrList |
Internally used base for iterator and const_iterator.
The iterator base for UPtrList (internal use only).
Iterates non-nullptr entries.
Definition at line 547 of file UPtrList.H.
The list container type.
Definition at line 556 of file UPtrList.H.
Default construct. Also the same as the end iterator.
Definition at line 307 of file UPtrListI.H.
References Iterator(), and Foam::noexcept.
Referenced by Iterator(), Iterator(), operator const Iterator< Any > &(), operator!=(), operator==(), and UPtrList.


Construct begin iterator.
Definition at line 316 of file UPtrListI.H.
References Iterator().

Increment to the next non-null position.
Definition at line 333 of file UPtrListI.H.
References increment(), list_, and pos_.
Referenced by increment(), and UPtrList.


|
inlineexplicitprotected |
Permit explicit cast to the other (const/non-const) iterator.
Definition at line 604 of file UPtrList.H.
References Iterator().

True if iterator points to a non-null entry.
Definition at line 617 of file UPtrList.H.
References list_, Foam::noexcept, and pos_.
The iterator position/index within the list.
Definition at line 622 of file UPtrList.H.
References Foam::noexcept, and pos_.
|
inlinenoexcept |
Compare hash-entry element pointers.
Independent of const/non-const access
Definition at line 630 of file UPtrList.H.
References Iterator(), and pos_.

|
inlinenoexcept |
Definition at line 636 of file UPtrList.H.
References Iterator(), and pos_.

Definition at line 577 of file UPtrList.H.
References increment(), Iterator(), Foam::noexcept, and UPtrList.
Referenced by UPtrList.
The parent being iterated.
Uses pointer for default copy/assignment
Definition at line 569 of file UPtrList.H.
Referenced by good(), and increment().
The position within the list.
Definition at line 574 of file UPtrList.H.
Referenced by good(), increment(), key(), operator!=(), and operator==().