MCPcopy Create free account
hub / github.com/BambooTracker/BambooTracker / hasEvent

Method hasEvent

BambooTracker/module/pattern.cpp:94–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94bool Pattern::hasEvent() const
95{
96 auto endIt = steps_.cbegin() + static_cast<int>(size_);
97 return std::any_of(steps_.cbegin(), endIt,
98 [](const Step& step) { return step.hasEvent(); });
99}
100
101std::vector<int> Pattern::getEditedStepIndices() const
102{

Callers 1

getEditedStepIndicesMethod · 0.45

Calls 1

cbeginMethod · 0.45

Tested by

no test coverage detected