Inheritance diagram for UndoableInt:

Public Member Functions | |
| UndoableInt (int i) | |
| virtual | ~UndoableInt () |
| void | Set (int i) |
| int | Get (void) |
| UndoMemento | GetMemento (void) |
Private Attributes | |
| int | fVal |
|
|
Definition at line 12 of file test-Undoable.cxx. References fVal. 00012 : fVal(i) {}
|
|
|
Definition at line 13 of file test-Undoable.cxx. 00013 {}
|
|
|
Definition at line 15 of file test-Undoable.cxx. Referenced by Composite::Increment(), Composite::Print(), and test1(). 00015 { return fVal; }
|
|
|
Implements Undoable. Definition at line 18 of file test-Undoable.cxx. References fVal, Set(), and UndoMemento. Referenced by Composite::GetMemento(). 00019 { return SigC::bind(SigC::slot_class(*this,&UndoableInt::Set),fVal); }
|
|
|
Definition at line 14 of file test-Undoable.cxx. References fVal. Referenced by GetMemento(), Composite::Increment(), and test1(). 00014 { fVal = i; }
|
|
|
Definition at line 21 of file test-Undoable.cxx. Referenced by GetMemento(), Set(), and UndoableInt(). |
1.3.9.1