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

Method GetSearchRank

libs/indexer/ftypes_matcher.cpp:348–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346}
347
348IsWayChecker::SearchRank IsWayChecker::GetSearchRank(uint32_t type) const
349{
350 ftype::TruncValue(type, 2);
351 auto const it = m_ranks.find(type);
352 if (it != m_ranks.cend())
353 return it->second;
354 return Default;
355}
356
357IsStreetOrSquareChecker::IsStreetOrSquareChecker()
358{

Callers 5

IsCarDesignatedHighwayFunction · 0.80
IsEqualFeatureMethod · 0.80
operator()Method · 0.80

Calls 3

TruncValueFunction · 0.85
findMethod · 0.45
cendMethod · 0.45

Tested by

no test coverage detected