Navigation
API > API/Runtime > API/Runtime/Core
Scope that captures failed `ensure_ calls.
| Name | FEnsureScope |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Tests/EnsureScope.h |
| Include Path | #include "Tests/EnsureScope.h" |
Syntax
struct FEnsureScope
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FEnsureScope () |
Tests/EnsureScope.h | ||
FEnsureScope
(
const ANSICHAR* Msg |
Only captures failed `ensure_ calls with the exact message | Tests/EnsureScope.h | |
FEnsureScope
(
TFunction< bool(const FEnsureHandlerArgs&)> EnsureFunc |
Captures failed `ensure_ calls that return true from callback. | Tests/EnsureScope.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FEnsureScope() |
Tests/EnsureScope.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Count | int | Tests/EnsureScope.h | ||
| OldHandler | TFunction< bool(const FEnsureHandlerArgs &)> | Tests/EnsureScope.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int GetCount() |
Tests/EnsureScope.h |