35 for (
const label val :
set)
49 for (
const label val :
set)
65 for (
const label val :
set)
A min/max value pair with additional methods. In addition to conveniently storing values,...
void set(List< bool > &bools, const labelUList &locations)
Set the listed locations (assign 'true').
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
MinMax< label > minMax(const labelHashSet &set)
Find the min/max values of labelHashSet.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.