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

Method GetNumFeatures

libs/indexer/feature_source.cpp:30–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30size_t FeatureSource::GetNumFeatures() const
31{
32 if (!m_handle.IsAlive())
33 return 0;
34
35 ASSERT(m_vector, ());
36 return m_vector->GetNumFeatures();
37}
38
39std::unique_ptr<FeatureType> FeatureSource::GetOriginalFeature(uint32_t index) const
40{

Callers 9

mainFunction · 0.45
UNIT_CLASS_TESTFunction · 0.45
UNIT_CLASS_TESTFunction · 0.45
UNIT_TESTFunction · 0.45
SizeMethod · 0.45
ForEachFeatureMethod · 0.45
SearchByFeatureIdMethod · 0.45
UNIT_TESTFunction · 0.45
UNIT_TESTFunction · 0.45

Calls 2

ASSERTFunction · 0.85
IsAliveMethod · 0.45

Tested by 6

UNIT_CLASS_TESTFunction · 0.36
UNIT_CLASS_TESTFunction · 0.36
UNIT_TESTFunction · 0.36
ForEachFeatureMethod · 0.36
UNIT_TESTFunction · 0.36
UNIT_TESTFunction · 0.36