Go to the documentation of this file.
34 template<
class T,
unsigned N>
41 while (
pos < label(
N))
56 template<
class T,
unsigned N>
60 if (pos < 0 || pos >= label(
N))
81 template<
class T,
unsigned N>
93 template<
class T,
unsigned N>
105 template<
class T,
unsigned N>
117 template<
class T,
unsigned N>
122 const label
upper = label(
N-1);
133 template<
class T,
unsigned N>
140 for (
unsigned i = 0; i <
N; ++i)
142 if (!(lhs[i] == rhs[i]))
153 template<
class T,
unsigned N>
160 for (
unsigned i=0; i<
N; ++i)
166 else if (rhs[i] < lhs[i])
177 template<
class T,
unsigned N>
184 template<
class T,
unsigned N>
187 return list.operator<(*this);
191 template<
class T,
unsigned N>
194 return !list.operator<(*this);
198 template<
class T,
unsigned N>
void swapLast(const label i)
Swap element with the last element.
bool operator<=(const FixedList< T, N > &list) const
Return true if !(a > b). Takes linear time.
label find(const T &val, label pos=0) const
Find index of the first occurrence of the value.
bool operator!=(const FixedList< T, N > &list) const
The opposite of the equality operation. Takes linear time.
void Swap(DynamicList< T, SizeMin1 > &a, DynamicList< T, SizeMin2 > &b)
string lower(const std::string &s)
Return string copy transformed with std::tolower on each character.
bool operator==(const FixedList< T, N > &list) const
Equality operation on FixedLists of the same type.
bool operator<(const FixedList< T, N > &list) const
Compare two FixedLists lexicographically. Takes linear time.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
label rfind(const T &val, label pos=-1) const
Find index of the last occurrence of the value.
void moveFirst(const label i)
Move element to the first position.
#define List_CONST_ACCESS(type, f, fp)
bool operator>(const FixedList< T, N > &list) const
Compare two FixedLists lexicographically. Takes linear time.
bool operator>=(const FixedList< T, N > &list) const
Return true if !(a < b). Takes linear time.
void swapFirst(const label i)
Swap element with the first element.
A 1D vector of objects of type <T> with a fixed length <N>.
bool operator<(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A older than B.
const Vector< label > N(dict.get< Vector< label >>("N"))
string upper(const std::string &s)
Return string copy transformed with std::toupper on each character.
Macros for accessing List elements.
void moveLast(const label i)
Move element to the last position.
dimensionedScalar pos(const dimensionedScalar &ds)