The music
class is the main control of the music classes; it stores music_details
objects to match music against and controls the construction of the music_node
tree (see music node class definition.
The class must know the number of bells in the rows that are to be examined before the music_class
objects are passed to it; this allows it to create trees of the correct depth and structure to store the regular expressions in search format.
The music_detail
objects are stored in a vector<music_details>
structure, this is accessible via the functions provided (detailed below).