The iterator class used for PackedList. More...
#include <src/OpenFOAM/containers/Lists/PackedList/PackedList.H>
The iterator class used for PackedList.
Definition at line 361 of file PackedList.H.
Inheritance diagram for PackedList< nBits >::iterator:
Collaboration diagram for PackedList< nBits >::iterator:Public Member Functions | |
| iterator () | |
| Construct null.
| |
| iterator (const iteratorBase &) | |
| Construct from iterator base, eg iter(packedlist[i])
| |
| iterator (const PackedList *, const label) | |
| Construct from base list and position index.
| |
| bool | operator== (const iteratorBase &) const |
| Compare positions (not values)
| |
| bool | operator!= (const iteratorBase &) const |
| iterator & | operator= (const iteratorBase &) |
| Assign from iteratorBase, eg iter = packedlist[i].
| |
| unsigned int | operator* () const |
| Return value.
| |
| unsigned int | operator() () const |
| Return value.
| |
| iteratorBase & | operator* () |
| Return iteratorBase for assigning values.
| |
| iteratorBase & | operator() () |
| Return iteratorBase for assigning values.
| |
| iterator & | operator++ () |
| iterator | operator++ (int) |
| iterator & | operator-- () |
| iterator | operator-- (int) |
| iterator | ( | ) | [inline]
|
Construct null.
Definition at line 237 of file PackedListI.H.
| iterator | ( | const iteratorBase & | iter ) | [inline]
|
Construct from iterator base, eg iter(packedlist[i])
but also "iterator iter = packedlist[i];" An out-of-range iterator is assigned end()
Definition at line 252 of file PackedListI.H.
| iterator | ( | const PackedList * | , |
| const | label | ||
| ) | [inline]
|
Construct from base list and position index.
| bool operator== | ( | const iteratorBase & | iter ) | const [inline]
|
Compare positions (not values)
Reimplemented from PackedList< nBits >::iteratorBase.
Definition at line 318 of file PackedListI.H.
References PackedList< nBits >::iteratorBase::index_.
| bool operator!= | ( | const iteratorBase & | iter ) | const [inline]
|
Reimplemented from PackedList< nBits >::iteratorBase.
Definition at line 328 of file PackedListI.H.
References PackedList< nBits >::iteratorBase::index_.
| Foam::PackedList< nBits >::iterator & operator= | ( | const iteratorBase & | iter ) | [inline]
|
Assign from iteratorBase, eg iter = packedlist[i].
An out-of-range iterator is assigned end()
Reimplemented from PackedList< nBits >::iteratorBase.
Definition at line 360 of file PackedListI.H.
References PackedList< nBits >::iteratorBase::index_, and PackedList< nBits >::iteratorBase::list_.
| unsigned int operator* | ( | ) | const [inline]
|
Return value.
| unsigned int operator() | ( | ) | const [inline]
|
Return value.
| Foam::PackedList< nBits >::iteratorBase & operator* | ( | ) | [inline]
|
Return iteratorBase for assigning values.
Definition at line 472 of file PackedListI.H.
| Foam::PackedList< nBits >::iteratorBase & operator() | ( | ) | [inline]
|
Return iteratorBase for assigning values.
Definition at line 480 of file PackedListI.H.
| Foam::PackedList< nBits >::iterator & operator++ | ( | ) | [inline]
|
Definition at line 396 of file PackedListI.H.
| Foam::PackedList< nBits >::iterator operator++ | ( | int | ) | [inline]
|
Definition at line 414 of file PackedListI.H.
| Foam::PackedList< nBits >::iterator & operator-- | ( | ) | [inline]
|
Definition at line 434 of file PackedListI.H.
| Foam::PackedList< nBits >::iterator operator-- | ( | int | ) | [inline]
|
Definition at line 452 of file PackedListI.H.