UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Escape.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
Containers/StringFwd.h
"
6
#include "
Containers/StringView.h
"
7
#include "
CoreTypes.h
"
8
9
namespace
UE::String::Private
10
{
11
12
struct
FEscape
{
FStringView
Input
; };
13
struct
FQuoteEscape
{
FStringView
Input
; };
14
15
}
// UE::String::Private
16
17
namespace
UE::String
18
{
19
25
CORE_API
void
EscapeTo
(
FStringView
Input,
FStringBuilderBase
&
Output
);
26
32
inline
Private::FEscape
Escape
(
FStringView
Input) {
return
{
Input
}; }
33
39
CORE_API
void
QuoteEscapeTo
(
FStringView
Input,
FStringBuilderBase
&
Output
);
40
46
inline
Private::FQuoteEscape
QuoteEscape
(
FStringView
Input) {
return
{
Input
}; }
47
48
}
// UE::String
49
50
namespace
UE::String::Private
51
{
52
53
inline
FStringBuilderBase
&
operator<<
(
FStringBuilderBase
& Builder,
const
FEscape
& Adapter)
54
{
55
EscapeTo
(Adapter.
Input
, Builder);
56
return
Builder;
57
}
58
59
inline
FStringBuilderBase
&
operator<<
(
FStringBuilderBase
& Builder,
const
FQuoteEscape
& Adapter)
60
{
61
QuoteEscapeTo
(Adapter.
Input
, Builder);
62
return
Builder;
63
}
64
65
}
// UE::String::Private
CoreTypes.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
EUINavigationRule::Escape
@ Escape
EUserSceneTextureEvent::Output
@ Output
StringFwd.h
StringView.h
EStyleColor::Input
@ Input
TStringBuilderBase< TCHAR >
TStringView< TCHAR >
UE::String::Private
Definition
String.cpp.inl:714
UE::String::Private::operator<<
TStringBuilderBase< CharType > & operator<<(TStringBuilderBase< CharType > &Builder, const TUpperCase< CharType > &Adapter)
Definition
CaseConversion.h:140
UE::String
Definition
String.cpp.inl:714
UE::String::QuoteEscape
Private::FQuoteEscape QuoteEscape(FStringView Input)
Definition
Escape.h:46
UE::String::EscapeTo
void EscapeTo(FStringView Input, FStringBuilderBase &Output)
Definition
Escape.cpp:12
UE::String::QuoteEscapeTo
void QuoteEscapeTo(FStringView Input, FStringBuilderBase &Output)
Definition
Escape.cpp:58
UE::String::Private::FEscape
Definition
Escape.h:12
UE::String::Private::FEscape::Input
FStringView Input
Definition
Escape.h:12
UE::String::Private::FQuoteEscape
Definition
Escape.h:13
UE::String::Private::FQuoteEscape::Input
FStringView Input
Definition
Escape.h:13
Engine
Source
Runtime
Core
Public
String
Escape.h
Generated by
1.9.8