FCompoundChange

[FCompoundChange](API\Runtime\Core\Misc\FCompoundChange) applies a sequence of FSwapChanges.

Windows
MacOS
Linux

Inheritance Hierarchy

FChange

FSwapChange

FCompoundChange

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/Change.h

Include

#include "Misc/Change.h"

Syntax

class FCompoundChange : public FSwapChange

Remarks

FCompoundChange applies a sequence of FSwapChanges. The changes are executed in reverse order (this is like a mini undo stack)

Constructors

Name Description

Public function

FCompoundChange

(
    FCompoundChangeInput&& InitInput
)

Constructor

Overridden from FChange

Name Description

Public function Virtual

TUniquePtr< ...

 

Execute

(
    UObject* Object
)

Makes the change to the object, returning a new change that can be used to perfectly roll back this change

Public function Virtual

void

 

PrintToLog

(
    FFeedbackContext& FeedbackContext,
    const int32 IndentLevel
)

Prints this change to the log, including sub-changes if there are any.

Public function Virtual Const

FString

 

ToString()

Describes this change (for debugging)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss