| 133 | { |
| 134 | |
| 135 | pair<int, int> GetMinMax(int level, vector<uint32_t> const & types, drule::TypeT ruleType) |
| 136 | { |
| 137 | pair<int, int> res(numeric_limits<int>::max(), numeric_limits<int>::min()); |
| 138 | |
| 139 | drule::KeysT keys; |
| 140 | feature::GetDrawRule(types, level, feature::GeomType::Area, keys); |
| 141 | |
| 142 | for (size_t i = 0; i < keys.size(); ++i) |
| 143 | { |
| 144 | if (keys[i].m_type != ruleType) |
| 145 | continue; |
| 146 | |
| 147 | if (keys[i].m_priority < res.first) |
| 148 | res.first = keys[i].m_priority; |
| 149 | if (keys[i].m_priority > res.second) |
| 150 | res.second = keys[i].m_priority; |
| 151 | } |
| 152 | |
| 153 | return res; |
| 154 | } |
| 155 | |
| 156 | string CombineArrT(base::StringIL const & arrT) |
| 157 | { |
no test coverage detected