#include <ChangePropertyDelta.h>
Inheritance diagram for Document::ChangePropertyDelta< Identifier, Data >:
Public Member Functions | |
ChangePropertyDelta (Identifier identifier, Data data) | |
Command changes the information found by Identifier to Data. | |
virtual void | apply (Track::Track &track) |
Perform the associated reverable action on the track. | |
virtual void | unapply (Track::Track &track) |
Reverse the action. | |
Protected Attributes | |
Identifier | identifier |
Data | new_data |
Data | old_data |
Identifier A class that finds an editable property. Data The class of the editable property.
Definition at line 50 of file ChangePropertyDelta.h.
Document::ChangePropertyDelta< Identifier, Data >::ChangePropertyDelta | ( | Identifier | identifier, | |
Data | data | |||
) | [inline] |
Command changes the information found by Identifier to Data.
identifier | Object that finds the data that will be changed. It must behave like a PropertyDeltaIdentifier, but does not need to inherit from it. | |
data | The new replacement to the data specified by identifier. |
Definition at line 60 of file ChangePropertyDelta.h.
virtual void Document::ChangePropertyDelta< Identifier, Data >::apply | ( | Track::Track & | track | ) | [inline, virtual] |
Perform the associated reverable action on the track.
track | The track to apply the changes to. |
Implements Document::DocumentDelta.
Definition at line 65 of file ChangePropertyDelta.h.
virtual void Document::ChangePropertyDelta< Identifier, Data >::unapply | ( | Track::Track & | track | ) | [inline, virtual] |
Reverse the action.
This will only be called when the track is in the same state having just called
apply(track)
track | The track to apply the changes to. |
Implements Document::DocumentDelta.
Definition at line 70 of file ChangePropertyDelta.h.
Identifier Document::ChangePropertyDelta< Identifier, Data >::identifier [protected] |
Definition at line 75 of file ChangePropertyDelta.h.
Data Document::ChangePropertyDelta< Identifier, Data >::new_data [protected] |
Definition at line 76 of file ChangePropertyDelta.h.
Data Document::ChangePropertyDelta< Identifier, Data >::old_data [protected] |
Definition at line 77 of file ChangePropertyDelta.h.
Generated at Mon Sep 6 00:41:16 2010 by Doxygen version 1.4.7 for Racer version svn335.