HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_Undo Class Referenceabstract

#include <UT_Undo.h>

+ Inheritance diagram for UT_Undo:

Public Member Functions

 UT_Undo ()
 
virtual ~UT_Undo ()
 
virtual void undo ()=0
 
virtual void redo ()=0
 
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

void generateTmpFilename (const char *prefix, UT_String &filename)
 

Detailed Description

Examples:
SOP/SOP_CustomBrush.C.

Definition at line 23 of file UT_Undo.h.

Constructor & Destructor Documentation

UT_Undo::UT_Undo ( )
virtual UT_Undo::~UT_Undo ( )
virtual

Member Function Documentation

void UT_Undo::addToMemoryUsage ( int64  k)
inline

Definition at line 60 of file UT_Undo.h.

void UT_Undo::generateTmpFilename ( const char *  prefix,
UT_String filename 
)
protected
virtual int64 UT_Undo::getMemoryUsage ( )
inlinevirtual

Reimplemented in UT_UndoBlock.

Definition at line 59 of file UT_Undo.h.

UT_Undo* UT_Undo::getNextUndo ( )
inline

Definition at line 64 of file UT_Undo.h.

virtual int UT_Undo::isUndoBlock ( ) const
inlinevirtual

Reimplemented in UT_UndoBlock.

Definition at line 51 of file UT_Undo.h.

virtual bool UT_Undo::isValid ( )
inlinevirtual

Reimplemented in UT_DelegatedUndoBase.

Definition at line 35 of file UT_Undo.h.

virtual bool UT_Undo::needToRedo ( )
inlinevirtual

Reimplemented in UT_UndoBlock.

Definition at line 47 of file UT_Undo.h.

virtual bool UT_Undo::needToUndo ( )
inlinevirtual

Reimplemented in UT_UndoBlock.

Definition at line 46 of file UT_Undo.h.

void UT_Undo::setMemoryUsage ( int64  k)
inline

Definition at line 61 of file UT_Undo.h.

void UT_Undo::setNextUndo ( UT_Undo nundo)
inline

Definition at line 63 of file UT_Undo.h.


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