Go to the documentation of this file.
52 template<
class T>
class List;
53 template<
class T>
class MinMax;
107 const
bool adjustStart
143 inline
void clear() noexcept;
146 inline
bool empty() const noexcept;
149 inline
bool valid() const noexcept;
193 const
bool adjustStart
197 inline
bool found(const
label value) const noexcept;
229 inline
label operator[](const
label i) const noexcept;
233 inline
bool operator()(const
label value) const noexcept;
236 inline
label operator++() noexcept;
237 inline
label operator++(
int) noexcept;
243 inline
label operator--() noexcept;
244 inline
label operator--(
int) noexcept;
257 std::input_iterator_tag,
355 return (a.first() ==
b.first() && a.size() ==
b.size());
370 a.first() <
b.first()
373 !(
b.first() < a.first())
374 && a.size() <
b.size()
void setSize(const label n) noexcept
Change the size - alias for resize()
bool reset(const label start, const label size) noexcept
Reset start and size, enforcing non-negative size.
const_iterator cbegin() const
A const_iterator set to the beginning of the range.
label before() const noexcept
The value before the start of the range.
labelRange join(const labelRange &range) const
Return a joined range, squashing any gaps in between.
const const_iterator end() const
A const_iterator set to 1 beyond the end of the range.
label operator++() noexcept
Increase the size by 1.
const const_iterator cend() const
A const_iterator set to 1 beyond the end of the range.
void adjust() noexcept
Adjust the start to avoid negative indices.
Istream & operator>>(Istream &, directionInfo &)
label size() const noexcept
The effective size of the range.
void clear() noexcept
Reset to zero start and zero size.
bool overlaps(const labelRange &range, bool touches=false) const
Return true if the ranges overlap.
label after() const noexcept
The value after the last element in the range.
label value_type
Type of values the range contains.
bool operator!=(const eddy &a, const eddy &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].
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
bool found(const label value) const noexcept
Return true if the (global) value is located within the range.
label max() const noexcept
The (inclusive) upper value of the range - same as last()
A range or interval of labels defined by a start and a size.
const_iterator at(const label i) const
labelRange subset(const labelRange &range) const
Calculate the intersection of the range with another.
List< label > labels() const
Return the range as a list of labels.
void resize(const label n) noexcept
Change the size, enforcing non-negative size.
Conversion/extraction to labelRange operation (functor).
label first() const noexcept
The (inclusive) lower value of the range - same as start()
Forward iterator with const access.
static int debug
Debugging.
bool operator<(const Instant< T1 > &a, const Instant< T2 > &b)
Compare instant values for less-than.
label last() const noexcept
The (inclusive) upper value of the range - same as max()
bool empty() const noexcept
Is the range empty?
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
constexpr labelRange() noexcept
An empty range with zero for start/size.
tmp< faMatrix< Type > > operator*(const areaScalarField &, const faMatrix< Type > &)
label operator+=(const label n) noexcept
Increase the size by n.
label start() const noexcept
The (inclusive) lower value of the range.
labelRange subset0(const label size) const
Calculate the intersection with the given 0/size range.
static labelRange identity(const label len, const label start=0) noexcept
bool operator>(const Instant< T1 > &a, const Instant< T2 > &b)
Compare instant values for greater-than.
void setStart(const label i) noexcept
Change the start position.
const_iterator begin() const
A const_iterator set to the beginning of the range.
label min() const noexcept
The (inclusive) lower value of the range - same as start(), first()
label size_type
The type that can represent the size of the range.
label operator-=(const label n) noexcept
Decrease the size by n, but never below 0.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool valid() const noexcept
Is the range non-empty?
bool operator<=(const Pair< T > &a, const Pair< T > &b)
bool operator>=(const Pair< T > &a, const Pair< T > &b)
A min/max value pair with additional methods. In addition to conveniently storing values,...
Ostream & operator<<(Ostream &, const boundaryPatch &)