Navigation
API > API/Runtime > API/Runtime/Core
FCompoundChange applies a sequence of FSwapChanges. The changes are executed in reverse order (this is like a mini undo stack)
| Name | FCompoundChange |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Change.h |
| Include Path | #include "Misc/Change.h" |
Syntax
class FCompoundChange : public FSwapChange
Inheritance Hierarchy
- FChange → FSwapChange → FCompoundChange
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCompoundChange
(
FCompoundChangeInput&& InitInput |
Constructor | Misc/Change.h | |
FCompoundChange
(
const FCompoundChange& |
Non-copyable. | Misc/Change.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Input | FCompoundChangeInput | The data we need to make this change | Misc/Change.h |
Functions
Public
Overridden from FChange
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TUniquePtr< FChange > Execute
(
UObject* Object |
Makes the change to the object, returning a new change that can be used to perfectly roll back this change | Misc/Change.h | |
virtual void PrintToLog
(
FFeedbackContext& FeedbackContext, |
Prints this change to the log, including sub-changes if there are any. | Misc/Change.h | |
virtual FString ToString() |
Describes this change (for debugging) | Misc/Change.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCompoundChange & operator=
(
const FCompoundChange& |
Misc/Change.h |