class AddOrnament

# class AddOrnament | This operation adds an ornament to a note. More...
Definition | `#include <addOrnament.h>`
Inherits | Operation [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- AddOrnament (Ornament * o, Note * note)
- AddOrnament (const AddOrnament&)
- ~AddOrnament ()
- void undo ()
- void redo ()
- virtual ostream & print (int,ostream&) const
- virtual void flush (const char*) const
- virtual Element * copy () const

## Detailed Description

This operation adds an ornament to a note. In case the operation is undone, the element has to be deleted when the operation-instance is deleted. For this reason, a _delete element is used...

AddOrnament (Ornament * o, Note * note) | ### AddOrnament

example: new AddOrnament(new Expression(0), new Note());

AddOrnament (const AddOrnament&) | ### AddOrnament

~AddOrnament () | ### ~AddOrnament

void undo () | ### undo

Reimplemented from Operation.

void redo () | ### redo

Reimplemented from Operation.

ostream & print (int,ostream&) | ### print

[const virtual]

Reimplemented from Atoma.

void flush (const char*) | ### flush

[const virtual]

Reimplemented from Atoma.

Element * copy () | ### copy

[const virtual]

Reimplemented from Atoma.

Generated by: wuerthne on clouseau on Fri Sep 21 19:20:46 2001, using kdoc 2.0a53.