11#define UE_STRING_CLASS FString
12#define UE_STRING_CHARTYPE TCHAR
13#define UE_STRING_CHARTYPE_IS_TCHAR 1
14#define UE_STRING_PRINTF_FMT_CHARTYPE TCHAR
15#define UE_STRING_DEPRECATED(Version, Message)
17#undef UE_STRING_DEPRECATED
18#undef UE_STRING_PRINTF_FMT_CHARTYPE
19#undef UE_STRING_CHARTYPE_IS_TCHAR
20#undef UE_STRING_CHARTYPE
40 Result += FString::ElementType(
Value);
60 while( *
CharPos && NumBytes < MaxBufferSize)
133 if (
Hex >=
'0' &&
Hex <=
'9')
137 if (
Hex >=
'A' &&
Hex <=
'F')
141 if (
Hex >=
'a' &&
Hex <=
'f')
145 checkf(
false,
TEXT(
"'%c' (0x%02X) is not a valid hexadecimal digit"),
Hex,
Hex);
151 typename StringType = FString,
162 typename StringType = FString,
168 return StringType(Ptr);
171template <
typename StringType = FString>
174 using ElementType =
typename StringType::ElementType;
179template <
typename StringType = FString,
typename T>
186template <
typename StringType = FString>
189 return StringType::SanitizeFloat(
Value);
193template <
typename StringType = FString>
196 return StringType::SanitizeFloat(
Value);
203 template <
typename StringType = FString>
209 template <
typename StringType = FString>
220 template <
typename CharType>
296#if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_7
#define checkf(expr, format,...)
Definition AssertionMacros.h:315
@ INDEX_NONE
Definition CoreMiscDefines.h:150
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
void LexFromString(EAudioFeature &OutFeature, const TCHAR *String)
Definition IOSAppDelegate.cpp:163
#define UE_REQUIRES(...)
Definition Requires.h:86
constexpr uint32 HashCombine(uint32 A, uint32 C)
Definition TypeHash.h:36
StringType LexToString(const T &Value)
Definition UnrealString.h:155
const bool CheckTCharIsHex(const TCHAR Char)
Definition UnrealString.h:121
FString BytesToHex(const uint8 *Bytes, int32 NumBytes)
Definition UnrealString.h:101
const uint8 TCharToNibble(const TCHAR Hex)
Definition UnrealString.h:131
void ByteToHex(uint8 In, FString &Result)
Definition UnrealString.h:94
FString BytesToHexLower(const uint8 *Bytes, int32 NumBytes)
Definition UnrealString.h:109
int32 StringToBytes(const FString &String, uint8 *OutBytes, int32 MaxBufferSize)
Definition UnrealString.h:55
TCHAR NibbleToTCharLower(uint8 Num)
Definition UnrealString.h:80
TCHAR NibbleToTChar(uint8 Num)
Definition UnrealString.h:70
StringType LexToSanitizedString(const T &Value)
Definition UnrealString.h:180
FString BytesToString(const uint8 *In, int32 Count)
Definition UnrealString.h:29
CORE_API void Empty()
Definition String.cpp.inl:321
Definition StringConv.h:51
CORE_API void InlineCombineSurrogates(FString &Str)
Definition String.cpp:49
implementation
Definition PlayInEditorLoadingScope.h:8
UE_DISABLE_OPTIMIZATION_SHIP void StripNegativeZero(double &InFloat)
Definition String.cpp:57
U16 Index
Definition radfft.cpp:71
Definition UnrealString.h:219
static void FromString(T &Value, const CharType *Buffer)
Definition UnrealString.h:221
Definition UnrealString.h:202
static StringType ToString(const T &Value)
Definition UnrealString.h:204
static StringType ToSanitizedString(const T &Value)
Definition UnrealString.h:210