6#include "Containers/StringFwd.h"
12
13
14
15
16
17
18
#define UE_PTRDIFF_TO_INT32(argument)
#define UE_DISABLE_OPTIMIZATION_SHIP
#define UE_ENABLE_OPTIMIZATION_SHIP
int32 HexToBytes(const FString &HexString, uint8 *OutBytes)
static const uint32 MaxSupportedEscapeChars
static const TCHAR * CharToEscapeSeqMap[][2]
UE_DISABLE_OPTIMIZATION_SHIP void StripNegativeZero(double &InFloat)
#define STARTING_BUFFER_SIZE
FString SlugStringForValidName(const FString &DisplayString, const TCHAR *ReplaceWith)
void AppendCharacters(TArray< TCHAR > &Out, const CharType *Str, int32 Count)
TStringPointer< TCHAR, UTF16CHAR > FTCHARToUTF16
int32 FindMatchingClosingParenthesis(const FString &TargetString, const int32 StartSearch=0)
#define UE_ARRAY_COUNT(array)
#define GET_VARARGS_RESULT(msg, msgsize, len, lastarg, fmt, result)
virtual void Serialize(void *V, int64 Length)
ARK_API void AppendChars(const UCS2CHAR *Str, int32 Count)
ARK_API FString(const UTF8CHAR *Str)
FORCEINLINE const TCHAR & operator[](int32 Index) const UE_LIFETIMEBOUND
FORCEINLINE void MidInline(int32 Start, int32 Count=MAX_int32, bool bAllowShrinking=true)
UE_NODISCARD FString Reverse() const &
UE_NODISCARD FString TrimStart() const &
UE_NODISCARD FORCEINLINE FString Mid(int32 Start) const &
ARK_API void AppendChars(const ANSICHAR *Str, int32 Count)
UE_NODISCARD static ARK_API FString ConcatFF(const FString &Lhs, const FString &Rhs)
static UE_NODISCARD FString FromHexBlob(const uint8 *SrcBuffer, const uint32 SrcSize)
FORCEINLINE TCHAR & operator[](int32 Index) UE_LIFETIMEBOUND
UE_NODISCARD FString TrimEnd() const &
UE_NODISCARD static ARK_API FString ConcatFF(FString &&Lhs, FString &&Rhs)
ARK_API FString(int32 Len, const WIDECHAR *Str)
ARK_API void AppendChars(const UTF8CHAR *Str, int32 Count)
UE_NODISCARD FString TrimStart() &&
UE_NODISCARD static ARK_API FString ConcatFF(FString &&Lhs, const FString &Rhs)
UE_NODISCARD FString TrimStartAndEnd() &&
UE_NODISCARD FString TrimQuotes(bool *bQuotesRemoved=nullptr) const &
static UE_NODISCARD FORCEINLINE FString FromInt(int32 Num)
FString & operator=(FString &&)=default
ARK_API void RemoveAt(int32 Index, int32 Count=1, bool bAllowShrinking=true)
UE_NODISCARD FString Mid(int32 Start, int32 Count) const &
static bool ToHexBlob(const FString &Source, uint8 *DestBuffer, const uint32 DestSize)
void ConvertTabsToSpacesInline(const int32 InSpacesPerTab)
ARK_API int32 ParseIntoArrayLines(TArray< FString > &OutArray, bool InCullEmpty=true) const
UE_NODISCARD FString RightPad(int32 ChCount) const
UE_NODISCARD FORCEINLINE int32 Len() const
void TrimQuotesInline(bool *bQuotesRemoved=nullptr)
UE_NODISCARD FORCEINLINE friend FString operator+(const FString &Lhs, FString &&Rhs)
UE_NODISCARD FString TrimEnd() &&
bool Split(const FString &InS, FString *LeftS, FString *RightS, ESearchCase::Type SearchCase, ESearchDir::Type SearchDir=ESearchDir::FromStart) const
static UE_NODISCARD FString FromBlob(const uint8 *SrcBuffer, const uint32 SrcSize)
ARK_API void AppendChars(const WIDECHAR *Str, int32 Count)
ARK_API FString(const ANSICHAR *Str, int32 ExtraSlack)
UE_NODISCARD bool IsNumeric() const
ARK_API FString(const UCS2CHAR *Str, int32 ExtraSlack)
FString(const FString &)=default
static UE_NODISCARD FString FormatAsNumber(int32 InNumber)
UE_NODISCARD FORCEINLINE const TCHAR * operator*() const UE_LIFETIMEBOUND
UE_NODISCARD FString TrimQuotes(bool *bQuotesRemoved=nullptr) &&
ARK_API FString(const WIDECHAR *Str)
void TrimStartAndEndInline()
ARK_API FString(const UCS2CHAR *Str)
void SerializeAsANSICharArray(FArchive &Ar, int32 MinCharacters=0) const
UE_NODISCARD static ARK_API FString ConcatFF(const FString &Lhs, FString &&Rhs)
UE_NODISCARD int32 Find(const FString &SubStr, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase, ESearchDir::Type SearchDir=ESearchDir::FromStart, int32 StartPosition=INDEX_NONE) const
static bool ToBlob(const FString &Source, uint8 *DestBuffer, const uint32 DestSize)
void RemoveSpacesInline()
void InsertAt(int32 Index, const FString &Characters)
ARK_API FString(const WIDECHAR *Str, int32 ExtraSlack)
UE_NODISCARD FORCEINLINE bool Contains(const FString &SubStr, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase, ESearchDir::Type SearchDir=ESearchDir::FromStart) const
bool Split(const FString &InS, FString *LeftS, FString *RightS) const
ARK_API FString(int32 Len, const UCS2CHAR *Str)
ARK_API FString(const ANSICHAR *Str)
ARK_API FString(const UTF8CHAR *Str, int32 ExtraSlack)
ARK_API FString(int32 Len, const ANSICHAR *Str)
void Reserve(int32 CharacterCount)
static UE_NODISCARD FString SanitizeFloat(double InFloat, const int32 InMinFractionalDigits=1)
UE_NODISCARD FString ReplaceQuotesWithEscapedQuotes() &&
ARK_API void Empty(int32 Slack)
UE_NODISCARD FString LeftPad(int32 ChCount) const
UE_NODISCARD FORCEINLINE friend FString operator+(FString &&Lhs, const FString &Rhs)
UE_NODISCARD FString Reverse() &&
UE_NODISCARD FORCEINLINE DataType & GetCharArray() UE_LIFETIMEBOUND
ARK_API FString(int32 Len, const UTF8CHAR *Str)
void TrimToNullTerminator()
UE_NODISCARD FORCEINLINE FString Left(int32 Count) const &
FORCEINLINE void CheckInvariants() const
FORCEINLINE void LeftInline(int32 Count, bool bAllowShrinking=true)
FString & operator=(const FString &)=default
void ReplaceEscapedCharWithCharInline(const TArray< TCHAR > *Chars=nullptr)
void InlineCombineSurrogates(FString &Str)
bool MatchesWildcardRecursive(const TCHAR *Target, int32 TargetLength, const TCHAR *Wildcard, int32 WildcardLength)
FORCEINLINE void ConstructWithSlack(TArray< TCHAR > &Data, const CharType *Src, int32 ExtraSlack)
UE_NODISCARD FORCEINLINE FString ConcatFStringRange(LhsType &&Lhs, const TCHAR *Rhs, int32 RhsLen)
UE_NODISCARD FORCEINLINE FString ConcatFStrings(LhsType &&Lhs, RhsType &&Rhs)
UE_NODISCARD FORCEINLINE FString ConcatRangeFString(const TCHAR *Lhs, int32 LhsLen, RhsType &&Rhs)
UE_NODISCARD FORCEINLINE FString ConcatCStringFString(const TCHAR *Lhs, RhsType &&Rhs)
UE_NODISCARD FORCEINLINE FString ConcatFStringCString(LhsType &&Lhs, const TCHAR *Rhs)
FORCEINLINE void ConstructFromCString(TArray< TCHAR > &Data, const CharType *Src)
FORCEINLINE void ConstructWithLength(TArray< TCHAR > &Data, int32 InCount, const CharType *InSrc)
int32 HexToBytes(FUtf8StringView Hex, uint8 *OutBytes)
int32 HexToBytes(FAnsiStringView Hex, uint8 *OutBytes)
int32 HexToBytes(FWideStringView Hex, uint8 *OutBytes)
FORCEINLINE bool IsByteSwapping()
FORCEINLINE int64 GetMaxSerializeSize() const
FORCEINLINE bool IsLoading() const
static void Free(void *Original)
static FORCEINLINE void * Memmove(void *Dest, const void *Src, SIZE_T Count)
static void * Realloc(void *Original, SIZE_T Size, uint32 Alignment=DEFAULT_ALIGNMENT)
static FORCEINLINE void * Memcpy(void *Dest, const void *Src, SIZE_T Count)
static FORCEINLINE bool Compare(TCHAR Lhs, TCHAR Rhs)
static FORCEINLINE bool Compare(TCHAR Lhs, TCHAR Rhs)