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

Method getEditedStepIndices

BambooTracker/module/pattern.cpp:101–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101std::vector<int> Pattern::getEditedStepIndices() const
102{
103 auto endIt = steps_.cbegin() + static_cast<int>(size_);
104 return utils::findIndicesIf(steps_.cbegin(), endIt,
105 [](const Step& step) { return step.hasEvent(); });
106}
107
108std::set<int> Pattern::getRegisteredInstruments() const
109{

Callers 1

saveMethod · 0.80

Calls 3

findIndicesIfFunction · 0.85
cbeginMethod · 0.45
hasEventMethod · 0.45

Tested by

no test coverage detected