FValueId

A 12-byte value that uniquely identifies a value in the context that it was created.

Windows
MacOS
Linux

References

Module

DerivedDataCache

Header

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

Include

#include "DerivedDataValueId.h"

Syntax

struct FValueId

Remarks

A 12-byte value that uniquely identifies a value in the context that it was created.

Constructors

Name Description

Public function

FValueId()

Construct a null ID.

Public function

FValueId

(
    const ByteArray& Id
)

Construct an ID from an array of 12 bytes.

Public function

FValueId

(
    FMemoryView Id
)

Construct an ID from a view of 12 bytes.

Public function

FValueId

(
    const FCbObjectId& Id
)

Construct an ID from a Compact Binary Object ID.

Functions

Name Description

Public function Static

FValueId

 

FromHash

(
    const FIoHash& Hash
)

Construct an ID from a non-zero hash.

Public function Static

FValueId

 

FromName

(
    FUtf8StringView Name
)

Construct an ID from a non-empty name.

Public function Static

FValueId

 

FromName

(
    FWideStringView Name
)

Construct an ID from a non-empty name.

Public function Const

const ByteAr...

 

GetBytes()

Returns a reference to the raw byte array for the ID.

Public function Const

FMemoryView

 

GetView()

Returns a view of the raw byte array for the ID.

Public function Const

bool

 

IsNull()

Whether this is null.

Public function Const

bool

 

IsValid()

Whether this is not null.

Public function

void

 

Reset()

Reset this to null.

Operators

Name Description

Public function Const

 

operator FCbObjectId()

Returns the ID as a Compact Binary Object ID.

Typedefs

Name

Description

ByteArray

Constants

Name

Description

Null

A null ID.