#include <UT_UndoBlock.h>

Public Member Functions | |
| UT_UndoBlock (const char *name, UT_UndoBlock *next=NULL) | |
| ~UT_UndoBlock () | |
| int | isEmpty () |
| void | addUndo (UT_Undo *) |
| void | setNestedBlockName (int level, const char *name) |
| const char * | getNestedBlockName (int level) const |
| virtual void | undo () |
| virtual void | redo () |
| virtual int | isUndoBlock () const |
| virtual bool | needToUndo () |
| virtual bool | needToRedo () |
| bool | pruneInvalidUndos () |
| Free all invalid undos/redos. Returns true if any pruning was done. | |
| virtual int64 | getMemoryUsage () |
| void | clearContents () |
| UT_UndoBlock * | getNextBlock () |
| const UT_UndoBlock * | getNextBlock () const |
| void | setNextBlock (UT_UndoBlock *b) |
| UT_UndoBlock * | repairErrors () |
| void | debugPrint (int indent=1) const |
Definition at line 31 of file UT_UndoBlock.h.
| UT_UndoBlock::UT_UndoBlock | ( | const char * | name, | |
| UT_UndoBlock * | next = NULL | |||
| ) | [explicit] |
| UT_UndoBlock::~UT_UndoBlock | ( | ) |
| void UT_UndoBlock::addUndo | ( | UT_Undo * | ) |
| void UT_UndoBlock::clearContents | ( | ) |
| void UT_UndoBlock::debugPrint | ( | int | indent = 1 |
) | const |
| const char* UT_UndoBlock::getNestedBlockName | ( | int | level | ) | const [inline] |
Definition at line 40 of file UT_UndoBlock.h.
| const UT_UndoBlock* UT_UndoBlock::getNextBlock | ( | ) | const [inline] |
Definition at line 64 of file UT_UndoBlock.h.
| UT_UndoBlock* UT_UndoBlock::getNextBlock | ( | ) | [inline] |
Definition at line 63 of file UT_UndoBlock.h.
| int UT_UndoBlock::isEmpty | ( | void | ) | [inline] |
Definition at line 37 of file UT_UndoBlock.h.
| virtual int UT_UndoBlock::isUndoBlock | ( | ) | const [inline, virtual] |
| virtual bool UT_UndoBlock::needToRedo | ( | ) | [virtual] |
Reimplemented from UT_Undo.
| virtual bool UT_UndoBlock::needToUndo | ( | ) | [virtual] |
Reimplemented from UT_Undo.
| bool UT_UndoBlock::pruneInvalidUndos | ( | ) |
Free all invalid undos/redos. Returns true if any pruning was done.
| virtual void UT_UndoBlock::redo | ( | ) | [virtual] |
Implements UT_Undo.
| UT_UndoBlock* UT_UndoBlock::repairErrors | ( | ) |
| void UT_UndoBlock::setNestedBlockName | ( | int | level, | |
| const char * | name | |||
| ) |
| void UT_UndoBlock::setNextBlock | ( | UT_UndoBlock * | b | ) | [inline] |
Definition at line 65 of file UT_UndoBlock.h.
| virtual void UT_UndoBlock::undo | ( | ) | [virtual] |
Implements UT_Undo.
1.5.9