class
CArcUndoStack
- Module
- Arc
- Header
#include "Arc/Framework/CArcUndoStack.h"- Namespace
Arcf
Properties
| Type | Name | Description |
|---|---|---|
static constexpr int32_t | MaxUndoDepth | Default 100. |
Constructors
| Signature | Name | Description |
|---|---|---|
CArcUndoStack() = default | CArcUndoStack | |
~CArcUndoStack() = default | ~CArcUndoStack | |
CArcUndoStack(const CArcUndoStack&) = delete | CArcUndoStack |
Public functions
| Returns | Name | Description |
|---|---|---|
CArcUndoStack& | 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
CArcUndoStack
C++
CArcUndoStack() = default~CArcUndoStack
C++
~CArcUndoStack() = defaultCArcUndoStack
C++
CArcUndoStack(const CArcUndoStack&) = deleteoperator=
C++
CArcUndoStack& operator=(const CArcUndoStack&) = deleteExecuteAction
C++
void ExecuteAction(std::unique_ptr<IArcUndoAction> action)PushAction
C++
void PushAction(std::unique_ptr<IArcUndoAction> 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 Arc/Framework/CArcUndoStack.h via arc.json · Nov 5, 2026Version 1.0.0