#include <RemoveDelta.h>
Inheritance diagram for Document::RemoveDelta< InsertRemoveIdentifer, Object >:

| Public Member Functions | |
| RemoveDelta (InsertRemoveIdentifer identifier) | |
| Create a delta instructing the removal of the object found by identifier. | |
| virtual | ~RemoveDelta () | 
| virtual void | apply (Track::Track &track) | 
| Remove the object found by the identifier. | |
| virtual void | unapply (Track::Track &track) | 
| Add the object back again. | |
| Protected Attributes | |
| boost::shared_ptr< Object > | object | 
| InsertRemoveIdentifer | identifier | 
If removing an object also requires the alteration of dependant objects, make a Document::StackableDelta to find and remove the dependents, then apply a Document::RemoveDelta. InsertRemoveIdentifer class to identify an object and insert or remove it. Should behave like a Document::InsertRemoveIdentifier. Object the class of object that is added and removed. Must be assignable.
Definition at line 32 of file RemoveDelta.h.
| Document::RemoveDelta< InsertRemoveIdentifer, Object >::RemoveDelta | ( | InsertRemoveIdentifer | identifier | ) |  [inline] | 
Create a delta instructing the removal of the object found by identifier.
Definition at line 38 of file RemoveDelta.h.
| virtual Document::RemoveDelta< InsertRemoveIdentifer, Object >::~RemoveDelta | ( | ) |  [inline, virtual] | 
Definition at line 43 of file RemoveDelta.h.
| virtual void Document::RemoveDelta< InsertRemoveIdentifer, Object >::apply | ( | Track::Track & | track | ) |  [inline, virtual] | 
Remove the object found by the identifier.
Implements Document::DocumentDelta.
Definition at line 48 of file RemoveDelta.h.
| virtual void Document::RemoveDelta< InsertRemoveIdentifer, Object >::unapply | ( | Track::Track & | track | ) |  [inline, virtual] | 
Add the object back again.
Implements Document::DocumentDelta.
Definition at line 55 of file RemoveDelta.h.
| InsertRemoveIdentifer Document::RemoveDelta< InsertRemoveIdentifer, Object >::identifier  [protected] | 
Definition at line 61 of file RemoveDelta.h.
| boost::shared_ptr<Object> Document::RemoveDelta< InsertRemoveIdentifer, Object >::object  [protected] | 
Definition at line 60 of file RemoveDelta.h.
Generated at Mon Sep 6 00:41:17 2010 by Doxygen version 1.4.7 for Racer version svn335.