Navigation
API > API/Runtime > API/Runtime/CoreUObject
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ForEachObjectWithPackage
(
const UPackage* Outer, |
Performs an operation on all objects found within a given package Note that the operation must not modify UObject hash maps so it can not create, rename or destroy UObjects. | UObject/UObjectHash.h | |
void ForEachObjectWithPackage
(
const UPackage* Outer, |
UObject/UObjectHash.h |
ForEachObjectWithPackage(const class UPackage , TFunctionRef< bool(UObject )>, EGetObjectsFlags, EObjectFlags, EInternalObjectFlags)
Description
Performs an operation on all objects found within a given package Note that the operation must not modify UObject hash maps so it can not create, rename or destroy UObjects.
| Name | ForEachObjectWithPackage |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectHash.h |
| Include Path | #include "UObject/UObjectHash.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectHash.cpp |
void ForEachObjectWithPackage
(
const class UPackage * Outer,
TFunctionRef < bool *)> Operation,
EGetObjectsFlags Flags,
EObjectFlags ExclusionFlags,
EInternalObjectFlags ExclusionInternalFlags
)
Parameters
| Name | Remarks |
|---|---|
| Package | Package to iterate into |
| Operation | Function to be called for each object, return false to break out of the iteration |
| Flags | Additional flags, see EGetObjectsFlags |
| ExclusionFlags | Specifies flags to use as a filter for which objects to return |
| ExclusiveInternalFlags | Specifies internal flags to use as a filter for which objects to return |
ForEachObjectWithPackage(const class UPackage , TFunctionRef< bool(UObject )>, bool, EObjectFlags, EInternalObjectFlags)
| Name | ForEachObjectWithPackage |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectHash.h |
| Include Path | #include "UObject/UObjectHash.h" |
void ForEachObjectWithPackage
(
const class UPackage * Outer,
TFunctionRef < bool *)> Operation,
bool bIncludeNestedObjects,
EObjectFlags ExclusionFlags,
EInternalObjectFlags ExclusionInternalFlags
)