Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

Undo::Stack< Type > Class Template Reference

#include <Undo.h>

Inheritance diagram for Undo::Stack< Type >:

Inheritance graph
[legend]
Collaboration diagram for Undo::Stack< Type >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Stack ()
virtual ~Stack ()
virtual void Clear ()
virtual void Add (Type typ)
bool CanUndo ()
bool CanRedo ()
Type Undo ()
Type Redo ()

Protected Attributes

std::vector< Type > m_v
unsigned int m_uiWaterline

template<typename Type>
class Undo::Stack< Type >


Constructor & Destructor Documentation

template<typename Type>
Undo::Stack< Type >::Stack  )  [inline]
 

Definition at line 29 of file Undo.h.

template<typename Type>
virtual Undo::Stack< Type >::~Stack  )  [inline, virtual]
 

Definition at line 35 of file Undo.h.


Member Function Documentation

template<typename Type>
virtual void Undo::Stack< Type >::Add Type  typ  )  [inline, virtual]
 

Reimplemented in Undo::DeletingStack< Type >, and Undo::DeletingStack< FileChange * >.

Definition at line 48 of file Undo.h.

template<typename Type>
bool Undo::Stack< Type >::CanRedo  )  [inline]
 

Definition at line 63 of file Undo.h.

Referenced by Undo::Stack< FileChange * >::Redo().

template<typename Type>
bool Undo::Stack< Type >::CanUndo  )  [inline]
 

Definition at line 57 of file Undo.h.

Referenced by Undo::Stack< FileChange * >::Undo().

template<typename Type>
virtual void Undo::Stack< Type >::Clear void   )  [inline, virtual]
 

Reimplemented in Undo::DeletingStack< Type >, and Undo::DeletingStack< FileChange * >.

Definition at line 40 of file Undo.h.

Referenced by Undo::Stack< FileChange * >::Stack(), and Undo::Stack< FileChange * >::~Stack().

template<typename Type>
Type Undo::Stack< Type >::Redo  )  [inline]
 

Definition at line 79 of file Undo.h.

template<typename Type>
Type Undo::Stack< Type >::Undo  )  [inline]
 

Definition at line 69 of file Undo.h.


Member Data Documentation

template<typename Type>
unsigned int Undo::Stack< Type >::m_uiWaterline [protected]
 

Definition at line 91 of file Undo.h.

template<typename Type>
std::vector<Type> Undo::Stack< Type >::m_v [protected]
 

Definition at line 90 of file Undo.h.


The documentation for this class was generated from the following file:
Generated on Wed Jan 25 08:14:56 2006 for Sherpa by doxygen 1.3.6