Hydrogen - Linux Drum Machine |
#include <Song.h>
Inheritance diagram for PatternList:
Public Member Functions | |
virtual string | getClassName () |
Return the class name. | |
PatternList () | |
Constructor. | |
~PatternList () | |
Destructor. | |
void | add (Pattern *newPattern) |
Pattern * | get (unsigned int pos) |
unsigned int | getSize () |
void | clear () |
void | replace (Pattern *newPattern, unsigned int pos) |
Replace an existent pattern with another one. | |
void | del (Pattern *pattern) |
Remove a pattern from the list (every instance in the list) Note: the pattern is not deleted!!! | |
void | del (uint index) |
Remove one pattern from the list Note: the pattern is not deleted!!! | |
Private Attributes | |
vector< Pattern * > | list |