4#include "Containers/Array.h"
5#include "Containers/UnrealString.h"
7#include "Misc/AssertionMacros.h"
8#include "Misc/CString.h"
9#include "UObject/NameTypes.h"
34
35
36
77 return InternalString;
83 return FName(*InternalString);
89 return InternalString.IsEmpty();
105 template <
typename CharType>
149
150
166 Init(NameEntry
, NumberInternal
);
176 if (NameEntry ==
nullptr)
179 FCString::Strncpy(WideName,
TEXT(
"*INVALID*"), NAME_SIZE);
189 int32 Len = FCStringWide::Strlen(WideName);
190 WideName[Len++] =
TEXT(
'_');
200 int32 Len = FCStringAnsi::Strlen(AnsiName);
201 AnsiName[Len++] =
'_';
#define NAME_NO_NUMBER_INTERNAL
#define NAME_INTERNAL_TO_EXTERNAL(x)
ETextFilterTextComparisonMode
ETextFilterComparisonOperation
FORCEINLINE int32 GetNumber() const
const FNameEntry * GetDisplayNameEntry() const
FTextFilterString(FTextFilterString &&Other)
bool CompareFString(const FString &InOther, const ETextFilterTextComparisonMode InTextComparisonMode) const
FTextFilterString & operator=(const FTextFilterString &Other)
FTextFilterString & operator=(FTextFilterString &&Other)
FORCEINLINE const FString & AsString() const
FORCEINLINE FName AsName() const
FTextFilterString(const FName &InName)
FTextFilterString(const FTextFilterString &Other)
bool CanCompareNumeric(const FTextFilterString &InOther) const
void UppercaseInternalString()
bool CompareName(const FName &InOther, const ETextFilterTextComparisonMode InTextComparisonMode) const
FTextFilterString(FString &&InString)
FTextFilterString(const TCHAR *InString)
bool CompareNumeric(const FTextFilterString &InOther, const ETextFilterComparisonOperation InComparisonOperation) const
bool CompareText(const FTextFilterString &InOther, const ETextFilterTextComparisonMode InTextComparisonMode) const
FORCEINLINE bool IsEmpty() const
TArray< ANSICHAR > InternalStringAnsi
FTextFilterString(const FString &InString)
void IntToStringBuffer(CharType *Dest, int32 Source, int32 MaxLen)
bool TestComplexExpression(const FTextFilterString &InValue1, const FTextFilterString &InValue2, const ETextFilterComparisonOperation InComparisonOperation, const ETextFilterTextComparisonMode InTextComparisonMode)
int32 NameStrincmp(const FName &Name, const FString &WideOther, const TArray< ANSICHAR > &AnsiOther, int32 Length)
bool TryConvertWideToAnsi(const FString &SourceWideString, TArray< ANSICHAR > &DestAnsiString)
bool TestBasicStringExpression(const FTextFilterString &InValue1, const FTextFilterString &InValue2, const ETextFilterTextComparisonMode InTextComparisonMode)
void GetAnsiName(ANSICHAR(&OutName)[NAME_SIZE]) const
void GetWideName(WIDECHAR(&OutName)[NAME_SIZE]) const
FORCEINLINE bool IsWide() const
FORCEINLINE WIDECHAR * GetWideNamePtr()
FORCEINLINE ANSICHAR * GetAnsiNamePtr()
FORCEINLINE void Init(const FName &Name)
WIDECHAR WideName[NAME_WITH_NUMBER_SIZE]
WIDECHAR _WideName[NAME_SIZE]
FORCEINLINE void Init(const FNameEntry *const NameEntry, int32 NumberInternal)
FORCEINLINE bool IsWide() const
FORCEINLINE int32 GetMaxBufferLength()
FNameBufferWithNumber(const FName &Name)
ANSICHAR AnsiName[NAME_WITH_NUMBER_SIZE]
ANSICHAR _AnsiName[NAME_SIZE]
FNameBufferWithNumber(const FNameEntry *const NameEntry, int32 NumberInternal)