Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TextFilterUtils Namespace Reference

Classes

struct  FNameBufferWithNumber
 

Functions

template<typename CharType >
void IntToStringBuffer (CharType *Dest, int32 Source, int32 MaxLen)
 
bool TryConvertWideToAnsi (const FString &SourceWideString, TArray< ANSICHAR > &DestAnsiString)
 
int32 NameStrincmp (const FName &Name, const FString &WideOther, const TArray< ANSICHAR > &AnsiOther, int32 Length)
 
bool TestBasicStringExpression (const FTextFilterString &InValue1, const FTextFilterString &InValue2, const ETextFilterTextComparisonMode InTextComparisonMode)
 
bool TestComplexExpression (const FTextFilterString &InValue1, const FTextFilterString &InValue2, const ETextFilterComparisonOperation InComparisonOperation, const ETextFilterTextComparisonMode InTextComparisonMode)
 

Function Documentation

◆ IntToStringBuffer()

template<typename CharType >
void TextFilterUtils::IntToStringBuffer ( CharType * Dest,
int32 Source,
int32 MaxLen )

Definition at line 106 of file TextFilterUtils.h.

◆ NameStrincmp()

int32 TextFilterUtils::NameStrincmp ( const FName & Name,
const FString & WideOther,
const TArray< ANSICHAR > & AnsiOther,
int32 Length )

Compare FNameEntry vs Wide or Ansi string

◆ TestBasicStringExpression()

bool TextFilterUtils::TestBasicStringExpression ( const FTextFilterString & InValue1,
const FTextFilterString & InValue2,
const ETextFilterTextComparisonMode InTextComparisonMode )

Utility function to perform a basic string test for the given values

◆ TestComplexExpression()

bool TextFilterUtils::TestComplexExpression ( const FTextFilterString & InValue1,
const FTextFilterString & InValue2,
const ETextFilterComparisonOperation InComparisonOperation,
const ETextFilterTextComparisonMode InTextComparisonMode )

Utility function to perform a complex expression test for the given values

◆ TryConvertWideToAnsi()

bool TextFilterUtils::TryConvertWideToAnsi ( const FString & SourceWideString,
TArray< ANSICHAR > & DestAnsiString )

Convert a wide string to ansi if all characters are ansi