MCPcopy Create free account
hub / github.com/Kitware/VTK / Prune

Function Prune

Common/DataModel/vtkDataSetAttributesFieldList.cxx:328–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326 }
327
328 void Prune()
329 {
330 detail::remove_if(this->Fields, this->Fields.begin(), this->Fields.end(),
331 [](const std::pair<std::string, detail::FieldInfo>& pair) { return pair.second.IsEmpty(); });
332 }
333
334 const detail::FieldInfo* GetLegacyFieldForIndex(int i) const
335 {

Callers

nothing calls this directly

Calls 4

remove_ifFunction · 0.85
beginMethod · 0.45
endMethod · 0.45
IsEmptyMethod · 0.45

Tested by

no test coverage detected