Navigation
API > API/Editor > API/Editor/UnrealEd
| Name | UTransactor |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/Editor/Transactor.h |
| Include Path | #include "Editor/Transactor.h" |
Syntax
UCLASS (Abstract, Transient, MinimalAPI)
class UTransactor : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UTransactor
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UTransactor
(
const FObjectInitializer& ObjectInitializer |
Editor/Transactor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Begins a new undo transaction. | Editor/Transactor.h | ||
virtual void Cancel
(
int32 StartIndex |
Cancels the current transaction, no longer capture actions to be placed in the undo buffer. | Editor/Transactor.h | |
virtual bool CanRedo
(
FText* Text |
Determines whether the redo option should be selectable. | Editor/Transactor.h | |
virtual bool CanUndo
(
FText* Text |
Determines whether the undo option should be selectable. | Editor/Transactor.h | |
virtual void ClearUndoBarriers() |
Clears all undo barriers. | Editor/Transactor.h | |
virtual bool ContainsPieObjects() |
Editor/Transactor.h | ||
virtual bool DisableObjectSerialization() |
Disables the transaction buffer from serializing the set of objects it references. | Editor/Transactor.h | |
virtual bool EnableObjectSerialization() |
Enables the transaction buffer to serialize the set of objects it references. | Editor/Transactor.h | |
virtual int32 End() |
Attempts to close an undo transaction. Only successful if the transaction's action counter is 1. | Editor/Transactor.h | |
virtual int32 FindTransactionIndex
(
const FGuid& TransactionId |
Gets the transaction queue index from its TransactionId. | Editor/Transactor.h | |
virtual int32 GetCurrentUndoBarrier() |
Gets the current undo barrier's position in transaction queue | Editor/Transactor.h | |
virtual int32 GetQueueLength() |
Gets the current length of the transaction queue. | Editor/Transactor.h | |
virtual FTransactionContext GetRedoContext () |
Returns the description of the redo action that will be performed next. | Editor/Transactor.h | |
virtual const FTransaction * GetTransaction
(
int32 QueueIndex |
Gets the transaction at the specified queue index. | Editor/Transactor.h | |
virtual FTransactionContext GetUndoContext
(
bool bCheckWhetherUndoPossible |
Returns the description of the undo action that will be performed next. | Editor/Transactor.h | |
virtual int32 GetUndoCount() |
Gets the number of transactions that were undone and can be redone. | Editor/Transactor.h | |
virtual SIZE_T GetUndoSize() |
Determines the amount of data currently stored by the transaction buffer. | Editor/Transactor.h | |
virtual bool IsActive() |
Returns whether there are any active actions; i.e. whether actions are currently being captured into the undo buffer. | Editor/Transactor.h | |
virtual bool IsObjectInTransactionBuffer
(
const UObject* Object |
Checks if a specific object is referenced by the transaction buffer | Editor/Transactor.h | |
virtual bool IsObjectSerializationEnabled() |
Wrapper for checking if the transaction buffer is allowed to serialize object references. | Editor/Transactor.h | |
virtual bool IsObjectTransacting
(
const UObject* Object |
Checks if a specific object is in the transaction currently underway | Editor/Transactor.h | |
virtual bool Redo() |
Executes an redo transaction, redoing all actions contained by that transaction. | Editor/Transactor.h | |
virtual void RemoveUndoBarrier() |
Removes the last set undo barrier from the transaction buffer. | Editor/Transactor.h | |
virtual void Reset
(
const FText& Reason |
Resets the entire undo buffer; deletes all undo transactions. | Editor/Transactor.h | |
virtual void SetPrimaryUndoObject
(
UObject* Object |
Set passed object as the primary context object for transactions | Editor/Transactor.h | |
virtual void SetUndoBarrier () |
Sets an undo barrier at the current point in the transaction buffer. | Editor/Transactor.h | |
virtual bool Undo
(
bool bCanRedo |
Executes an undo transaction, undoing all actions contained by that transaction. | Editor/Transactor.h |