5#include "HAL/PlatformAtomics.h"
6#include "Misc/AssertionMacros.h"
7#include "Templates/RemoveReference.h"
8#include "Containers/Array.h"
9#include "Containers/UnrealString.h"
10#include "Templates/SharedPointer.h"
11#include "Delegates/Delegate.h"
12#include "Internationalization/Text.h"
13#include "Misc/TextFilterExpressionEvaluator.h"
14#include "Misc/IFilter.h"
17
18
19template<
typename ItemType >
28 DECLARE_DELEGATE_RetVal_FiveParams(
bool, FItemTestComplexExpression, ItemType,
const FName& ,
const FTextFilterString& , ETextFilterComparisonOperation , ETextFilterTextComparisonMode );
31
32
33
34
42 TTextFilter( FItemToStringArray InTransformDelegate, FItemTestComplexExpression InTestComplexExpressionDelegate )
54
55
56
57
58
#define DECLARE_DERIVED_EVENT(OwningType, BaseTypeEvent, EventName)
#define DECLARE_DELEGATE_RetVal_FiveParams(ReturnValueType, DelegateName, Param1Type, Param2Type, Param3Type, Param4Type, Param5Type)
#define DECLARE_DELEGATE_TwoParams(DelegateName, Param1Type, Param2Type)
ETextFilterTextComparisonMode
ETextFilterComparisonOperation
FTextFilterExpressionContext(const FItemToStringArray &InTransformArrayDelegate, const FItemTestComplexExpression &InTestComplexExpressionDelegate)
void SetItem(ItemTypePtr InItem)
FItemToStringArray TransformArrayDelegate
virtual bool TestBasicStringExpression(const FTextFilterString &InValue, const ETextFilterTextComparisonMode InTextComparisonMode) const override
FItemTestComplexExpression TestComplexExpressionDelegate
virtual bool TestComplexExpression(const FName &InKey, const FTextFilterString &InValue, const ETextFilterComparisonOperation InComparisonOperation, const ETextFilterTextComparisonMode InTextComparisonMode) const override
TArray< FString > ItemBasicStrings
TRemoveReference< ItemType >::Type * ItemTypePtr
virtual bool PassesFilter(ItemType InItem) const override
TTextFilter(FItemToStringArray InTransformDelegate)
virtual FChangedEvent & OnChanged() override
void SetRawFilterText(const FText &InFilterText)
FTextFilterExpressionContext TextFilterExpressionContext
FChangedEvent ChangedEvent
TTextFilter(FItemToStringArray InTransformDelegate, FItemTestComplexExpression InTestComplexExpressionDelegate)
FText GetRawFilterText() const
FText GetFilterErrorText() const
FTextFilterExpressionEvaluator TextFilterExpressionEvaluator