MCPcopy Create free account
hub / github.com/comaps/comaps / DebugPrint

Function DebugPrint

libs/search/result.cpp:231–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231string DebugPrint(Result::Type type)
232{
233 switch (type)
234 {
235 case Result::Type::Feature: return "Feature";
236 case Result::Type::LatLon: return "LatLon";
237 case Result::Type::PureSuggest: return "PureSuggest";
238 case Result::Type::SuggestFromFeature: return "SuggestFromFeature";
239 case Result::Type::Postcode: return "Postcode";
240 }
241
242 return "Unknown";
243}
244
245string DebugPrint(Result const & result)
246{

Callers

nothing calls this directly

Calls 8

DebugPrintSequenceFunction · 0.85
GetReadableObjectNameMethod · 0.80
GetFeatureTypeMethod · 0.80
GetResultTypeMethod · 0.45
GetStringMethod · 0.45
emptyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected