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

Method getRegisteredInstruments

BambooTracker/module/track.cpp:111–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111std::set<int> Track::getRegisteredInstruments() const
112{
113 std::set<int> set;
114 for (const Pattern& pattern : patterns_) {
115 auto&& insts = pattern.getRegisteredInstruments();
116 std::copy(insts.cbegin(), insts.cend(), std::inserter(set, set.end()));
117 }
118 return set;
119}
120
121void Track::registerPatternToOrder(int order, int pattern)
122{

Callers

nothing calls this directly

Calls 3

cbeginMethod · 0.45
cendMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected