Navigation
Unreal Engine C++ API Reference > Runtime > Core > Misc
Inheritance Hierarchy
- IFilter
- TSharedFromThis
- TTextFilter
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/TextFilter.h |
Include | #include "Misc/TextFilter.h" |
Syntax
template<typename ItemType>
class TTextFilter :
public IFilter< ItemType >,
public TSharedFromThis< TTextFilter< ItemType > >
Remarks
A generic filter specialized for text restrictions
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
TTextFilter
(
FItemToStringArray InTransformDelegate |
TTextFilter Constructor | |
![]() |
TTextFilter
(
FItemToStringArray InTransformDelegate, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FText | Get the last error returned from lexing or compiling the current filter text | |
![]() ![]() |
FText | Returns the unsanitized and unsplit filter terms | |
![]() |
void | SetRawFilterText
(
const FText& InFilterText |
Set the Text to be used as the Filter's restrictions |
Overridden from IFilter
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FChangedEvent & | OnChanged () |
|
![]() ![]() ![]() |
bool | PassesFilter
(
ItemType InItem |
Returns whether the specified Item passes the Filter's text restrictions |
Typedefs
Name | Description |
---|---|
FItemTestComplexExpression | Defines a function signature used to test a complex expression for an Item |
FItemToStringArray | Defines a function signature for functions used to transform an Item into an array of FStrings |