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

Method HasWithSubclass

libs/indexer/feature_data.cpp:49–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49bool TypesHolder::HasWithSubclass(uint32_t type) const
50{
51 uint8_t const level = ftype::GetLevel(type);
52 for (uint32_t t : *this)
53 {
54 ftype::TruncValue(t, level);
55 if (t == type)
56 return true;
57 }
58 return false;
59}
60
61void TypesHolder::Remove(uint32_t type)
62{

Callers 3

CalcRoadMaskMethod · 0.80
operator()Method · 0.80
CategoriesInfoMethod · 0.80

Calls 2

GetLevelFunction · 0.85
TruncValueFunction · 0.85

Tested by

no test coverage detected