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

Method Has

libs/search/geocoder.hpp:166–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164 }
165
166 bool Has(uint32_t id, bool searchWorld = false) const
167 {
168 if (searchWorld)
169 return m_worldFeatures.HasBit(id);
170 return m_countryFeatures.HasBit(id);
171 }
172
173 bool IsEmpty() const { return m_countryFeatures.IsEmpty() && m_worldFeatures.IsEmpty(); }
174

Callers 4

operator()Method · 0.45
CityHasPostcodeMethod · 0.45
MatchPOIsAndBuildingsMethod · 0.45
UNIT_CLASS_TESTFunction · 0.45

Calls 1

HasBitMethod · 0.80

Tested by 1

UNIT_CLASS_TESTFunction · 0.36