| 79 | } |
| 80 | |
| 81 | bool operator()(ClassifObject const * p) const |
| 82 | { |
| 83 | drule::KeysT keys; |
| 84 | p->GetSuitable(m_scale, m_geomType, keys); |
| 85 | |
| 86 | for (auto const & k : keys) |
| 87 | { |
| 88 | if ((m_arr[0] && k.m_type == drule::caption) || (m_arr[1] && k.m_type == drule::pathtext) || |
| 89 | (m_arr[2] && k.m_type == drule::symbol) || (m_arr[3] && k.m_type == drule::line)) |
| 90 | { |
| 91 | return true; |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | return false; |
| 96 | } |
| 97 | }; |
| 98 | |
| 99 | /// @name Add here classifier types that don't have drawing rules but needed for algorithms. |
nothing calls this directly
no test coverage detected