FCacheRecordPolicyBuilder

A cache record policy builder is used to construct a cache record policy.

Windows
MacOS
Linux

References

Module

DerivedDataCache

Header

/Engine/Source/Developer/DerivedDataCache/Public/DerivedDataCache.h

Include

#include "DerivedDataCache.h"

Syntax

class FCacheRecordPolicyBuilder

Remarks

A cache record policy builder is used to construct a cache record policy.

Constructors

Name Description

Public function

FCacheRecordPolicyBuilder()

Construct a policy builder that uses the default policy as its base policy.

Public function

FCacheRecordPolicyBuilder

(
    ECachePolicy Policy
)

Construct a policy builder that uses the provided policy for the record and values with no override.

Functions

Name Description

Public function

void

 

AddValuePolicy

(
    const FCacheValuePolicy& Policy
)

Adds a cache policy override for a value.

Public function

void

 

AddValuePolicy

(
    const FValueId& Id,
    ECachePolicy Policy
)

Public function

FCacheRecord...

 

Build()

Build a cache record policy, which makes this builder subsequently unusable.