HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CH_UndoGroup Class Reference

#include <CH_UndoGroup.h>

+ Inheritance diagram for CH_UndoGroup:

Public Member Functions

 CH_UndoGroup (const CH_Group *chg, bool reverse)
 
 ~CH_UndoGroup () override
 
void undo () override
 
void redo () override
 
- Public Member Functions inherited from UT_Undo
 UT_Undo ()
 
virtual ~UT_Undo ()
 
virtual bool isValid ()
 
virtual bool needToUndo ()
 
virtual bool needToRedo ()
 
virtual int isUndoBlock () const
 
virtual int64 getMemoryUsage ()
 
void addToMemoryUsage (int64 k)
 
void setMemoryUsage (int64 k)
 
void setNextUndo (UT_Undo *nundo)
 
UT_UndogetNextUndo ()
 

Protected Member Functions

virtual void swap ()
 
CH_GroupgetGroup () const
 
- Protected Member Functions inherited from UT_Undo
void generateTmpFilename (const char *prefix, UT_String &filename)
 

Protected Attributes

UT_String myPath
 
bool myReverse
 

Detailed Description

Definition at line 25 of file CH_UndoGroup.h.

Constructor & Destructor Documentation

CH_UndoGroup::CH_UndoGroup ( const CH_Group chg,
bool  reverse 
)
CH_UndoGroup::~CH_UndoGroup ( )
override

Member Function Documentation

CH_Group* CH_UndoGroup::getGroup ( ) const
protected
void CH_UndoGroup::redo ( )
overridevirtual

Implements UT_Undo.

virtual void CH_UndoGroup::swap ( )
protectedvirtual
void CH_UndoGroup::undo ( )
overridevirtual

Implements UT_Undo.

Member Data Documentation

UT_String CH_UndoGroup::myPath
protected

Definition at line 38 of file CH_UndoGroup.h.

bool CH_UndoGroup::myReverse
protected

Definition at line 39 of file CH_UndoGroup.h.


The documentation for this class was generated from the following file: