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