UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
WarnFilterScope.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
#include "
HAL/Platform.h
"
5
#include "
Templates/Function.h
"
6
7
class
FFeedbackContext
;
8
9
struct
FFilterFeedback
;
10
13
struct
FWarnFilterScope
14
{
16
FWarnFilterScope
(
TFunction
<
bool
(
const
TCHAR
* Message,
ELogVerbosity::Type
Verbosity,
const
FName
& Category)>
LogHandler
);
17
FWarnFilterScope
(
const
FWarnFilterScope
&) =
delete
;
18
FWarnFilterScope
&
operator=
(
const
FWarnFilterScope
&) =
delete
;
19
20
~FWarnFilterScope
();
21
private
:
22
FFeedbackContext
* OldWarn;
23
FFilterFeedback
* Feedback;
24
};
Platform.h
TCHAR
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition
Platform.h:1135
Function.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
FFeedbackContext
Definition
FeedbackContext.h:30
FName
Definition
NameTypes.h:617
TFunction
Definition
AndroidPlatformMisc.h:14
ELogVerbosity::Type
Type
Definition
LogVerbosity.h:17
FFilterFeedback
Definition
WarnFilterScope.cpp:7
FWarnFilterScope
Scope that captures warning log messages necessary to filter out warning message from appearing the l...
Definition
WarnFilterScope.h:14
FWarnFilterScope::operator=
FWarnFilterScope & operator=(const FWarnFilterScope &)=delete
FWarnFilterScope::~FWarnFilterScope
~FWarnFilterScope()
Definition
WarnFilterScope.cpp:42
FWarnFilterScope::FWarnFilterScope
FWarnFilterScope(const FWarnFilterScope &)=delete
Engine
Source
Runtime
Core
Public
Tests
WarnFilterScope.h
Generated by
1.9.8