UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ChaosDebugName.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
7
8#define UE_API CHAOS_API
9
10namespace Chaos
11{
17 {
18 public:
19 FSharedDebugName() = default;
24
25 FSharedDebugName(const FString& S);
26 FSharedDebugName(FString&& S);
27
28 bool IsValid() const;
29 const FString& Value() const;
30
31 private:
32#if CHAOS_DEBUG_NAME
34#endif
35 static UE_API FString DefaultName;
36 };
37
38#if !CHAOS_DEBUG_NAME
39 inline FSharedDebugName::FSharedDebugName(const FString& S) {}
41 inline bool FSharedDebugName::IsValid() const { return false; }
42 inline const FString& FSharedDebugName::Value() const { return DefaultName; }
43#endif
44}
45
46#undef UE_API
#define UE_API
Definition SColorGradingComponentViewer.h:12
Definition ChaosDebugName.h:17
FSharedDebugName(FSharedDebugName &&Other)=default
FSharedDebugName(const FSharedDebugName &Other)=default
const FString & Value() const
Definition ChaosDebugName.h:42
FSharedDebugName & operator=(const FSharedDebugName &Other)=default
FSharedDebugName & operator=(FSharedDebugName &&Other)=default
bool IsValid() const
Definition ChaosDebugName.h:41
Definition SharedPointer.h:692
Definition SkeletalMeshComponent.h:307