engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
TTextFilter< ItemType > 模板类 参考

A generic filter specialized for text restrictions 更多...

#include <TextFilter.h>

+ 类 TTextFilter< ItemType > 继承关系图:

Public 成员函数

 DECLARE_DELEGATE_RetVal_FiveParams (bool, FItemTestComplexExpression, ItemType, const FName &, const FTextFilterString &, ETextFilterComparisonOperation, ETextFilterTextComparisonMode)
 Defines a function signature used to test a complex expression for an Item
 
 DECLARE_DELEGATE_TwoParams (FItemToStringArray, ItemType, OUT TArray< FString > &)
 Defines a function signature for functions used to transform an Item into an array of FStrings
 
FText GetFilterErrorText () const
 Get the last error returned from lexing or compiling the current filter text
 
FText GetRawFilterText () const
 Returns the unsanitized and unsplit filter terms
 
virtual bool PassesFilter (ItemType InItem) const override
 Returns whether the specified Item passes the Filter's text restrictions 更多...
 
void SetRawFilterText (const FText &InFilterText)
 Set the Text to be used as the Filter's restrictions
 
 TTextFilter (FItemToStringArray InTransformDelegate)
 TTextFilter Constructor 更多...
 
- Public 成员函数 继承自 IFilter< ItemType >
 DECLARE_EVENT (IFilter< ItemType >, FChangedEvent)
 Broadcasts anytime the restrictions of the Filter changes
 
virtual bool PassesFilter (ItemType InItem) const=0
 Returns whether the specified Item passes the Filter's restrictions
 
- Public 成员函数 继承自 TSharedFromThis< TTextFilter< ItemType > >
TSharedRef< TTextFilter< ItemType >, Mode > AsShared ()
 Provides access to a shared reference to this object. 更多...
 
TSharedRef< TTextFilter< ItemType > const, Mode > AsShared () const
 Provides access to a shared reference to this object (const.) Note that is only valid to call this after a shared reference (or shared pointer) to the object has already been created. 更多...
 
FORCEINLINE bool DoesSharedInstanceExist () const
 Checks whether our referenced instance is valid (ie, whether it's safe to call AsShared). 更多...
 
FORCEINLINE void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, Mode > const *InSharedPtr, OtherType *InObject) const
 INTERNAL USE ONLY – Do not call this method. 更多...
 
FORCEINLINE void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, Mode > const *InSharedRef, OtherType *InObject) const
 INTERNAL USE ONLY – Do not call this method. 更多...
 

额外继承的成员函数

- Protected 成员函数 继承自 TSharedFromThis< TTextFilter< ItemType > >
FORCEINLINE TSharedFromThis & operator= (TSharedFromThis const &)
 Hidden stub assignment operator
 
 TSharedFromThis ()
 Hidden stub constructor
 
 TSharedFromThis (TSharedFromThis const &)
 Hidden stub copy constructor
 
 ~TSharedFromThis ()
 Hidden destructor
 
- 静态 Protected 成员函数 继承自 TSharedFromThis< TTextFilter< ItemType > >
static FORCEINLINE TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 Provides access to a shared reference to an object, given the object's 'this' pointer. 更多...
 
static FORCEINLINE TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 Provides access to a shared reference to an object, given the object's 'this' pointer. 更多...
 

详细描述

template<typename ItemType>
class TTextFilter< ItemType >

A generic filter specialized for text restrictions

构造及析构函数说明

◆ TTextFilter()

template<typename ItemType >
TTextFilter< ItemType >::TTextFilter ( FItemToStringArray  InTransformDelegate)
inline

TTextFilter Constructor

参数
InTransformA required delegate used to populate an array of strings based on an Item

成员函数说明

◆ PassesFilter()

template<typename ItemType >
virtual bool TTextFilter< ItemType >::PassesFilter ( ItemType  InItem) const
inlineoverridevirtual

Returns whether the specified Item passes the Filter's text restrictions

参数
InItemThe Item to check
返回
Whether the specified Item passed the filter

实现了 IFilter< ItemType >.


该类的文档由以下文件生成: