| 216 | */ |
| 217 | template <typename E> |
| 218 | static typename df::enum_traits<E>::base_type token_to_enum_val(const string& token) { |
| 219 | E val; |
| 220 | if (!find_enum_item(&val, token)) |
| 221 | return -1; |
| 222 | return val; |
| 223 | } |
| 224 | |
| 225 | static bool matches_filter(color_ostream& out, const vector<string>& filters, const string& name) { |
| 226 | for (auto & filter : filters) { |
nothing calls this directly
no test coverage detected