◆ FindPlaceholderContainer()
| UObject * FLinkerPlaceholderObjectImpl::FindPlaceholderContainer |
( |
const FLinkerPlaceholderBase::FPlaceholderValuePropertyPath & |
PropertyChainRef | ) |
|
|
static |
Uses the current FPlaceholderContainerTracker::PerspectiveReferencerStack to search for a viable placeholder container (expected that it will be the top of the stack).
- Parameters
-
| PropertyChainRef | Defines the nested property path through a UObject, where the end leaf property is one left referencing a placeholder. |
- Returns
- The UObject instance that is assumably referencing a placeholder (null if one couldn't be found)
◆ FindRawPlaceholderContainer()
| void * FLinkerPlaceholderObjectImpl::FindRawPlaceholderContainer |
( |
const FLinkerPlaceholderBase::FPlaceholderValuePropertyPath & |
PropertyChainRef | ) |
|
|
static |
◆ ResolvePlaceholderValues()
A recursive method that replaces all leaf references to this object with the supplied ReplacementValue.
This function recurses the property chain (from class owner down) because at the time of AddReferencingPropertyValue() we cannot know/record the address/index of array properties (as they may change during array re-allocation or compaction). So we must follow the property chain and check every container (array, set, map) property member for references to this (hence, the need for this recursive function).
- Parameters
-
| PropertyChain | An ascending outer chain, where the property at index zero is the leaf (referencer) property. |
| ChainIndex | An index into the PropertyChain that this call should start at and iterate DOWN to zero. |
| ValueAddress | The memory address of the value corresponding to the property at ChainIndex. |
| OldValue | |
| ReplacementValue | The new object to replace all references to this with. |
- Returns
- The number of references that were replaced.
The documentation for this class was generated from the following file: