![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
#include <inviwo/dataframe/util/filters.h>
Public Types | |
| using | FilterFunc |
Public Attributes | |
| int | column |
| zero-based column index | |
| FilterFunc | filter |
| 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.
| using inviwo::filters::ItemFilter::FilterFunc |
| 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.