MCPcopy Create free account
hub / github.com/audacity/audacity / GetChildren

Method GetChildren

src/PluginDataModel.cpp:292–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292unsigned PluginDataModel::GetChildren(const wxDataViewItem& item, wxDataViewItemArray& children) const
293{
294 children.clear();
295 if(item.GetID() != RowIdRoot)
296 return 0;
297
298 children.reserve(mIndexFilterMap.size());
299 for(const auto index : mIndexFilterMap)
300 children.push_back(wxDataViewItem(index));
301
302 return children.size();
303}
304
305PluginDescriptor* PluginDataModel::GetPlugin(wxDataViewItem item)
306{

Callers 15

SetupAccessibilityFunction · 0.80
SearchForWindowMethod · 0.80
CreateStdButtonSizerFunction · 0.80
PathComponentsFunction · 0.80
FindByPathFunction · 0.80
GetChildCountMethod · 0.80
GetChildMethod · 0.80
ExploreWindowsMethod · 0.80
resizeViewMethod · 0.80
BuildPlainMethod · 0.80

Calls 4

clearMethod · 0.45
GetIDMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected