| 92 | } |
| 93 | |
| 94 | bool 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 | |
| 101 | std::vector<int> Pattern::getEditedStepIndices() const |
| 102 | { |
no test coverage detected