engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FCompoundChange类 参考

FCompoundChange applies a sequence of FSwapChanges. 更多...

#include <Change.h>

+ 类 FCompoundChange 继承关系图:

Public 成员函数

virtual TUniquePtr< FChange > Execute (UObject *Object) override
 Makes the change to the object, returning a new change that can be used to perfectly roll back this change
 
 FCompoundChange (FCompoundChangeInput &&InitInput)
 Constructor
 
virtual void PrintToLog (class FFeedbackContext &FeedbackContext, const int32 IndentLevel=0) override
 Prints this change to the log, including sub-changes if there are any. 更多...
 
virtual FString ToString () const override
 Describes this change (for debugging)
 
- Public 成员函数 继承自 FSwapChange
virtual void Apply (UObject *Object) override
 Makes the change to the object
 
virtual EChangeStyle GetChangeType () override
 What style of change is this
 
virtual void Revert (UObject *Object) override
 Reverts change to the object
 
- Public 成员函数 继承自 FChange
virtual void Apply (UObject *Object)=0
 Makes the change to the object
 
virtual TUniquePtr< FChange > Execute (UObject *Object)=0
 Makes the change to the object, returning a new change that can be used to perfectly roll back this change
 
virtual EChangeStyle GetChangeType ()=0
 What style of change is this
 
virtual bool HasExpired (UObject *Object) const
 
virtual void PrintToLog (class FFeedbackContext &FeedbackContext, const int32 IndentLevel=0)
 Prints this change to the log, including sub-changes if there are any. 更多...
 
virtual void Revert (UObject *Object)=0
 Reverts change to the object
 
virtual FString ToString () const =0
 Describes this change (for debugging)
 
virtual ~FChange ()
 Virtual destructor
 

额外继承的成员函数

- Protected 成员函数 继承自 FChange
 FChange ()
 Protected default constructor
 

详细描述

FCompoundChange applies a sequence of FSwapChanges.

The changes are executed in reverse order (this is like a mini undo stack)

成员函数说明

◆ PrintToLog()

virtual void FCompoundChange::PrintToLog ( class FFeedbackContext &  FeedbackContext,
const int32  IndentLevel = 0 
)
overridevirtual

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

For compound changes, there might be multiple lines. You should not need to override this function.

重载 FChange .


该类的文档由以下文件生成: