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

Method GetFeatureByIndex

generator/pygen/pygen.cpp:181–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179 size_t Size() const { return m_guard->GetNumFeatures(); }
180
181 FeatureTypeWrapper GetFeatureByIndex(uint32_t index)
182 {
183 FeatureTypeWrapper ftw(m_self.lock(), m_guard->GetFeatureByIndex(index));
184 if (m_parse)
185 ftw.ParseAll();
186
187 return ftw;
188 }
189
190 bp::dict GetSectionsInfo() const
191 {

Callers 5

UNIT_CLASS_TESTFunction · 0.45
UNIT_CLASS_TESTFunction · 0.45
UNIT_TESTFunction · 0.45
NextMethod · 0.45
ForEachFeatureMethod · 0.45

Calls 2

lockMethod · 0.80
ParseAllMethod · 0.80

Tested by 4

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