Navigation
API > API/Editor > API/Editor/UnrealEd
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/AsyncTreeDifferences.h |
| Include | #include "AsyncTreeDifferences.h" |
Syntax
template<typename InNodeType>
class TTreeDiffSpecification
Remarks
/**
- 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 *
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| 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 | |
| bool | AreValuesEqual
(
const InNodeType& TreeNodeA, |
Determine whether the values stored in two nodes are equal. | |
| void | GetChildren
(
const InNodeType& InParent, |
Retrieves an array of children nodes from the parent node | |
| bool | ShouldInheritEqualFromChildren
(
const InNodeType& TreeNodeA, |
Return true if TreeNode is considered equal when all it's children are equal. | |
| 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 |