Go to the documentation of this file.
50 template<
class T>
class List;
51 template<
class T,
unsigned N>
class FixedList;
110 bool empty() const noexcept
116 bool valid() const noexcept
190 inline void next() noexcept;
218 std::input_iterator_tag,
237 using indexer::operator*;
298 a.first() ==
b.first()
299 && a.size() ==
b.size()
300 && a.stride() ==
b.stride()
318 a.first() <
b.first()
321 !(
b.first() < a.first())
327 !(
b.size() < a.size())
328 && a.stride() <
b.stride()
const_iterator cbegin() const
A const_iterator set to the beginning of the range.
label size_type
The type that can represent the size of the range.
label size_
The length of the interval.
List< label > labels() const
Return the slice as a list of labels.
constexpr label start() const noexcept
The (inclusive) lower value of the range.
constexpr label size() const noexcept
The size of the range.
indexer(const sliceRange *range, const label i=0)
Construct from range at given local index.
label operator*() const noexcept
Return the value.
Forward iterator with const access.
const const_iterator end() const
A const_iterator set to 1 beyond the end of the range.
const_iterator(const sliceRange *range, const label i=0)
Construct from range at given local index.
constexpr label first() const noexcept
The (inclusive) lower value of the range - same as start()
const_iterator at(const label i) const
sliceRange & operator=(const sliceRange &)=default
Default copy assignment.
A value indexer, for iteration or generation.
constexpr label stride() const noexcept
The stride for the range.
bool operator!=(const const_iterator &iter) const noexcept
Test for inequality of values, not stride.
indexer generator() const
Return a forward values generator.
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 > &)
const const_iterator cend() const
A const_iterator set to 1 beyond the end of the range.
bool operator==(const const_iterator &iter) const noexcept
Test for equality of values, not stride.
bool valid() const noexcept
Is the range non-empty?
label stride_
The stride within the interval.
label operator[](const label i) const noexcept
Return element in the range, without bounds checking.
const_iterator & operator-=(const label n) noexcept
Arbitrary decrement, no checking.
const_iterator begin() const
A const_iterator set to the beginning of the range.
void next() noexcept
Forward increment, no checking.
label operator()()
Apply a postfix increment and return the current value.
A set of labels defined by a start, a length and a stride.
label last() const noexcept
The (inclusive) upper value of the range.
constexpr sliceRange() noexcept
An empty slice (0,0,0)
bool operator<(const Instant< T1 > &a, const Instant< T2 > &b)
Compare instant values for less-than.
A 1D vector of objects of type <T> with a fixed length <N>.
bool equals(const indexer &other) const noexcept
Test for equality of values, not stride.
const_iterator & operator++() noexcept
Prefix increment, no checking.
const_iterator & operator--() noexcept
Prefix decrement, no checking.
bool empty() const noexcept
Is the range empty?
label value_type
Type of values the range contains.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
label start_
The start point for the interval.
Ostream & operator<<(Ostream &, const boundaryPatch &)
const_iterator & operator+=(const label n) noexcept
Arbitrary increment, no checking.