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

Method getRegisterdInstruments

BambooTracker/module/module.cpp:121–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121std::set<int> Module::getRegisterdInstruments() const
122{
123 std::set<int> set;
124 for (const Song& song : songs_) {
125 auto&& subset = song.getRegisteredInstruments();
126 std::copy(subset.begin(), subset.end(), std::inserter(set, set.end()));
127 }
128 return set;
129}
130
131void Module::clearUnusedPatterns()
132{

Callers 1

Calls 3

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected