Go to the documentation of this file.
46 inline Foam::labelRanges::const_iterator::const_iterator
53 index_(i < 0 ? lst->size() : i),
58 inline bool Foam::labelRanges::const_iterator::operator==
65 this->index_ == iter.index_
66 && this->subIndex_ == iter.subIndex_
71 inline bool Foam::labelRanges::const_iterator::operator!=
82 return list_->operator[](index_)[subIndex_];
89 if (++subIndex_ >= list_->operator[](index_).size())
139 if (StorageContainer::operator[](i).
found(value))
bool found(const label value) const
Return true if the value is found any of the sub-ranges.
const_iterator & operator++()
const const_iterator end() const
A const_iterator set to beyond the end of the list.
labelRanges()
Construct null.
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
const_iterator begin() const
A const_iterator set to the beginning of the list.
const_iterator cbegin() const
A const_iterator set to the beginning of the list.
label operator*()
Return the current label.
const const_iterator cend() const
A const_iterator set to beyond the end of the list.