passesAll

Evaluates a list of filters.

Synopsis

static bool passesAll(const dyn_anytype &values, const vector<DynamicTableViewFilter> &filters )

Parameters

Parameter Meaning
values Row of value to evaluate.
filters

List of filters to apply to "values".

Each entry in this list is combined with the next either by AND or OR operator. This depends on the filters orNext flag. As is usual the AND operator has higher precedence, that is: a AND b OR c AND d is evaluated as (a AND b) OR (c AND d).

Return value

The function returns "true" if the row of values passes "filters".

Assignment

DynamicTableViewFilter class

Availability

CTRL