51 Ostream&
operator<<(Ostream&,
const labelRange&);
101 inline bool empty()
const;
const_iterator begin() const
const_iterator set to the beginning of the range
const const_iterator & end() const
const_iterator set to beyond the end of the 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.
bool contains(const label) const
Return true if the value is within the range.
const const_iterator & cend() const
const_iterator set to beyond the end of the range
void clear()
Reset to zero size.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Less function class for sorting labelRange.
label size() const
Return the effective size of the range.
tmp< fvMatrix< Type > > operator*(const DimensionedField< scalar, volMesh > &, const fvMatrix< Type > &)
bool operator()(const labelRange &a, const labelRange &b)
label first() const
The (inclusive) lower value of the range.
bool operator<(const labelRange &rhs) const
Comparison function for sorting, compares the start.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
Istream & operator>>(Istream &, directionInfo &)
bool intersects(const labelRange &, const bool touches=false) const
Return true if the ranges intersect.
labelRange()
Construct an empty range.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
bool operator!=(const labelRange &) const
friend Ostream & operator<<(Ostream &, const labelRange &)
labelRange join(const labelRange &) const
Return a joined range, squashing any gaps in between.
labelRange & operator+=(const labelRange &)
Join ranges, squashing any gaps in between.
bool empty() const
Is the range empty?
const_iterator cbegin() const
const_iterator set to the beginning of the range
Ostream & operator<<(Ostream &, const ensightPart &)
label last() const
The (inclusive) upper value of the range.
label operator[](const label) const
Return element in range, no bounds checking.
bool operator==(const labelRange &) const
friend Istream & operator>>(Istream &, labelRange &)