FCacheBucket

An alphanumeric identifier that groups related cache records.

Windows
MacOS
Linux

References

Module

DerivedDataCache

Header

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

Include

#include "DerivedDataCacheKey.h"

Syntax

class FCacheBucket

Remarks

An alphanumeric identifier that groups related cache records.

A cache bucket name must be alphanumeric, non-empty, and contain fewer than 256 code units.

Variables

Name Description

Protected variable

const ANSICHAR ...

 

Name

Name stored as a null-terminated string preceded by one byte containing its length.

Constructors

Name Description

Public function

FCacheBucket()

Construct a null cache bucket.

Public function

FCacheBucket

(
    FUtf8StringView Name
)

Create a cache bucket from a name.

Public function

FCacheBucket

(
    FWideStringView Name
)

Construct a null cache bucket.

Functions

Name Description

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.

Public function Const

const ANSICH...

 

ToCString()

Get the name of the cache bucket as a null-terminated string.

Public function Const

FAnsiStringV...

 

ToString()

Get the name of the cache bucket as a string.

Operators

Name Description

Public function Const

bool

 

operator!=

(
    FCacheBucket Other
)

Public function Const

bool

 

operator<

(
    FCacheBucket Other
)

Public function Const

bool

 

operator==

(
    FCacheBucket Other
)

Constants

Name

Description

LengthOffset