52 Ostream&
operator<<(Ostream&,
const labelRange&);
79 return a.
first() <
b.first();
103 inline bool empty()
const;
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool operator!=(const const_iterator &) const
bool operator==(const const_iterator &) const
const_iterator()
Construct null - equivalent to an 'end' position.
const_iterator & operator++()
Less function class for sorting labelRange.
bool operator()(const labelRange &a, const labelRange &b)
const const_iterator & end() const
const_iterator set to beyond the end of the range
labelRange join(const labelRange &) const
Return a joined range, squashing any gaps in between.
label size() const
Return the effective size of the range.
bool contains(const label) const
Return true if the value is within the range.
bool intersects(const labelRange &, const bool touches=false) const
Return true if the ranges intersect.
bool operator==(const labelRange &) const
const_iterator cbegin() const
const_iterator set to the beginning of the range
bool empty() const
Is the range empty?
label first() const
The (inclusive) lower value of the range.
const_iterator begin() const
const_iterator set to the beginning of the range
bool operator<(const labelRange &rhs) const
Comparison function for sorting, compares the start.
label last() const
The (inclusive) upper value of the range.
friend Ostream & operator<<(Ostream &, const labelRange &)
label operator[](const label) const
Return element in range, no bounds checking.
void clear()
Reset to zero size.
labelRange()
Construct an empty range.
bool operator!=(const labelRange &) const
labelRange & operator+=(const labelRange &)
Join ranges, squashing any gaps in between.
const const_iterator & cend() const
const_iterator set to beyond the end of the range
friend Istream & operator>>(Istream &, labelRange &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Istream & operator>>(Istream &, pistonPointEdgeData &)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)