class AddElement

This operation adds an element to a compound. More...

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

Public Methods


Detailed Description

This operation adds an element to a compound. 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...

 AddElement (Element * e, Compound * list)

AddElement

example: new AddElement(new Note(), new Part());

 AddElement (const AddElement&)

AddElement

 ~AddElement ()

~AddElement

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.