| 34 | bool IsEmpty() const { return m_count == 0; } |
| 35 | |
| 36 | void operator()(FeatureType & ft) |
| 37 | { |
| 38 | ++m_count; |
| 39 | |
| 40 | m_timer.Reset(); |
| 41 | |
| 42 | drule::KeysT keys; |
| 43 | UNUSED_VALUE(feature::GetDrawRule(feature::TypesHolder(ft), m_scale, keys)); |
| 44 | |
| 45 | if (!keys.empty()) |
| 46 | { |
| 47 | // Call this function to load feature's inner data and geometry. |
| 48 | UNUSED_VALUE(ft.IsEmptyGeometry(m_scale)); |
| 49 | } |
| 50 | |
| 51 | m_res.Add(m_timer.ElapsedSeconds()); |
| 52 | } |
| 53 | |
| 54 | private: |
| 55 | base::Timer m_timer; |
nothing calls this directly
no test coverage detected