Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FReferenceCollector
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddReferencedObjects
(
TArray< UObjectType* >& ObjectArray, |
Adds references to an array of objects. | UObject/UObjectGlobals.h | |
void AddReferencedObjects
(
TArray< const UObjectType* >& ObjectArray, |
Adds references to an array of const objects, these objects can still be nulled out if forcefully collected. | UObject/UObjectGlobals.h | |
void AddReferencedObjects
(
TSet< UObjectType* >& ObjectSet, |
Adds references to a set of objects. | UObject/UObjectGlobals.h | |
void AddReferencedObjects
(
TMapBase< KeyType*, ValueType, Allocator, KeyFuncs >& Map, |
Adds references to a map of objects. | UObject/UObjectGlobals.h | |
void AddReferencedObjects
(
TMapBase< KeyType, ValueType*, Allocator, KeyFuncs >& Map, |
UObject/UObjectGlobals.h | ||
void AddReferencedObjects
(
TMapBase< KeyType*, ValueType*, Allocator, KeyFuncs >& Map, |
UObject/UObjectGlobals.h | ||
void AddReferencedObjects
(
TArray< TObjectPtr< UObjectType > >& ObjectArray, |
Adds references to an array of objects. | UObject/UObjectGlobals.h | |
void AddReferencedObjects
(
TArray< TObjectPtr< const UObjectType > >& ObjectArray, |
Adds references to an array of const objects, these objects can still be nulled out if forcefully collected. | UObject/UObjectGlobals.h | |
void AddReferencedObjects
(
TSet< TObjectPtr< UObjectType > >& ObjectSet, |
Adds references to a set of objects. | UObject/UObjectGlobals.h | |
void AddReferencedObjects
(
TMapBase< TObjectPtr< KeyType >, ValueType, Allocator, KeyFuncs >& Map, |
Adds references to a map of objects. | UObject/UObjectGlobals.h | |
void AddReferencedObjects
(
TMapBase< KeyType, TObjectPtr< ValueType >, Allocator, KeyFuncs >& Map, |
UObject/UObjectGlobals.h | ||
void AddReferencedObjects
(
TMapBase< TObjectPtr< KeyType >, TObjectPtr< ValueType >, Allocator, KeyFuncs >& Map, |
UObject/UObjectGlobals.h | ||
void AddReferencedObjects
(
const UScriptStruct*& ScriptStruct, |
Adds all strong property references from a UScriptStruct instance including the struct itself | UObject/UObjectGlobals.h | |
void AddReferencedObjects
(
TObjectPtr< const UScriptStruct >& ScriptStruct, |
UObject/UObjectGlobals.h | ||
void AddReferencedObjects
(
TWeakObjectPtr< const UScriptStruct >& ScriptStruct, |
UObject/UObjectGlobals.h |
AddReferencedObjects(TArray< UObjectType > &, const UObject , const FProperty *)
Description
Adds references to an array of objects.
| Name | AddReferencedObjects |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
template<class UObjectType>
void AddReferencedObjects
(
TArray < UObjectType * > & ObjectArray,
const UObject * ReferencingObject,
const FProperty * ReferencingProperty
)
Parameters
| Name | Remarks |
|---|---|
| ObjectArray | Referenced objects array. |
| ReferencingObject | Referencing object (if available). |
| ReferencingProperty | Referencing property (if available). |
AddReferencedObjects(TArray< const UObjectType > &, const UObject , const FProperty *)
Description
Adds references to an array of const objects, these objects can still be nulled out if forcefully collected.
| Name | AddReferencedObjects |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
template<class UObjectType>
void AddReferencedObjects
(
TArray < const UObjectType * > & ObjectArray,
const UObject * ReferencingObject,
const FProperty * ReferencingProperty
)
Parameters
| Name | Remarks |
|---|---|
| ObjectArray | Referenced objects array. |
| ReferencingObject | Referencing object (if available). |
| ReferencingProperty | Referencing property (if available). |
AddReferencedObjects(TSet< UObjectType > &, const UObject , const FProperty *)
Description
Adds references to a set of objects.
| Name | AddReferencedObjects |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
template<class UObjectType>
void AddReferencedObjects
(
TSet< UObjectType * > & ObjectSet,
const UObject * ReferencingObject,
const FProperty * ReferencingProperty
)
Parameters
| Name | Remarks |
|---|---|
| ObjectSet | Referenced objects set. |
| ReferencingObject | Referencing object (if available). |
| ReferencingProperty | Referencing property (if available). |
AddReferencedObjects(TMapBase< KeyType , ValueType, Allocator, KeyFuncs > &, const UObject , const FProperty *)
Description
Adds references to a map of objects.
| Name | AddReferencedObjects |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
template<typename KeyType, typename ValueType, typename Allocator, typename KeyFuncs>
void AddReferencedObjects
(
TMapBase< KeyType *, ValueType, Allocator, KeyFuncs > & Map,
const UObject * ReferencingObject,
const FProperty * ReferencingProperty
)
Parameters
| Name | Remarks |
|---|---|
| Map | Referenced objects map. |
| ReferencingObject | Referencing object (if available). |
| ReferencingProperty | Referencing property (if available). |
AddReferencedObjects(TMapBase< KeyType, ValueType , Allocator, KeyFuncs > &, const UObject , const FProperty *)
| Name | AddReferencedObjects |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
template<typename KeyType, typename ValueType, typename Allocator, typename KeyFuncs>
void AddReferencedObjects
(
TMapBase< KeyType, ValueType *, Allocator, KeyFuncs > & Map,
const UObject * ReferencingObject,
const FProperty * ReferencingProperty
)
AddReferencedObjects(TMapBase< KeyType , ValueType , Allocator, KeyFuncs > &, const UObject , const FProperty )
| Name | AddReferencedObjects |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
template<typename KeyType, typename ValueType, typename Allocator, typename KeyFuncs>
void AddReferencedObjects
(
TMapBase< KeyType *, ValueType *, Allocator, KeyFuncs > & Map,
const UObject * ReferencingObject,
const FProperty * ReferencingProperty
)
AddReferencedObjects(TArray< TObjectPtr< UObjectType > > &, const UObject , const FProperty )
Description
Adds references to an array of objects.
| Name | AddReferencedObjects |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
template<class UObjectType>
void AddReferencedObjects
(
TArray < TObjectPtr < UObjectType > > & ObjectArray,
const UObject * ReferencingObject,
const FProperty * ReferencingProperty
)
Parameters
| Name | Remarks |
|---|---|
| ObjectArray | Referenced objects array. |
| ReferencingObject | Referencing object (if available). |
| ReferencingProperty | Referencing property (if available). |
AddReferencedObjects(TArray< TObjectPtr< const UObjectType > > &, const UObject , const FProperty )
Description
Adds references to an array of const objects, these objects can still be nulled out if forcefully collected.
| Name | AddReferencedObjects |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
template<class UObjectType>
void AddReferencedObjects
(
TArray < TObjectPtr < const UObjectType > > & ObjectArray,
const UObject * ReferencingObject,
const FProperty * ReferencingProperty
)
Parameters
| Name | Remarks |
|---|---|
| ObjectArray | Referenced objects array. |
| ReferencingObject | Referencing object (if available). |
| ReferencingProperty | Referencing property (if available). |
AddReferencedObjects(TSet< TObjectPtr< UObjectType > > &, const UObject , const FProperty )
Description
Adds references to a set of objects.
| Name | AddReferencedObjects |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
template<class UObjectType>
void AddReferencedObjects
(
TSet< TObjectPtr < UObjectType > > & ObjectSet,
const UObject * ReferencingObject,
const FProperty * ReferencingProperty
)
Parameters
| Name | Remarks |
|---|---|
| ObjectSet | Referenced objects set. |
| ReferencingObject | Referencing object (if available). |
| ReferencingProperty | Referencing property (if available). |
AddReferencedObjects(TMapBase< TObjectPtr< KeyType >, ValueType, Allocator, KeyFuncs > &, const UObject , const FProperty )
Description
Adds references to a map of objects.
| Name | AddReferencedObjects |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
template<typename KeyType, typename ValueType, typename Allocator, typename KeyFuncs>
void AddReferencedObjects
(
TMapBase< TObjectPtr < KeyType >, ValueType, Allocator, KeyFuncs > & Map,
const UObject * ReferencingObject,
const FProperty * ReferencingProperty
)
Parameters
| Name | Remarks |
|---|---|
| ObjectArray | Referenced objects map. |
| ReferencingObject | Referencing object (if available). |
| ReferencingProperty | Referencing property (if available). |
AddReferencedObjects(TMapBase< KeyType, TObjectPtr< ValueType >, Allocator, KeyFuncs > &, const UObject , const FProperty )
| Name | AddReferencedObjects |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
template<typename KeyType, typename ValueType, typename Allocator, typename KeyFuncs>
void AddReferencedObjects
(
TMapBase< KeyType, TObjectPtr < ValueType >, Allocator, KeyFuncs > & Map,
const UObject * ReferencingObject,
const FProperty * ReferencingProperty
)
AddReferencedObjects(TMapBase< TObjectPtr< KeyType >, TObjectPtr< ValueType >, Allocator, KeyFuncs > &, const UObject , const FProperty )
| Name | AddReferencedObjects |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
template<typename KeyType, typename ValueType, typename Allocator, typename KeyFuncs>
void AddReferencedObjects
(
TMapBase< TObjectPtr < KeyType >, TObjectPtr < ValueType >, Allocator, KeyFuncs > & Map,
const UObject * ReferencingObject,
const FProperty * ReferencingProperty
)
AddReferencedObjects(const UScriptStruct &, void , const UObject , const FProperty )
Description
Adds all strong property references from a UScriptStruct instance including the struct itself
Only necessary to handle cases of an unreflected/non-UPROPERTY struct that wants to have references emitted.
Calls AddStructReferencedObjects() but not recursively on nested structs.
This and other AddPropertyReferences functions will hopefully merge into a single function in the future. They're kept separate initially to maintain exact semantics while replacing the much slower SerializeBin/TPropertyValueIterator/GetVerySlowReferenceCollectorArchive paths.
| Name | AddReferencedObjects |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectGlobals.cpp |
void AddReferencedObjects
(
const UScriptStruct *& ScriptStruct,
void * Instance,
const UObject * ReferencingObject,
const FProperty * ReferencingProperty
)
AddReferencedObjects(TObjectPtr< const UScriptStruct > &, void , const UObject , const FProperty *)
| Name | AddReferencedObjects |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectGlobals.cpp |
void AddReferencedObjects
(
TObjectPtr < const UScriptStruct > & ScriptStruct,
void * Instance,
const UObject * ReferencingObject,
const FProperty * ReferencingProperty
)
AddReferencedObjects(TWeakObjectPtr< const UScriptStruct > &, void , const UObject , const FProperty *)
| Name | AddReferencedObjects |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectGlobals.cpp |
void AddReferencedObjects
(
TWeakObjectPtr < const UScriptStruct > & ScriptStruct,
void * Instance,
const UObject * ReferencingObject,
const FProperty * ReferencingProperty
)