Navigation
API > API/Editor > API/Editor/UnrealEd
/**
- determine whether the values stored in two nodes are equal.
- /**
- determine whether two nodes occupy the same space in their trees
- for example if you have a tree key/value pairs, AreMatching should compare the keys while AreValuesEqual
- should compare the values
- /**
- retrieves an array of children nodes from the parent node
- /**
- return true for nodes that match using AreValuesEqual first, and pair up by position second
- this is useful for arrays since we often want to keep elements with the same data paired while diffing other elements in order *
| Name | TTreeDiffSpecification |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/AsyncTreeDifferences.h |
| Include Path | #include "AsyncTreeDifferences.h" |
Syntax
template<typename InNodeType>
class TTreeDiffSpecification
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~TTreeDiffSpecification() |
AsyncTreeDifferences.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AreMatching
(
const InNodeType& TreeNodeA, |
Determine whether two nodes occupy the same space in their trees for example if you have a tree key/value pairs, AreMatching should compare the keys while AreValuesEqual should compare the values | AsyncTreeDifferences.h | |
bool AreMatching
(
const InNodeType& TreeNodeA, |
AsyncTreeDifferences.h | ||
bool AreValuesEqual
(
const InNodeType& TreeNodeA, |
Determine whether the values stored in two nodes are equal. | AsyncTreeDifferences.h | |
bool AreValuesEqual
(
const InNodeType& TreeNodeA, |
AsyncTreeDifferences.h | ||
void GetChildren
(
const InNodeType& InParent, |
Retrieves an array of children nodes from the parent node | AsyncTreeDifferences.h | |
bool ShouldInheritEqualFromChildren
(
const InNodeType& TreeNodeA, |
Return true if TreeNode is considered equal when all it's children are equal. | AsyncTreeDifferences.h | |
bool ShouldMatchByValue
(
const InNodeType& TreeNode |
Return true for nodes that match using AreValuesEqual first, and pair up by position second this is useful for arrays since we often want to keep elements with the same data paired while diffing other elements in order | AsyncTreeDifferences.h |