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

Method IsWorld

libs/indexer/data_source.cpp:134–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134bool FeaturesLoaderGuard::IsWorld() const
135{
136 ASSERT(m_handle.IsAlive(), ());
137 return m_handle.GetValue()->GetHeader().GetType() == feature::DataHeader::MapType::World;
138}
139
140std::unique_ptr<FeatureType> FeaturesLoaderGuard::GetOriginalOrEditedFeatureByIndex(uint32_t index) const
141{

Callers 4

CityHasPostcodeMethod · 0.45
MatchWorld2CountryMethod · 0.45
IsEqualFeatureMethod · 0.45
LoadFeatureMethod · 0.45

Calls 5

ASSERTFunction · 0.85
GetHeaderMethod · 0.80
IsAliveMethod · 0.45
GetTypeMethod · 0.45
GetValueMethod · 0.45

Tested by

no test coverage detected