4#include "CoreMinimal.h"
5#include "GameFramework/Actor.h"
63 virtual TWeakObjectPtr<AActor> GetParentActor()
const;
72 return TextType ==
Other.GetTextType() &&
73 CategoryType ==
Other.GetCategoryType() &&
74 DisplayText.EqualTo(
Other.GetDisplayText()) &&
75 GetParentActor() ==
Other.GetParentActor();
80 return IsEqual(
Other);
87 Super::PostFilterPathsToNodes(Child);
90 if (Child->IsSeparator())
92 Child->SetIsVisible(
false);
97 Super::PostBuildPathToTopMostParent(CurrentParentNode);
98 check(!CurrentParentNode->IsSeparator());
102 return !GrandChild->IsSeparator() && !GrandChild->IsCategory() && Super::FilterIsChildVisible(GrandChild);
106 return !Child->IsSeparator() && Super::FilterDoesChildContainText(Child, InSearch);
133 const FText& InDisplayText,
134 const TSharedPtr<FDlgDataDisplayTreeNode>& InParent,
135 TWeakObjectPtr<AActor> InActor
139 TWeakObjectPtr<AActor> GetParentActor()
const override;
154 const FText& InDisplayText,
155 const TSharedPtr<FDlgDataDisplayTreeNode>& InParent,
159 bool IsText()
const override {
return false; }
171 const FText& InDisplayText,
172 const TSharedPtr<FDlgDataDisplayTreeNode>& InParent,
173 FName InVariableName,
189 if (
const Self* OtherSelf =
static_cast<const Self*
>(&
Other))
191 return VariableName == OtherSelf->GetVariableName() &&
192 VariableType == OtherSelf->GetVariableType() &&
193 VariableValue == OtherSelf->GetVariableValue() &&
194 Super::IsEqual(
Other);
201 FName VariableName = NAME_None;
EDlgDataDisplayVariableTreeNodeType
EDlgDataDisplayTextTreeNodeType
EDlgDataDisplayCategoryTreeNodeType
TWeakObjectPtr< AActor > Actor
FDlgDataDisplayTreeNode Super
bool IsCategory() const override
bool IsText() const override
FDlgDataDisplayTreeNode Super
EDlgDataDisplayCategoryTreeNodeType GetCategoryType() const
virtual bool IsText() const
bool FilterIsChildVisible(const TSharedPtr< Self > &GrandChild) override
virtual bool IsSeparator() const
bool operator==(const Self &Other)
virtual bool IsCategory() const
EDlgDataDisplayCategoryTreeNodeType CategoryType
EDlgDataDisplayTextTreeNodeType GetTextType() const
void PostFilterPathsToNodes(const TSharedPtr< Self > &Child) override
virtual bool IsEqual(const Self &Other)
void PostBuildPathToTopMostParent(const TSharedPtr< Self > &CurrentParentNode) override
FDlgDataDisplayTreeNode Self
EDlgDataDisplayTextTreeNodeType TextType
bool FilterDoesChildContainText(const TSharedPtr< Self > &Child, const FString &InSearch) override
FDlgDataDisplayTreeNode Super
FName GetVariableName() const
EDlgDataDisplayVariableTreeNodeType VariableType
bool IsEqual(const Super &Other) override
void SetVariableValue(const FString &InVariableValue)
EDlgDataDisplayVariableTreeNodeType GetVariableType() const
FDlgDataDisplayTreeVariableNode Self
FDlgDataDisplayTreeNode Super
FString GetVariableValue() const