FImaginaryFiBData

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Kismet

Header

/Engine/Source/Editor/Kismet/Public/ImaginaryBlueprintData.h

Include

#include "ImaginaryBlueprintData.h"

Syntax

class FImaginaryFiBData :
    public ITextFilterExpressionContext,
    public TSharedFromThis< FImaginaryFiBData, ESPMode::ThreadSafe >

Variables

Name Description

Protected variable

TAtomic< bool >

 

bHasParsedJsonObject

Set after the JSON object has been parsed.

Protected variable

bool

 

bRequiresInterlockedParsing

Set if this instance requires interlocked parsing.

Protected variable

TMap< int32, FT...

 

LookupTablePtr

Pointer to the lookup table to decompressed the Json strings back into fully formed FTexts

Protected variable

FImaginaryFiBDa...

 

Outer

Outer of this object that owns it, used for climbing up the hierarchy.

Protected variable

TArray< FImagin...

 

ParsedChildData

All parsed child data for this item.

Protected variable

TMultiMap< Find...

 

ParsedTagsAndValues

A mapping of tags to their values and searchability status

Protected variable

TSharedPtr< FJs...

 

UnparsedJsonObject

The unparsed Json object representing this item.

Constructors

Name Description

Public function

FImaginaryFiBData

(
    FImaginaryFiBDataWeakPtr InOuter,
    TSharedPtr< FJsonObject > InUnparse...,
    TMap< int32, FText >* InLookup...
)

Functions

Name Description

Public function

void

 

AddKeyValuePair

(
    FText InKey,
    FSearchableValueInfo& InValue
)

Adds a KeyValue pair to the ParsedTagAndValues map

Public function Virtual Const

bool

 

CanCallFilter

(
    ESearchQueryFilter InSearchQueryFil...
)

Checks if the filter can call functions for the passed filter, returns FALSE by default if the filter is not the AllFilter

Protected function Const

FText

 

CreateSearchComponentDisplayText

(
    FText InKey,
    FText InValue
)

Creates a display string for this item in search results

Public function Const

FSearchResul...

 

CreateSearchResult

(
    FSearchResult InParent
)

Requests internal creation of the search result and properly initializes the visual representation of the result

Protected function Const

FSearchResul...

 

CreateSearchResult_Internal

(
    FSearchResult InTemplate
)

Protected internal function which builds the search result for this item

Public function Static

FSearchResul...

 

CreateSearchTree

(
    FSearchResult InParentSearchResult,
    FImaginaryFiBDataWeakPtr InCurrentP...,
    TArray< const FImaginaryFiBData...,
    TMultiMap< const FImaginaryFiBData ...
)

Builds a SearchTree ready to be displayed in the Find-in-Blueprints window

Public function Const

void

 

DumpParsedObject

(
    FArchive& Ar,
    int32 InTreeLevel
)

Dumps the parsed object (including all children) to the given archive

Protected function Virtual Const

void

 

DumpParsedObject_Internal

(
    FArchive& Ar
)

Internal helper function for dumping parsed object info

Public function

void

 

EnableInterlockedParsing()

Called to enable interlocked parsing (only allow one thread at a time).

Public function Const

const TArray...

 

GetAllParsedChildData()

Accessor for the parsed child data for this item

Public function Virtual Const

UBlueprint &...

 

GetBlueprint()

This will return and force load the UBlueprint that owns this object data.

Public function Virtual Const

UObject *...

 

GetObject

(
    UBlueprint* InBlueprint
)

Returns the UObject represented by this Imaginary data give the UBlueprint owner.

Public function Const

FImaginaryFi...

 

GetOuter()

Returns the Outer of this Imaginary data that directly owns it

Protected function Virtual

ESearchableV...

 

GetSearchabilityStatus

(
    FString InKey
)

Returns the searchability status of a passed in Key, all Keys are searchable by default

Public function Virtual Const

bool

 

IsCategory()

End ITextFilterExpressionContext Interface Returns TRUE if this item is a category type, which helps to organize child data

Public function Virtual Const

bool

 

IsCompatibleWithFilter

(
    ESearchQueryFilter InSearchQueryFil...
)

Checks if the filter is compatible with the current object, returns TRUE by default

Public function Virtual Const

bool

 

IsTagAndValueCategory()

Returns TRUE if this item is considered a Tag and Value category, where it's contents should be considered no different than the parent owner

Public function

void

 

ParseAllChildData

(
    ESearchableValueStatus InSearchabil...
)

Parses, in a thread-safe manner, all child data, non-recursively, so children will be left in an unparsed Json state

Protected function Virtual

void

 

ParseAllChildData_Internal

(
    ESearchableValueStatus InSearchabil...
)

Internal version of the ParseAllChildData function, handles the bulk of the work

Protected function

void

 

ParseJsonValue

(
    FText InKey,
    FText InDisplayKey,
    TSharedPtr< FJsonValue > InJsonValu...,
    TArray< FSearchableValueInfo >& Ou...,
    bool bIsInArray,
    ESearchableValueStatus InSearchabil...
)

Helper function for parsing Json values into usable properties

Public function Virtual Const

bool

 

TestBasicStringExpression

(
    const FTextFilterString& InValue,
    const ETextFilterTextComparisonMode...,
    TMultiMap< const FImaginaryFiBData ...
)

Test the given value against the strings extracted from the current item.

Public function Virtual Const

bool

 

TestComplexExpression

(
    const FName& InKey,
    const FTextFilterString& InValue,
    const ETextFilterComparisonOperatio...,
    const ETextFilterTextComparisonMode...,
    TMultiMap< const FImaginaryFiBData ...
)

Perform a complex expression test for the current item.

Protected function Virtual

bool

 

TrySpecialHandleJsonValue

(
    FText InKey,
    TSharedPtr< FJsonValue > InJsonValu...
)

Checks if the Key has any special handling to be done, such as making a Pin out of it

Overridden from ITextFilterExpressionContext

Name Description

Public function Virtual Const

bool

 

TestBasicStringExpression

(
    const FTextFilterString& InValue,
    const ETextFilterTextComparisonMode...
)

We don't actually use these overrides, see FFiBContextHelper for how we call the alternate functions. These will assert if they are accidentally called.

Public function Virtual Const

bool

 

TestComplexExpression

(
    const FName& InKey,
    const FTextFilterString& InValue,
    const ETextFilterComparisonOperatio...,
    const ETextFilterTextComparisonMode...
)

Perform a complex expression test for the current item

Constants

Name

Description

ParseChildDataCriticalSection

Allows for thread-safe parsing of the imaginary data.

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