Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > Cooker
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/Cooker/CookDependency.h |
Include | #include "Cooker/CookDependency.h" |
Syntax
class FCookDependency
Remarks
TargetDomain dependencies that can be reported from the class instances in a package. These dependencies are stored in the cook oplog and are evaluated during incremental cook. If any of them changes, the package is invalidated and must be recooked (loaded/saved). These dependencies do not impact whether DDC keys built from the package need to be recalculated.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TUniquePtr< FARFilter > | ARFilter | |
![]() |
TUniquePtr< UE::ConfigAccessTracking::FConfigAccessData > | ConfigAccessData | |
![]() |
FFunctionData | FunctionData | |
![]() |
FName | NameData | |
![]() |
const UObject * | ObjectPtr | |
![]() |
FString | StringData | |
![]() |
FTransitiveBuildData | TransitiveBuildData |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Construct an empty dependency; it will never be invalidated. | ||
![]() |
FCookDependency
(
const FCookDependency& Other |
||
![]() |
FCookDependency
(
FCookDependency&& Other |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FCookDependency | AssetRegistryQuery
(
FARFilter Filter |
Adds a dependency on the results reported by an AssetRegistry query. |
![]() ![]() |
FCookDependency | ||
![]() ![]() |
FCookDependency | Create a dependency on the value of a config variable, with LoadType=ConfigSystem and Platform=NAME_None. | |
![]() ![]() |
FCookDependency | Config
(
UE::ConfigAccessTracking::FConfigAccessData AccessData |
Create a dependency on the value of a config variable. |
![]() ![]() |
FCookDependency | ConsoleVariable
(
FStringView VariableName |
Create a dependency on the value of a cvar. |
![]() ![]() |
FCookDependency | File
(
FStringView InFileName |
Create a dependency on the contents of the file. |
![]() ![]() |
FCookDependency | Function
(
FName InFunctionName, |
Create a dependency on a call to the specified function with the given arguments. |
![]() ![]() |
const FARFilter * | GetARFilter () |
Returns the FARFilter if GetType() == AssetRegistryQuery, else nullptr. |
![]() ![]() |
FStringView | GetClassPath () |
Returns the classpath if GetType() == NativeClass, else empty string. |
![]() ![]() |
FString | Returns the full path of the config access (e.g. Platform.Filename.Section.ValueName) if GetType() == Config, else empty. | |
![]() ![]() |
FStringView | GetFileName () |
FileName if GetType() == File, else empty. |
![]() ![]() |
FCbFieldViewIterator | FunctionArgs if GetType() == Function, else FCbFieldViewIterator(). | |
![]() ![]() |
FName | FunctionName if GetType() == Function, else NAME_None. | |
![]() ![]() |
FName | PackageName if GetType() == TransitiveBuild or GetType() == Package, else NAME_None. | |
![]() ![]() |
const UObject * | Returns the SettingsObject pointer if GetType() == SettingsObject, else nullptr. | |
![]() ![]() |
ECookDependency | GetType () |
FCookDependency is a vararg type. |
![]() ![]() |
bool | If GetType() == TransitiveBuild, whether AlsoAddRuntimeDependency was selected, otherwise false. | |
![]() ![]() |
FCookDependency | NativeClass
(
FStringView ClassPath |
|
![]() ![]() |
FCookDependency | NativeClass
(
const UClass* InClass |
Adds a dependency on the class schema of a nativeclass. |
![]() ![]() |
FCookDependency | Create a build dependency on the contents of a package. | |
![]() ![]() |
FCookDependency | SettingsObject
(
const UObject* InObject |
Adds a dependency on the config values and class schema of a settings object. |
![]() ![]() |
FCookDependency | TransitiveBuildAndRuntime
(
FName PackageName |
Create a transitive build dependency on another package. |
![]() ![]() |
void | UpdateHash
(
FCookDependencyContext& Context |
Calculate the current hash of this CookDependency, and add it into Context. |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | operator!=
(
const FCookDependency& Other |
|
![]() ![]() |
bool | operator<
(
const FCookDependency& Other |
Comparison operator for e.g. deterministic ordering of dependencies. |
![]() |
FCookDependency & | operator=
(
const FCookDependency& Other |
|
![]() |
FCookDependency & | operator=
(
FCookDependency&& Other |
|
![]() ![]() |
bool | operator==
(
const FCookDependency& Other |
Equality operator for uniqueness testing |