UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ScopedDebugInfo.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3/*=============================================================================
4 ScopedDebugInfo.h: Scoped debug info definitions.
5=============================================================================*/
6
7#pragma once
8
9#include "CoreTypes.h"
11
14{
15public:
16
17 enum { MaxDescriptionLength = 128 };
18
21
24
27
30
32 virtual FString GetFunctionName() const = 0;
33
35 virtual FString GetFilename() const = 0;
36
38 virtual int32 GetLineNumber() const = 0;
39
42};
43
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition ScopedDebugInfo.h:14
virtual int32 GetLineNumber() const =0
virtual FString GetFunctionName() const =0
static CORE_API FScopedDebugInfo * GetDebugInfoStack()
Definition ScopedDebugInfo.cpp:32
virtual CORE_API ~FScopedDebugInfo()
Definition ScopedDebugInfo.cpp:23
@ MaxDescriptionLength
Definition ScopedDebugInfo.h:17
FScopedDebugInfo *const NextOuterInfo
Definition ScopedDebugInfo.h:23
virtual FString GetFilename() const =0
const int32 NumReplacedOuterCalls
Definition ScopedDebugInfo.h:20