Go to the documentation of this file.
34 template<
class T,
unsigned N>
58 template<
class T,
unsigned N>
70 template<
class T,
unsigned N>
82 template<
class T,
unsigned N>
94 template<
class T,
unsigned N>
110 template<
class T,
unsigned N>
117 for (
unsigned i = 0; i <
N; ++i)
119 if (!(lhs[i] == rhs[i]))
130 template<
class T,
unsigned N>
137 for (
unsigned i=0; i<
N; ++i)
143 else if (rhs[i] < lhs[i])
154 template<
class T,
unsigned N>
161 template<
class T,
unsigned N>
164 return list.operator<(*this);
168 template<
class T,
unsigned N>
171 return !list.operator<(*this);
175 template<
class T,
unsigned N>
label ListType::const_reference val
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.
string lower(const std::string &str)
Return string transformed with std::tolower on each character.
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)
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.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
string upper(const std::string &str)
Return string transformed with std::toupper on each character.
label find(const T &val, const label start=0) const
Find index of the first occurence of the value.
void moveFirst(const label i)
Move element to the first position.
#define List_CONST_ACCESS(type, f, fp)
bool operator<(const Instant< T1 > &a, const Instant< T2 > &b)
Compare instant values for less-than.
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.
label ListType::const_reference const label start
A 1D vector of objects of type <T> with a fixed length <N>.
const Vector< label > N(dict.get< Vector< label >>("N"))
Macros for accessing List elements.
void moveLast(const label i)
Move element to the last position.