TTextFilter

Copyright Epic Games, Inc. All Rights Reserved.

Windows
MacOS
Linux

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

Name Description

Public function

TTextFilter

(
    FItemToStringArray InTransformDeleg...
)

TTextFilter Constructor

Public function

TTextFilter

(
    FItemToStringArray InTransformDeleg...,
    FItemTestComplexExpression InTestCo...
)

Functions

Name Description

Public function Const

FText

 

GetFilterErrorText()

Get the last error returned from lexing or compiling the current filter text

Public function Const

FText

 

GetRawFilterText()

Returns the unsanitized and unsplit filter terms

Public function

void

 

SetRawFilterText

(
    const FText& InFilterText
)

Set the Text to be used as the Filter's restrictions

Overridden from IFilter

Name Description

Public function Virtual

FChangedEven...

 

OnChanged()

Public function Virtual Const

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss