FValueWithId

A value with an ID.

Windows
MacOS
Linux

Inheritance Hierarchy

FValue

FValueWithId

References

Module

DerivedDataCache

Header

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

Include

#include "DerivedDataValue.h"

Syntax

class FValueWithId : public UE::DerivedData::FValue

Remarks

A value with an ID. Null if both ID and value are null.

May have a null value with a non-null ID. A non-null value must have a non-null ID.

Constructors

Name Description

Public function

FValueWithId()

Construct a null value.

Public function

FValueWithId

(
    const FValueId& Id,
    ArgTypes&&... Args
)

Construct a value with a non-null ID and forward the other args to FValue().

Functions

Name Description

Public function Const

const FValue...

 

GetId()

Returns the ID for the value.

Public function Const

bool

 

IsNull()

Whether this is null.

Public function Const

bool

 

IsValid()

Whether this is not null.

Public function Const

FValueWithId

 

RemoveData()

Create a copy of the value with the data removed.

Public function

void

 

Reset()

Reset this to null.

Operators

Name Description

Public function Const

 

operator bool()

Whether this is not null.

Constants

Name

Description

Null

A null value with a null ID.