| 210 | } |
| 211 | |
| 212 | string Result::ToStringForStats() const |
| 213 | { |
| 214 | string readableType; |
| 215 | if (GetResultType() == Type::Feature) |
| 216 | readableType = classif().GetReadableObjectName(m_matchedType); |
| 217 | |
| 218 | string s; |
| 219 | s.append(GetString()); |
| 220 | s.append("|"); |
| 221 | s.append(readableType); |
| 222 | s.append("|"); |
| 223 | s.append(IsSuggest() ? "1" : "0"); |
| 224 | s.append("|"); |
| 225 | s.append(to_string(mercator::YToLat(m_center.y))); |
| 226 | s.append("|"); |
| 227 | s.append(to_string(mercator::XToLon(m_center.x))); |
| 228 | return s; |
| 229 | } |
| 230 | |
| 231 | string DebugPrint(Result::Type type) |
| 232 | { |
nothing calls this directly
no test coverage detected