#include <filters.h>
|
FilterFunc | filter |
|
int | column |
| zero-based column index
|
|
bool | filterOnHeader |
|
Predicate functor for filtering items in a specific column of a row. Column indices are zero-based. ItemFilter::filter
is called once for the data item in ItemFilter::column
of each row. If ItemFilter::filterOnHeader
is true, then this filter is applied before the header row is extracted.
◆ FilterFunc
using inviwo::filters::ItemFilter::FilterFunc |
Initial value: std::variant<std::function<bool(std::string_view)>,
std::function<bool(std::int64_t)>, std::function<bool(double)>>
◆ filter
FilterFunc inviwo::filters::ItemFilter::filter |
Predicate function for filtering a column. The data item of ItemFilter::column
is converted from std::string to the corresponding type of the predicate function before filter
is called, that is std::string_view
, int
, float
, or double
.
- See also
- FilterFunc
The documentation for this struct was generated from the following file: