class
CMiriUndoStack
- Module
- Miri
- Header
#include "Miri/Framework/CMiriUndoStack.h"- Namespace
Miri
Properties
| Type | Name | Description |
|---|---|---|
static constexpr int32_t | MaxUndoDepth | Default 100. |
Constructors
| Signature | Name | Description |
|---|---|---|
CMiriUndoStack() = default | CMiriUndoStack | |
~CMiriUndoStack() = default | ~CMiriUndoStack | |
CMiriUndoStack(const CMiriUndoStack&) = delete | CMiriUndoStack |
Public functions
| Returns | Name | Description |
|---|---|---|
CMiriUndoStack& | operator= | |
void | ExecuteAction | |
void | PushAction | |
bool | Undo | |
bool | Redo | |
bool | CanUndo | |
bool | CanRedo | |
std::string | GetUndoDescription | |
std::string | GetRedoDescription | |
int32_t | GetUndoCount | |
int32_t | GetRedoCount | |
void | Clear |
Function details
CMiriUndoStack
C++
CMiriUndoStack() = default~CMiriUndoStack
C++
~CMiriUndoStack() = defaultCMiriUndoStack
C++
CMiriUndoStack(const CMiriUndoStack&) = deleteoperator=
C++
CMiriUndoStack& operator=(const CMiriUndoStack&) = deleteExecuteAction
C++
void ExecuteAction(std::unique_ptr<IMiriUndoAction> action)PushAction
C++
void PushAction(std::unique_ptr<IMiriUndoAction> action)Undo
C++
bool Undo()Redo
C++
bool Redo()CanUndo
C++
bool CanUndo() constCanRedo
C++
bool CanRedo() constGetUndoDescription
C++
std::string GetUndoDescription() constGetRedoDescription
C++
std::string GetRedoDescription() constGetUndoCount
C++
int32_t GetUndoCount() constGetRedoCount
C++
int32_t GetRedoCount() constClear
C++
void Clear()Generated from Miri/Framework/CMiriUndoStack.h via miri.json · Dec 5, 2026Version 1.1.0