FValueWithId

A value with an ID.

Unreal Engine C++ API Reference > Developer > DerivedDataCache

Inheritance Hierarchy

References

   
Module DerivedDataCache
Header /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataValue.h
Include #include "DerivedDataValue.h"

Syntax

class FValueWithId : public [UE::DerivedData::FValue](API\Developer\DerivedDataCache\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

Type Name Description
  FValueWithId () Construct a null value.
  FValueWithId ( const FValueId& Id, ArgTypes&&... Args ) Construct a value with a non-null ID and forward the other args to FValue().

Functions

Type Name Description
const FValue... GetId () Returns the ID for the value.
bool IsNull () Whether this is null.
bool IsValid () Whether this is not null.
FValueWithId RemoveData () Create a copy of the value with the data removed.
void Reset () Reset this to null.

Operators

Type Name Description
  operator bool () Whether this is not null.

Constants

Name Description
Null A null value with a null ID.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library