UT_UndoManager Class Reference

#include <UT_UndoManager.h>

List of all members.

Public Member Functions

 UT_UndoManager ()
 ~UT_UndoManager ()
int beginUndoBlock (const char *name, UT_UndoBlockType blocktype)
int beginLastUndoBlock (const char *name, UT_UndoBlockType blocktype)
void endUndoBlock (int level)
int willAcceptUndoAddition ()
int performingUndoRedo ()
int isUndoEnabled ()
void addToUndoBlock (UT_Undo *undo)
void addToLastUndoBlock (UT_Undo *undo)
void suspendTopLevelUndoBlock ()
void resumeTopLevelUndoBlock ()
void disallowUndos ()
void allowUndos ()
void undo (bool strict=false, bool redoable=true)
void redo (bool strict=false)
const char * getUndoOperationName ()
const char * getRedoOperationName ()
void pruneInvalidUndos ()
 Free all invalid undos/redos.
int64 getMemoryUsage ()
int64 getMemoryUsageLimit ()
void setMemoryUsageLimit (int64 bytes)
void clearUndos ()
void clearUndoFlags ()
void installUndoFlagClearer (void(*function)(void *data), void *data)
void removeUndoFlagClearer (void(*function)(void *data), void *data)
void setUndoInterest (void(*function)(void *data), void *data)
const UT_UndoBlockgetUndoStack () const
const UT_UndoBlockgetRedoStack () const

Static Public Member Functions

static void disableUndoCreation ()
static void enableUndoCreation ()


Detailed Description

Examples:

SOP/SOP_CustomBrush.C.

Definition at line 75 of file UT_UndoManager.h.


Constructor & Destructor Documentation

UT_UndoManager::UT_UndoManager (  ) 

UT_UndoManager::~UT_UndoManager (  ) 


Member Function Documentation

void UT_UndoManager::addToLastUndoBlock ( UT_Undo undo  ) 

void UT_UndoManager::addToUndoBlock ( UT_Undo undo  ) 

void UT_UndoManager::allowUndos (  )  [inline]

Definition at line 134 of file UT_UndoManager.h.

int UT_UndoManager::beginLastUndoBlock ( const char *  name,
UT_UndoBlockType  blocktype 
)

int UT_UndoManager::beginUndoBlock ( const char *  name,
UT_UndoBlockType  blocktype 
)

void UT_UndoManager::clearUndoFlags (  ) 

void UT_UndoManager::clearUndos (  ) 

static void UT_UndoManager::disableUndoCreation (  )  [static]

void UT_UndoManager::disallowUndos (  )  [inline]

Definition at line 133 of file UT_UndoManager.h.

static void UT_UndoManager::enableUndoCreation (  )  [static]

void UT_UndoManager::endUndoBlock ( int  level  ) 

int64 UT_UndoManager::getMemoryUsage (  ) 

int64 UT_UndoManager::getMemoryUsageLimit (  )  [inline]

Definition at line 151 of file UT_UndoManager.h.

const char* UT_UndoManager::getRedoOperationName (  ) 

const UT_UndoBlock* UT_UndoManager::getRedoStack (  )  const [inline]

Definition at line 172 of file UT_UndoManager.h.

const char* UT_UndoManager::getUndoOperationName (  ) 

const UT_UndoBlock* UT_UndoManager::getUndoStack (  )  const [inline]

Definition at line 171 of file UT_UndoManager.h.

void UT_UndoManager::installUndoFlagClearer ( void(*)(void *data function,
void *  data 
)

int UT_UndoManager::isUndoEnabled (  ) 

int UT_UndoManager::performingUndoRedo (  ) 

void UT_UndoManager::pruneInvalidUndos (  ) 

Free all invalid undos/redos.

void UT_UndoManager::redo ( bool  strict = false  ) 

void UT_UndoManager::removeUndoFlagClearer ( void(*)(void *data function,
void *  data 
)

void UT_UndoManager::resumeTopLevelUndoBlock (  ) 

void UT_UndoManager::setMemoryUsageLimit ( int64  bytes  ) 

void UT_UndoManager::setUndoInterest ( void(*)(void *data function,
void *  data 
)

void UT_UndoManager::suspendTopLevelUndoBlock (  ) 

void UT_UndoManager::undo ( bool  strict = false,
bool  redoable = true 
)

int UT_UndoManager::willAcceptUndoAddition (  ) 


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

Generated on Fri May 25 00:10:55 2012 for HDK by  doxygen 1.5.9