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

Method GetOriginalOrEditedFeatureByIndex

libs/indexer/data_source.cpp:140–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140std::unique_ptr<FeatureType> FeaturesLoaderGuard::GetOriginalOrEditedFeatureByIndex(uint32_t index) const
141{
142 ASSERT(m_handle.IsAlive(), ());
143 ASSERT_NOT_EQUAL(m_source->GetFeatureStatus(index), FeatureStatus::Created, ());
144 return GetFeatureByIndex(index);
145}
146
147std::unique_ptr<FeatureType> FeaturesLoaderGuard::GetFeatureByIndex(uint32_t index) const
148{

Callers

nothing calls this directly

Calls 3

ASSERTFunction · 0.85
IsAliveMethod · 0.45
GetFeatureStatusMethod · 0.45

Tested by

no test coverage detected