|
|
|
const_iterator Class ReferenceThe const_iterator for PackedList. More...
Inheritance diagram for const_iterator:
![]()
Collaboration diagram for const_iterator:
![]()
Detailed Descriptiontemplate<unsigned nBits = 1>
The const_iterator for PackedList.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| const_iterator | ( | ) | [inline] |
| const_iterator | ( | const iteratorBase & | iter | ) | [inline] |
Construct from iterator base, eg iter(packedlist[i]).
but also "const_iterator iter = packedlist[i];" An out-of-range iterator is assigned cend()
Definition at line 261 of file PackedListI.H.
References iteratorBase::index_, and iteratorBase::list_.
| const_iterator | ( | const PackedList * | , | |
| const | label | |||
| ) | [inline] |
Construct from base list and position index.
| const_iterator | ( | const iterator & | iter | ) | [inline] |
| bool operator== | ( | const iteratorBase & | iter | ) | const [inline] |
Compare positions (not values).
Reimplemented from iteratorBase.
Definition at line 331 of file PackedListI.H.
| bool operator!= | ( | const iteratorBase & | iter | ) | const [inline] |
| Foam::PackedList< nBits >::const_iterator & operator= | ( | const iteratorBase & | iter | ) | [inline] |
Assign from iteratorBase or derived.
eg, iter = packedlist[i] or even iter = list.begin()
Reimplemented from iteratorBase.
Definition at line 370 of file PackedListI.H.
| unsigned int operator* | ( | ) | const [inline] |
| unsigned int operator() | ( | ) | const [inline] |
| Foam::PackedList< nBits >::const_iterator & operator++ | ( | ) | [inline] |
| Foam::PackedList< nBits >::const_iterator operator++ | ( | int | ) | [inline] |
| Foam::PackedList< nBits >::const_iterator & operator-- | ( | ) | [inline] |
| Foam::PackedList< nBits >::const_iterator operator-- | ( | int | ) | [inline] |