ISMSearch::FSearchResult¶
#include <ISMSearch.h>
Description¶
Results of a search. Replacement results are also stored here.
Public Functions¶
| Name | |
|---|---|
| FString | GetBlueprintName() const |
| FString | GetNodeName() const |
| FString | GetPropertyName() const |
| int32 | GetPropertyIndex() const |
| int32 | GetBeginMatchedIndex() const |
| int32 | GetEndMatchedIndex() const |
| int32 | FindMatchedTextRangeIntersectingRange(const FTextRange & InRange) const |
| bool | HasError() const |
| void | CheckResult() const |
| void | TryResolveObjects() |
| void | LoadObjects() |
| TSharedPtr< FStreamableHandle > | AsyncLoadObjects(const FSimpleDelegate & InOnLoadedDelegate =FSimpleDelegate()) |
| FORCEINLINE bool | operator==(const FSearchResult & Other) const |
| FORCEINLINE bool | operator!=(const FSearchResult & Other) const |
Public Attributes¶
| Name | |
|---|---|
| FString | BlueprintPath |
| TSharedPtr< FSearchResultFiB > | FiBResult |
| TWeakObjectPtr< UBlueprint > | Blueprint |
| TWeakObjectPtr< UEdGraphNode > | GraphNode |
| TWeakObjectPtr< USMNodeInstance > | NodeInstance |
| FProperty * | Property |
| int32 | PropertyIndex |
| TArray< FTextRange > | MatchedTextRanges |
| FString | PropertyValue |
| FString | Namespace |
| FString | Key |
| TSharedPtr< FReplaceResult > | ReplaceResult |
| bool | bAllowConstructionScriptsOnLoad |
Public Functions Documentation¶
function GetBlueprintName¶
Return the blueprint name
function GetNodeName¶
Return the node name.
function GetPropertyName¶
Return the property name.
function GetPropertyIndex¶
Return the array index this property falls in. INDEX_NONE if not an array.
function GetBeginMatchedIndex¶
Return the first matched character index or INDEX_NONE.
function GetEndMatchedIndex¶
Return the last matched character index or INDEX_NONE.
function FindMatchedTextRangeIntersectingRange¶
Checks if a given range is contained within the matched text ranges.
Return: The array index of the matching MatchedTextRanges.
function HasError¶
If an error occurred during search or replace.
function CheckResult¶
Call check() on pointers which should be valid.
function TryResolveObjects¶
Tries to set object fields if they are loaded. Does not load objects.
function LoadObjects¶
Attempt to load any objects from paths and guids.
function AsyncLoadObjects¶
TSharedPtr< FStreamableHandle > AsyncLoadObjects(
const FSimpleDelegate & InOnLoadedDelegate =FSimpleDelegate()
)
Attempt to async load any objects from paths and guids.
Return: The streamable handle to the async load. Will be null if no async load occurred.
function operator==¶
function operator!=¶
Public Attributes Documentation¶
variable BlueprintPath¶
The path to the blueprint, used to load the asset if needed.
variable FiBResult¶
The result returned from Find In Blueprints.
variable Blueprint¶
The blueprint containing the text.
variable GraphNode¶
The graph node containing the property if applicable.
variable NodeInstance¶
The node instance owning the property.
variable Property¶
The property containing the text.
variable PropertyIndex¶
The index of the property if an array.
variable MatchedTextRanges¶
All occurrences of the search text found in the property value.
variable PropertyValue¶
The text containing the search string. This is either the exported value or the literal value.
variable Namespace¶
The saved namespace if reading a text value.
variable Key¶
The saved key if reading a text value.
variable ReplaceResult¶
The replace result, if one exists.
variable bAllowConstructionScriptsOnLoad¶
If construction scripts should run on load. Generally managed by search args.