Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

BigUndoable Class Reference

Inheritance diagram for BigUndoable:

Undoable List of all members.

Public Member Functions

 BigUndoable (int i, float f)
 ~BigUndoable ()
void SetState (MyState ms)
int GetInt ()
float GetFloat ()
void IncState ()
UndoMemento GetMemento (void)

Private Attributes

MyState fState

Constructor & Destructor Documentation

BigUndoable::BigUndoable int  i,
float  f
[inline]
 

Definition at line 36 of file test-Undoable.cxx.

References BigUndoable::MyState::fFloat, BigUndoable::MyState::fInt, and fState.

00036 {fState.fInt = i; fState.fFloat = f;}

BigUndoable::~BigUndoable  )  [inline]
 

Definition at line 37 of file test-Undoable.cxx.

00037 {}


Member Function Documentation

float BigUndoable::GetFloat  )  [inline]
 

Definition at line 41 of file test-Undoable.cxx.

References BigUndoable::MyState::fFloat, and fState.

Referenced by test1().

00041 { return fState.fFloat; }

int BigUndoable::GetInt  )  [inline]
 

Definition at line 40 of file test-Undoable.cxx.

References BigUndoable::MyState::fInt, and fState.

Referenced by test1().

00040 { return fState.fInt; }

UndoMemento BigUndoable::GetMemento void   )  [inline, virtual]
 

Implements Undoable.

Definition at line 44 of file test-Undoable.cxx.

References fState, SetState(), and UndoMemento.

00045         { return SigC::bind(SigC::slot_class(*this,&BigUndoable::SetState),fState); }

void BigUndoable::IncState  )  [inline]
 

Definition at line 42 of file test-Undoable.cxx.

References BigUndoable::MyState::fFloat, BigUndoable::MyState::fInt, and fState.

Referenced by test1().

00042 { ++fState.fInt; ++fState.fFloat; }

void BigUndoable::SetState MyState  ms  )  [inline]
 

Definition at line 39 of file test-Undoable.cxx.

References fState.

Referenced by GetMemento().

00039 { fState = ms; }


Member Data Documentation

MyState BigUndoable::fState [private]
 

Definition at line 48 of file test-Undoable.cxx.

Referenced by BigUndoable(), GetFloat(), GetInt(), GetMemento(), IncState(), and SetState().


The documentation for this class was generated from the following file:
Generated on Mon Feb 15 11:08:49 2010 for loon by  doxygen 1.3.9.1