class Dump

The Dump class shall serve as a very simple addon: It iterates through the musical context (song, track, part or selection) and dumps the parameters to the standard output, (call Brahms from the shell to demonstrate). More...

Definition#include <dump.h>
InheritsAddon [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

The Dump class shall serve as a very simple addon: It iterates through the musical context (song, track, part or selection) and dumps the parameters to the standard output, (call Brahms from the shell to demonstrate). Addons are located inside the brahms/addons/ directory. Each addon is kept in a separate directory.

To write your own addon make a copy of brahms/addons/Dump and modify it. You will see, it's very simple. In order to use an addon called MyAddon, call Brahms with the -a option:

Brahms -a myAddon

(the parameter starts lower case, while the class name starts upper case!) Now, take a look at the implementation dump.h and dump.cpp

 Dump (Element*)

Dump

The constructor is given a parameter specifying the target of the operation implement this typically for a Song, Track, Part and NULL, where NULL indicates that the globally defined table * selectioN is used as a target

 ~Dump ()

~Dump

void  selection (Table*)

selection

[virtual]

Reimplemented from Addon.

void  part (Part*)

part

[virtual]

Reimplemented from Addon.

void  track (Track*)

track

[virtual]

Reimplemented from Addon.

void  song (Song*)

song

[virtual]

Reimplemented from Addon.

void  undo ()

undo

Reimplemented from Addon.

void  redo ()

redo

Reimplemented from Addon.


Generated by: wuerthne on al on Sun Jan 6 22:32:42 2002, using kdoc 2.0a53.