77 const label old(value_);
85inline constexpr Foam::label
165inline constexpr Foam::label
169 return (stride() ? (value() - iter.value()) / stride() : label{0});
177 return (value() == iter.value());
185 return (value() < iter.value());
191inline constexpr Foam::label
271inline constexpr Foam::label
275 return (stride() ? (iter.value() - value()) / stride() : label{0});
283 return (value() == iter.value());
291 return (iter.value() < value());
300 return indexer(start_, stride_);
310 start_ + ((i < 0 || i > size_) ? size_ : i) * stride_,
friend complex operator+(const complex &c1, const complex &c2)
friend bool operator==(const refineCell &rc1, const refineCell &rc2)
Bidirectional input iterator with const access.
constexpr label operator[](const label n) const noexcept
Offset dereference operator.
constexpr bool operator<(const const_iterator &iter) const noexcept
Compare less-than values (ignore stride)
const_iterator & operator+=(const label n) noexcept
Arbitrary increment.
const_iterator & operator-=(const label n) noexcept
Arbitrary decrement.
const_iterator & operator--() noexcept
Prefix decrement.
const_iterator & operator++() noexcept
Prefix increment.
Bidirectional reverse input iterator with const access.
const_reverse_iterator & operator++() noexcept
Prefix increment.
constexpr label operator[](const label n) const noexcept
Offset dereference operator.
const_reverse_iterator & operator+=(const label n) noexcept
Arbitrary increment.
const_reverse_iterator & operator--() noexcept
Prefix decrement.
const_reverse_iterator & operator-=(const label n) noexcept
Arbitrary decrement.
constexpr bool operator<(const const_reverse_iterator &iter) const noexcept
Reverse compare less-than values (ignore stride)
A value indexer, for iteration or generation.
label operator()() noexcept
Apply a postfix increment and return the current value.
constexpr indexer() noexcept
Default construct with zero value and stride = 1.
const_iterator cbegin() const noexcept
A const_iterator set to the beginning of the range.
constexpr sliceRange() noexcept
Default construct an empty slice (0,0,0)
const_reverse_iterator crbegin() const noexcept
A const_reverse_iterator set to 1 before the end of range.
const_iterator end() const noexcept
A const_iterator set to 1 beyond the end of the range.
const_reverse_iterator rbegin() const noexcept
A const_reverse_iterator set to 1 before the end of range.
const_iterator begin() const noexcept
A const_iterator set to the beginning of the range.
const_iterator cend() const noexcept
A const_iterator set to 1 beyond the end of the range.
const_iterator at(const label i) const
const_reverse_iterator rend() const noexcept
A const_reverse_iterator set to 1 before the begin of range.
indexer generator() const
Return a forward values generator.
const_reverse_iterator crend() const noexcept
A const_reverse_iterator set to 1 before the begin of range.
zeroField operator-() const noexcept