5#include "CoreMinimal.h"
7#include "Filter.generated.h"
11struct FJsonObjectWrapper;
81 FJsonObjectWrapper ToJsonObjectWrapper() const;
83 FString ToJson() const;
85 TSharedRef<FJsonObject> ToJsonObject() const;
99 static
FFilter Equal(const FName& Field, const TCHAR* Value);
101 static
FFilter Equal(const FName& Field, const FString& Value);
105 static
FFilter Equal(const FName& Field, TYPE_OF_NULLPTR);
131 static
FFilter Less(const FName& Field, int32 Value);
133 static
FFilter Less(const FName& Field,
float Value);
135 static
FFilter Less(const FName& Field, const FString& Value);
144 static
FFilter In(const FName& Field, const TArray<int32>& Values);
146 static
FFilter In(const FName& Field, const TArray<
float>& Values);
148 static
FFilter In(const FName& Field, const TArray<FString>& Values);
150 static
FFilter NotIn(const FName& Field, const TArray<int32>& Values);
152 static
FFilter NotIn(const FName& Field, const TArray<
float>& Values);
154 static
FFilter NotIn(const FName& Field, const TArray<FString>& Values);
163 static
FFilter Empty(const FName& Field);
166 bool IsValid() const;
181 static
FFilter MakeArrayComparison(
EFilterOperator Operator, const FName& Field, const TArray<T>& Values);
182 static
FFilter MakeArrayComparison(
EFilterOperator Operator, const FName& Field, const TArray<FString>& Values);
186 TSharedPtr<FJsonValue> Value;
EFilterOperator
The type of operator of a filter.
Definition: Filter.h:18
@ NotEqual
Matches all values that are not equal to a specified value.
@ Less
Matches values that are less than a specified value.
@ Exists
Matches values that exist/don't exist based on the specified boolean value.
@ Or
Matches at least one of the values specified in an array.
@ Nor
Matches none of the values specified in an array.
@ Query
Matches values by performing text search with the specified value.
@ GreaterOrEqual
Matches values that are greater than a specified value.
@ Autocomplete
Matches values with the specified prefix.
@ Greater
Matches values that are greater than a specified value.
@ LessOrEqual
Matches values that are less than or equal to a specified value.
@ Contains
Matches any list that contains the specified value.
@ And
Matches all the values specified in an array.
@ NotIn
Matches none of the values specified in an array.
@ In
Matches any of the values specified in an array.
@ Equal
Matches values that are equal to a specified value.
A filter used for querying channels.
Definition: Filter.h:75