MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / GetCategory

Method GetCategory

WinArk/EventConfiguration.cpp:18–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18const EventConfigCategory* const EventsConfiguration::GetCategory(PCWSTR name) const {
19 auto it = std::find_if(_categories.begin(), _categories.end(), [&](auto& c) {
20 return c.Name == name;
21 });
22 return it == _categories.end() ? nullptr : &(*it);
23}
24
25EventConfigCategory* EventsConfiguration::GetCategory(PCWSTR name) {
26 auto it = std::find_if(_categories.begin(), _categories.end(), [&](auto& c) {

Callers 1

BuildEventsTreeMethod · 0.45

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected