Go to the documentation of this file.
51 Ostream&
operator<<(Ostream&,
const labelRange&);
78 return a.
first() <
b.first();
101 inline bool empty()
const;
Less function class for sorting labelRange.
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
labelRange & operator+=(const labelRange &)
Join ranges, squashing any gaps in between.
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.
const labelRange & range_
Reference to the range for which this is an iterator.
labelRange join(const labelRange &) const
Return a joined range, squashing any gaps in between.
labelRange()
Construct an empty range.
bool operator()(const labelRange &a, const labelRange &b)
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 dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
static const const_iterator endIter_
const_iterator returned by end(), cend()
friend Istream & operator>>(Istream &, labelRange &)
Ostream & operator<<(Ostream &, const edgeMesh &)
label operator[](const label) const
Return element in range, no bounds checking.
bool intersects(const labelRange &, const bool touches=false) const
Return true if the ranges intersect.
label index_
Current index.
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 const_iterator &) const
bool operator==(const labelRange &) const
bool operator!=(const labelRange &) const
Istream & operator>>(Istream &, edgeMesh &)
label first() const
The (inclusive) lower value of the range.
bool operator!=(const const_iterator &) const
friend Ostream & operator<<(Ostream &, const labelRange &)
const_iterator begin() const
const_iterator set to the beginning of the range
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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.