String used by the text filter. 更多...
#include <TextFilterUtils.h>
Public 成员函数 | |
| FORCEINLINE FName | AsName () const |
| Get the internal uppercase string of this filter string as an FName | |
| FORCEINLINE const FString & | AsString () const |
| Get the internal uppercase string of this filter string | |
| bool | CanCompareNumeric (const FTextFilterString &InOther) const |
| Are the two given strings able to be compared numberically? | |
| bool | CompareFString (const FString &InOther, const ETextFilterTextComparisonMode InTextComparisonMode) const |
| Compare this string against the other FString, using the text comparison mode provided | |
| bool | CompareName (const FName &InOther, const ETextFilterTextComparisonMode InTextComparisonMode) const |
| Compare this string against the other FName, using the text comparison mode provided | |
| bool | 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 | CompareText (const FTextFilterString &InOther, const ETextFilterTextComparisonMode InTextComparisonMode) const |
| Compare this string against the other, using the text comparison mode provided | |
| FTextFilterString () | |
| Default constructor | |
| FTextFilterString (const FName &InName) | |
| Construct from a name | |
| FTextFilterString (const FString &InString) | |
| Construct from a string | |
| FTextFilterString (const FTextFilterString &Other) | |
| Move and copy constructors | |
| FORCEINLINE bool | IsEmpty () const |
| Is the internal string empty? | |
| FTextFilterString & | operator= (const FTextFilterString &Other) |
| Move and copy assignment | |
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.