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

Function ContainsMenu

src/widgets/BasicMenu.cpp:52–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52inline bool ContainsMenu( const Menus &menus, void *pObj )
53{
54 return std::count( menus.begin(), menus.end(), pObj );
55}
56
57// Find a path name for the id in the given menu, but only if it, and
58// each sub-menu above it, is uniquely named among peer items

Callers 1

FilterEventMethod · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected