Navigation
API > API/Editor > API/Editor/UnrealEd
Delineates a transactable block; Begin()s a transaction when entering scope, and End()s a transaction when leaving scope.
| Name | FScopedTransaction |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/ScopedTransaction.h |
| Include Path | #include "ScopedTransaction.h" |
Syntax
class FScopedTransaction
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScopedTransaction
(
const FText& SessionName, |
Construct an FScopedTransaction with minimal context | ScopedTransaction.h | |
FScopedTransaction
(
const TCHAR* TransactionContext, |
Construct an FScopedTransaction with full context | ScopedTransaction.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FScopedTransaction() |
ScopedTransaction.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Index | int32 | Stores the transaction index, which is used to cancel the transaction. | ScopedTransaction.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Cancel() |
Cancels the transaction. Reentrant. | ScopedTransaction.h | |
bool IsOutstanding() |
ScopedTransaction.h |