Go to the documentation of this file.
55 return (*list_)[index_][subIndex_];
63 if (++subIndex_ >= (*list_)[index_].size())
85 Foam::labelRanges::const_iterator::
94 && subIndex_ == iter.subIndex_
100 Foam::labelRanges::const_iterator::
106 return !(*
this == iter);
148 if (
range.found(value))
bool found(const label value) const
Return true if the value is found any of the sub-ranges.
labelRanges()=default
Default construct.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
const_iterator & operator++()
const const_iterator cend() const noexcept
A const_iterator set to beyond the end of the list.
const_iterator begin() const noexcept
A const_iterator set to the beginning of the list.
constexpr const_iterator(const labelRanges *list, const label i=0) noexcept
Construct from range list at given index.
Forward input iterator with const access.
label operator*() const
Return the current label.
A range or interval of labels defined by a start and a size.
const_iterator cbegin() const noexcept
A const_iterator set to the beginning of the list.
const const_iterator end() const noexcept
A const_iterator set to beyond the end of the list.