Go to the documentation of this file.
65 inline bool Foam::labelRanges::const_iterator::operator==
72 this->index_ == iter.index_
73 && this->subIndex_ == iter.subIndex_
78 inline bool Foam::labelRanges::const_iterator::operator!=
89 return list_[index_][subIndex_];
95 return list_[index_][subIndex_];
102 if (++subIndex_ >= list_[index_].size())
106 if (++index_ >= list_.size())
109 index_ = subIndex_ = -1;
const Foam::edgeFaceCirculator Foam::edgeFaceCirculator::endConstIter * reinterpret_cast(0), -1, false, -1, false
#define forAll(list, i)
Loop across all elements in list.
const_iterator & operator++()
labelRanges()
Construct null.
const const_iterator & end() const
const_iterator set to beyond the end of the list
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
label subIndex_
Index of current element at listIndex.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const_iterator()
Construct null - equivalent to an 'end' position.
const labelRanges & list_
Reference to the list for which this is an iterator.
const_iterator begin() const
const_iterator set to the beginning of the list
const const_iterator & cend() const
const_iterator set to beyond the end of the list
const_iterator cbegin() const
const_iterator set to the beginning of the list
bool contains(const label) const
Return true if the value is within any of the ranges.
static const const_iterator endIter_
const_iterator returned by end(), cend()
friend Ostream & operator(Ostream &, const DynamicList< T, SizeInc, SizeMult, SizeDiv > &)
label index_
Current list index.