57template<
class T>
class List;
63template<
class IntType>
66 static_assert(std::is_integral<IntType>::value,
"Integral required");
87 inline IntType
end_value()
const noexcept;
113 constexpr bool operator()(
const Int val)
const noexcept
123 constexpr bool operator()(
const Int val)
const noexcept
133 constexpr bool operator()(
const Int val)
const noexcept
143 constexpr bool operator()(
const Int val)
const noexcept
201 inline
void reset(const IntType beg, const IntType len)
noexcept;
225 inline constexpr IntType operator[](const IntType i) const
noexcept;
229 inline
bool operator()(const IntType value) const
noexcept;
232 inline IntType operator++()
noexcept;
233 inline IntType operator++(
int)
noexcept;
236 inline IntType operator+=(const IntType
n)
noexcept;
239 inline IntType operator--()
noexcept;
240 inline IntType operator--(
int)
noexcept;
243 inline IntType operator-=(const IntType
n)
noexcept;
246 explicit operator
bool() const
noexcept {
return bool(size_); }
255 inline const_iterator
at(
const IntType i)
const;
310 const IntType val = 0
317 inline constexpr IntType operator*() const
noexcept;
320 inline constexpr IntType operator[](const IntType
n) const
noexcept;
353 inline constexpr IntType operator-
375 return !(*
this == iter);
381 return !(iter < *
this);
387 return (iter < *
this);
393 return !(*
this < iter);
421 const IntType val = 0
428 inline constexpr IntType operator*() const
noexcept;
431 inline constexpr IntType operator[](const IntType
n) const
noexcept;
464 inline constexpr IntType operator-
486 return !(*
this == iter);
492 return !(iter < *
this);
498 return (iter < *
this);
504 return !(*
this < iter);
517#if defined(WM_LABEL_SIZE) && (WM_LABEL_SIZE >= 64)
546template<
class IntType>
547inline constexpr bool operator==
559template<
class IntType>
560inline constexpr bool operator<
580template<
class IntType>
581inline constexpr bool operator!=
590template<
class IntType>
591inline constexpr bool operator<=
600template<
class IntType>
601inline constexpr bool operator>
610template<
class IntType>
611inline constexpr bool operator>=
Random-access 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
Random-access reverse input iterator with const access.
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
An interval of (signed) integers defined by a start and a size.
void clear() noexcept
Reset to zero start and zero size.
const_iterator end() const noexcept
A const_iterator set to 1 beyond the end of the range.
IntType last() const noexcept
The (inclusive) upper value of the range.
void resize(const IntType n) noexcept
Change the size, no checks. Identical to setSize()
const_iterator begin() const noexcept
A const_iterator set to the beginning of the range.
IntType rend_value() const noexcept
The value 1 before the start of the range.
bool empty() const noexcept
True if range is empty (zero-sized)
const_reverse_iterator rend() const noexcept
A const_reverse_iterator set to 1 before the begin of range.
IntType & start() noexcept
Non-const access to start of the range.
const_reverse_iterator crbegin() const noexcept
A const_reverse_iterator set to 1 before the end of range.
const_iterator at(const IntType i) const
IntType size_type
The type that can represent the size of the range.
IntType size() const noexcept
The size of the range.
void clampSize() noexcept
Enforce non-negative size.
const_reverse_iterator crend() const noexcept
A const_reverse_iterator set to 1 before the begin of range.
void setSize(const IntType n) noexcept
Change the size, no checks. Identical to resize()
void reset(const IntType beg, const IntType len) noexcept
Reset start and length, no checks.
const_iterator cbegin() const noexcept
A const_iterator set to the beginning of the range.
const_reverse_iterator rbegin() const noexcept
A const_reverse_iterator set to 1 before the end of range.
IntType value_type
Type of values the range contains.
const_iterator cend() const noexcept
A const_iterator set to 1 beyond the end of the range.
IntType first() const noexcept
The (inclusive) lower value of the range. Same as start()
constexpr IntRange() noexcept
Default construct an empty range (0,0)
IntType end_value() const noexcept
The value 1 beyond the end of the range.
void setStart(const IntType i) noexcept
Set the start position, no checks.
T & first()
Return the first element of the list.
void size(const label n)
Older name for setAddressableSize.
OBJstream os(runTime.globalPath()/outputName)
Typedefs for label/uLabel without requiring label.H.
labelList identity(const label len, label start=0)
Return an identity map of the given length with (map[i] == i)
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.
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.
Unary predicate for greater-equal 0 (int values)
constexpr bool operator()(const Int val) const noexcept
Unary predicate for greater than 0 (int values)
constexpr bool operator()(const Int val) const noexcept
Unary predicate for less-equal 0 (int values)
constexpr bool operator()(const Int val) const noexcept
Unary predicate for less than 0 (int values)
constexpr bool operator()(const Int val) const noexcept