Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/TextFilterUtils.h |
Include | #include "Misc/TextFilterUtils.h" |
Syntax
class FTextFilterString
Remarks
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.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Default constructor | ||
![]() |
FTextFilterString
(
const FTextFilterString& Other |
Move and copy constructors | |
![]() |
FTextFilterString
(
FTextFilterString&& Other |
||
![]() |
FTextFilterString
(
const FString& InString |
Construct from a string | |
![]() |
FTextFilterString
(
FString&& InString |
||
![]() |
FTextFilterString
(
const TCHAR* InString |
||
![]() |
FTextFilterString
(
const FName& InName |
Construct from a name |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FName | AsName () |
Get the internal uppercase string of this filter string as an FName |
![]() ![]() |
const FString & | AsString () |
Get the internal uppercase string of this filter string |
![]() ![]() |
bool | CanCompareNumeric
(
const FTextFilterString& InOther |
Are the two given strings able to be compared numberically? |
![]() ![]() |
bool | CompareFString
(
const FString& InOther, |
Compare this string against the other FString, using the text comparison mode provided |
![]() ![]() |
bool | CompareName
(
const FName& InOther, |
Compare this string against the other FName, using the text comparison mode provided |
![]() ![]() |
bool | CompareNumeric
(
const FTextFilterString& InOther, |
Compare this string against the other, converting them to numbers and using the comparison operator provided - you should have tested CanCompareNumeric first! |
![]() ![]() |
bool | CompareText
(
const FTextFilterString& InOther, |
Compare this string against the other, using the text comparison mode provided |
![]() ![]() |
bool | IsEmpty () |
Is the internal string empty? |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
FTextFilterString & | operator=
(
const FTextFilterString& Other |
Move and copy assignment |
![]() |
FTextFilterString & | operator=
(
FTextFilterString&& Other |