An STL const_iterator. More...
Public Member Functions | |
const_iterator () | |
Construct null - equivalent to an 'end' position. More... | |
const_iterator (const labelRanges &) | |
Construct from list, moving to its 'begin' position. More... | |
bool | operator== (const const_iterator &) const |
bool | operator!= (const const_iterator &) const |
label | operator* () |
label | operator() () |
const_iterator & | operator++ () |
const_iterator | operator++ (int) |
Private Attributes | |
const labelRanges & | list_ |
Reference to the list for which this is an iterator. More... | |
label | index_ |
Current list index. More... | |
label | subIndex_ |
Index of current element at listIndex. More... | |
An STL const_iterator.
Definition at line 113 of file labelRanges.H.
|
inline |
Construct null - equivalent to an 'end' position.
Definition at line 43 of file labelRangesI.H.
|
inlineexplicit |
Construct from list, moving to its 'begin' position.
Definition at line 51 of file labelRangesI.H.
References labelRanges::const_iterator::index_, labelRanges::const_iterator::list_, and labelRanges::const_iterator::subIndex_.
|
inline |
Definition at line 66 of file labelRangesI.H.
|
inline |
Definition at line 79 of file labelRangesI.H.
References Foam::operator==().
|
inline |
Definition at line 87 of file labelRangesI.H.
|
inline |
Definition at line 93 of file labelRangesI.H.
|
inline |
Definition at line 100 of file labelRangesI.H.
|
inline |
Definition at line 118 of file labelRangesI.H.
|
private |
Reference to the list for which this is an iterator.
Definition at line 118 of file labelRanges.H.
Referenced by labelRanges::const_iterator::const_iterator().
|
private |
Current list index.
Definition at line 121 of file labelRanges.H.
Referenced by labelRanges::const_iterator::const_iterator().
|
private |
Index of current element at listIndex.
Definition at line 124 of file labelRanges.H.
Referenced by labelRanges::const_iterator::const_iterator().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.