Go to the documentation of this file.
61 index_(range_.
empty() ? -1 : 0)
65 inline bool Foam::labelRange::const_iterator::operator==
70 return (this->index_ == iter.index_);
74 inline bool Foam::labelRange::const_iterator::operator!=
85 return range_[index_];
91 return range_[index_];
98 if (++index_ >= range_.size())
175 return value >= this->
first() && value <= this->
last();
const Foam::edgeFaceCirculator Foam::edgeFaceCirculator::endConstIter * reinterpret_cast(0), -1, false, -1, false
bool empty() const
Is the range empty?
label last() const
The (inclusive) upper value of the range.
const_iterator cbegin() const
const_iterator set to the beginning of the range
void clear()
Reset to zero size.
bool contains(const label) const
Return true if the value is within the range.
label size() const
Return the effective size of the range.
labelRange()
Construct an empty range.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static const const_iterator endIter_
const_iterator returned by end(), cend()
label operator[](const label) const
Return element in range, no bounds checking.
const const_iterator & end() const
const_iterator set to beyond the end of the range
const_iterator()
Construct null - equivalent to an 'end' position.
const_iterator & operator++()
bool operator==(const labelRange &) const
bool operator!=(const labelRange &) const
label first() const
The (inclusive) lower value of the range.
const_iterator begin() const
const_iterator set to the beginning of the range
const const_iterator & cend() const
const_iterator set to beyond the end of the range
bool operator<(const labelRange &rhs) const
Comparison function for sorting, compares the start.