ArticyXImporter
ArticyXImporter for Unreal Engine
Loading...
Searching...
No Matches
FFrontendFilter_ArticyGVFilterExpressionContext Class Reference
Inheritance diagram for FFrontendFilter_ArticyGVFilterExpressionContext:

Public Types

typedef TRemoveReference< FArticyVariableFilterType >::Type FArticyVariableFilterTypePtr

Public Member Functions

 FFrontendFilter_ArticyGVFilterExpressionContext ()
void SetVariable (FArticyVariableFilterTypePtr InVariable)
void ClearVariable ()
virtual bool TestBasicStringExpression (const FTextFilterString &InValue, const ETextFilterTextComparisonMode InTextComparisonMode) const override
virtual bool TestComplexExpression (const FName &InKey, const FTextFilterString &InValue, const ETextFilterComparisonOperation InComparisonOperation, const ETextFilterTextComparisonMode InTextComparisonMode) const override

Detailed Description

Expression context to test the given variable data against the current text filter

Constructor & Destructor Documentation

◆ FFrontendFilter_ArticyGVFilterExpressionContext()

FFrontendFilter_ArticyGVFilterExpressionContext::FFrontendFilter_ArticyGVFilterExpressionContext ( )
inline

Member Function Documentation

◆ ClearVariable()

void FFrontendFilter_ArticyGVFilterExpressionContext::ClearVariable ( )
inline

Clears the current variable from the context.

◆ SetVariable()

void FFrontendFilter_ArticyGVFilterExpressionContext::SetVariable ( FArticyVariableFilterTypePtr InVariable)
inline

Sets the variable to be filtered.

Parameters
InVariablePointer to the variable being filtered.

◆ TestBasicStringExpression()

bool FFrontendFilter_ArticyGVFilterExpressionContext::TestBasicStringExpression ( const FTextFilterString & InValue,
const ETextFilterTextComparisonMode InTextComparisonMode ) const
overridevirtual

Tests the variable against a basic string expression.

Parameters
InValueThe value to test against.
InTextComparisonModeThe mode of text comparison.
Returns
True if the variable matches the string expression, false otherwise.

◆ TestComplexExpression()

bool FFrontendFilter_ArticyGVFilterExpressionContext::TestComplexExpression ( const FName & InKey,
const FTextFilterString & InValue,
const ETextFilterComparisonOperation InComparisonOperation,
const ETextFilterTextComparisonMode InTextComparisonMode ) const
overridevirtual

Tests the variable against a complex expression.

Parameters
InKeyThe key for the expression.
InValueThe value to test against.
InComparisonOperationThe comparison operation to use.
InTextComparisonModeThe mode of text comparison.
Returns
True if the variable matches the complex expression, false otherwise.

Tests the variable against a complex expression.

Parameters
InKeyThe key for the expression.
InValueThe value to test against.
InComparisonOperationThe comparison operation to use.
InTextComparisonModeThe mode of text comparison.
Returns
False, as complex expressions are not used for variables.

The documentation for this class was generated from the following file:
  • Source/ArticyEditor/Private/Slate/ArticyFilterHelpers.cpp