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

Method GetType

libs/indexer/ftypes_matcher.cpp:283–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283SuburbType IsSuburbChecker::GetType(uint32_t t) const
284{
285 ftype::TruncValue(t, 2);
286 for (size_t i = 0; i < m_types.size(); ++i)
287 if (m_types[i] == t)
288 return static_cast<SuburbType>(i);
289 return SuburbType::Count;
290}
291
292SuburbType IsSuburbChecker::GetType(feature::TypesHolder const & types) const
293{

Callers 1

GetPopulationFunction · 0.45

Calls 3

TruncValueFunction · 0.85
GetTypeFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected