52template<
class T>
class List;
53template<
class T,
unsigned N>
class FixedList;
148 return start_ + (size_-1) * stride_;
158 label
operator[](
const label i)
const noexcept
160 return start_ + i * stride_;
179 inline const_iterator
at(
const label i)
const;
242 constexpr label value() const
noexcept {
return value_; }
248 constexpr label value(
const label
n)
const noexcept
250 return value_ + (
n * stride_);
254 void prev()
noexcept { value_ -= stride_; }
257 void prev(
const label
n)
noexcept { value_ -= (
n * stride_); }
260 void next()
noexcept { value_ += stride_; }
263 void next(
const label
n)
noexcept { value_ += (
n * stride_); }
298 inline constexpr label
operator[](
const label
n)
const noexcept;
331 inline constexpr label operator-
353 return !(*
this == iter);
359 return !(iter < *
this);
365 return (iter < *
this);
371 return !(*
this < iter);
396 inline constexpr label
operator[](
const label
n)
const noexcept;
429 inline constexpr label operator-
451 return !(*
this == iter);
457 return !(iter < *
this);
463 return (iter < *
this);
469 return !(*
this < iter);
487inline constexpr bool operator==
505inline constexpr bool operator<
533inline constexpr bool operator!=
543inline constexpr bool operator<=
552inline constexpr bool operator>
561inline constexpr bool operator>=
A 1D vector of objects of type <T> with a fixed length <N>.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
T & first()
Return the first element of the list.
void size(const label n)
Older name for setAddressableSize.
Bidirectional input iterator with const access.
std::random_access_iterator_tag iterator_category
constexpr bool operator<=(const const_iterator &iter) const noexcept
constexpr bool operator>=(const const_iterator &iter) const noexcept
constexpr bool operator>(const const_iterator &iter) const noexcept
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.
constexpr bool operator>(const const_reverse_iterator &iter) const noexcept
constexpr bool operator>=(const const_reverse_iterator &iter) const noexcept
constexpr bool operator<=(const const_reverse_iterator &iter) const noexcept
std::random_access_iterator_tag iterator_category
A value indexer, for iteration or generation.
constexpr label value(const label n) const noexcept
Value with offset.
constexpr label stride() const noexcept
The stride.
void prev() noexcept
Decrement value.
void next(const label n) noexcept
Increase value.
void prev(const label n) noexcept
Decrease value.
constexpr label operator*() const noexcept
Return the value.
void next() noexcept
Increment value.
A set of labels defined by a start, a length and a stride.
label size_type
The type that can represent the size of the range.
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)
bool empty() const noexcept
True if range is empty (zero-sized)
const_reverse_iterator crbegin() const noexcept
A const_reverse_iterator set to 1 before the end of range.
List< label > labels() const
Return list of labels corresponding to the slice.
const_iterator end() const noexcept
A const_iterator set to 1 beyond the end of the range.
constexpr label start() const noexcept
The first/start value in the range (inclusive)
const_reverse_iterator rbegin() const noexcept
A const_reverse_iterator set to 1 before the end of range.
constexpr label stride() const noexcept
The stride for the range.
constexpr label size() const noexcept
The size of the 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.
label value_type
Type of values the range contains.
const_iterator at(const label i) const
label operator[](const label i) const noexcept
Return element in the range, without bounds checking.
const_reverse_iterator rend() const noexcept
A const_reverse_iterator set to 1 before the begin of range.
constexpr label first() const noexcept
The first/start value in the range (inclusive)
label last() const noexcept
The (inclusive) upper value of the 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.
OBJstream os(runTime.globalPath()/outputName)
bool operator<=(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A same or older than B.
bool operator>=(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A same or newer than B.
tmp< faMatrix< Type > > operator*(const areaScalarField::Internal &, const faMatrix< Type > &)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Istream & operator>>(Istream &, directionInfo &)
bool operator>(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A newer than B.