Ark Server API (ASA) - Wiki
|
#include <TextFilterUtils.h>
Private Member Functions | |
void | UppercaseInternalString () |
Private Attributes | |
FString | InternalString |
TArray< ANSICHAR > | InternalStringAnsi |
String used by the text filter. The given string will be stored as uppercase since filter text always performs case-insensitive string comparisons, so this will minimize ToUpper calls.
Definition at line 37 of file TextFilterUtils.h.
FTextFilterString::FTextFilterString | ( | ) |
Default constructor
FTextFilterString::FTextFilterString | ( | const FTextFilterString & | Other | ) |
Move and copy constructors
FTextFilterString::FTextFilterString | ( | FTextFilterString && | Other | ) |
FTextFilterString::FTextFilterString | ( | FString && | InString | ) |
FTextFilterString::FTextFilterString | ( | const TCHAR * | InString | ) |
|
inline |
Get the internal uppercase string of this filter string as an FName
Definition at line 81 of file TextFilterUtils.h.
|
inline |
Get the internal uppercase string of this filter string
Definition at line 75 of file TextFilterUtils.h.
bool FTextFilterString::CanCompareNumeric | ( | const FTextFilterString & | InOther | ) | const |
Are the two given strings able to be compared numberically?
bool FTextFilterString::CompareFString | ( | const FString & | InOther, |
const ETextFilterTextComparisonMode | InTextComparisonMode ) const |
Compare this string against the other FString, using the text comparison mode provided
bool FTextFilterString::CompareName | ( | const FName & | InOther, |
const ETextFilterTextComparisonMode | InTextComparisonMode ) const |
Compare this string against the other FName, using the text comparison mode provided
bool FTextFilterString::CompareNumeric | ( | const FTextFilterString & | InOther, |
const ETextFilterComparisonOperation | InComparisonOperation ) const |
Compare this string against the other, converting them to numbers and using the comparison operator provided - you should have tested CanCompareNumeric first!
bool FTextFilterString::CompareText | ( | const FTextFilterString & | InOther, |
const ETextFilterTextComparisonMode | InTextComparisonMode ) const |
Compare this string against the other, using the text comparison mode provided
|
inline |
Is the internal string empty?
Definition at line 87 of file TextFilterUtils.h.
FTextFilterString & FTextFilterString::operator= | ( | const FTextFilterString & | Other | ) |
Move and copy assignment
FTextFilterString & FTextFilterString::operator= | ( | FTextFilterString && | Other | ) |
|
private |
Inline convert our internal string to uppercase
|
private |
The uppercase string to use for comparisons
Definition at line 97 of file TextFilterUtils.h.
|
private |
The uppercase ANSI version of string to use for comparisons
Definition at line 100 of file TextFilterUtils.h.