Go to the documentation of this file.
52 duplicate[next] =
true;
88 const label next = input.find(
val, i+1);
92 duplicate[next] =
true;
label ListType::const_reference val
label find(const T &val, const label start=0) const
Find index of the first occurrence of the value.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void resize(const label newSize)
Adjust allocated size of list.
void uniq()
Filter out duplicate entries (inplace).
unsigned int count(const UList< bool > &bools, const bool val=true)
Count number of 'true' entries.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A List of wordRe with additional matching capabilities.
void size(const label n) noexcept
Override size to be inconsistent with allocated storage.