| FCacheRecord
|
Module |
|
Header |
/Engine/Source/Developer/DerivedDataCache/Public/DerivedDataCacheRecord.h |
Include |
#include "DerivedDataCacheRecord.h" |
class FCacheRecord
A cache record is a key, an array of values, and metadata.
The key must uniquely correspond to its values. The key must never be reused for other values. The metadata does not have this requirement and may be used to persist details that vary, such as the time to generate the values or the machine that generated them.
No constructors are accessible with public or protected access.
Name | Description | ||
---|---|---|---|
|
const FCache... |
GetKey() |
Returns the key that identifies this record in the cache. |
|
const FCbObj... |
GetMeta() |
Returns the metadata. |
|
const FValue... |
GetValue ( |
Returns the value matching the ID. Null if no match. Data is null if skipped. |
|
TConstArrayV... |
GetValues() |
Returns a view of the values ordered by ID. Data is null if skipped. |
|
FOptionalCac... |
Load ( |
Load a cache record from a compact binary package. Null on error. |
|
FOptionalCac... |
Load ( |
Load a cache record from a compact binary package. Null on error. |
|
Save() |
Save the cache record to a compact binary package. |