Forward iterator with non-const access. More...
#include <UPtrList.H>


Public Types | |
| using | pointer = T* |
| using | reference = T& |
| Public Types inherited from UPtrList< T >::Iterator< false > | |
| using | list_type |
| The list container type. | |
Public Member Functions | |
| constexpr | iterator () noexcept=default |
| Default construct - an end iterator. | |
| iterator (const Iterator< false > &iter) | |
| Copy construct from similar access type. | |
| pointer | get () const |
| Pointer to the referenced object (failsafe). | |
| reference | val () const |
| Reference to the object. | |
| pointer | operator-> () const |
| Pointer to the referenced object. | |
| reference | operator* () const |
| Reference to the object. | |
| reference | operator() () const |
| Legacy call operator: reference to the object. | |
| iterator & | operator++ () |
| Move to the next non-nullptr entry. | |
| iterator | operator++ (int) |
| Public Member Functions inherited from UPtrList< T >::Iterator< false > | |
| bool | good () const noexcept |
| True if iterator points to a non-null entry. | |
| label | key () const noexcept |
| The iterator position/index within the list. | |
| bool | operator== (const Iterator< Any > &iter) const noexcept |
| Compare hash-entry element pointers. | |
| bool | operator!= (const Iterator< Any > &iter) const noexcept |
Additional Inherited Members | |
| Protected Member Functions inherited from UPtrList< T >::Iterator< false > | |
| constexpr | Iterator () noexcept |
| Default construct. Also the same as the end iterator. | |
| void | increment () |
| Increment to the next non-null position. | |
| operator const Iterator< Any > & () const | |
| Permit explicit cast to the other (const/non-const) iterator. | |
| Protected Attributes inherited from UPtrList< T >::Iterator< false > | |
| list_type * | list_ |
| The parent being iterated. | |
| label | pos_ |
| The position within the list. | |
Forward iterator with non-const access.
Definition at line 650 of file UPtrList.H.
Definition at line 655 of file UPtrList.H.
Definition at line 656 of file UPtrList.H.
|
constexprdefaultnoexcept |
Default construct - an end iterator.
References Foam::noexcept.
Referenced by iterator(), and operator++().

Copy construct from similar access type.
Definition at line 669 of file UPtrList.H.
References UPtrList< T >::Iterator< false >::Iterator(), and iterator().

Pointer to the referenced object (failsafe).
Definition at line 345 of file UPtrListI.H.
References UPtrList< T >::Iterator< false >::good(), UPtrList< T >::Iterator< false >::list_, UPtrList< T >::Iterator< false >::pos_, and Foam::T().
Referenced by operator->().


Reference to the object.
Definition at line 352 of file UPtrListI.H.
References UPtrList< T >::Iterator< false >::list_, UPtrList< T >::Iterator< false >::pos_, and Foam::T().
Referenced by operator()(), and operator*().


Pointer to the referenced object.
Definition at line 690 of file UPtrList.H.
References get().

Reference to the object.
Definition at line 695 of file UPtrList.H.
References val().

Legacy call operator: reference to the object.
Definition at line 700 of file UPtrList.H.
References val().

|
inline |
Move to the next non-nullptr entry.
Definition at line 360 of file UPtrListI.H.
References UPtrList< T >::Iterator< false >::increment().

|
inline |
Definition at line 369 of file UPtrListI.H.
References UPtrList< T >::Iterator< false >::increment(), and iterator().
