Navigation
API > API/Developer > API/Developer/DerivedDataCache
Inheritance Hierarchy
- FValue
- FValueWithId
References
| Module | DerivedDataCache |
| Header | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataValue.h |
| Include | #include "DerivedDataValue.h" |
Syntax
class FValue
Remarks
A value is a compressed buffer identified by its raw hash and raw size.
A value without data may be used as a reference to the value.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FValue () |
Construct a null value, which is a hash and size of zero with no data. | ||
FValue
(
const FCompressedBuffer& Data |
Construct a value from a compressed buffer, which is cloned if not owned. | ||
FValue
(
FCompressedBuffer&& Data |
|||
| Construct a value reference from the hash and size of its data. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FValue | Compress
(
const FCompositeBuffer& RawData, |
Compress the buffer to a value using default derived data compression parameters. | |
| FValue | Compress
(
const FSharedBuffer& RawData, |
||
| const FCompressedBuffer & | GetData () |
Returns the compressed buffer for the value. May be null. | |
| const FIoHash & | GetRawHash () |
Returns the hash of the raw buffer (uncompressed) for the value. | |
| uint64 | GetRawSize () |
Returns the size of the raw buffer (uncompressed) for the value. | |
| bool | HasData () |
Whether the compressed buffer for the value is available. | |
| FValue | RemoveData () |
Create a copy of the value with the data removed. | |
| void | Reset () |
Reset this to null. |
Constants
| Name | Description |
|---|---|
| Null | A null value. |