Navigation
API > API/Developer > API/Developer/DerivedDataCache
An alphanumeric identifier that groups related cache records.
A cache bucket name must be alphanumeric, non-empty, and contain fewer than 64 code units.
| Name | FCacheBucket |
| Type | class |
| Header File | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataCacheKey.h |
| Include Path | #include "DerivedDataCacheKey.h" |
Syntax
class FCacheBucket
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCacheBucket () |
Construct a null cache bucket. | DerivedDataCacheKey.h | |
FCacheBucket
(
FUtf8StringView Name |
Create a cache bucket from a name. | DerivedDataCacheKey.h | |
FCacheBucket
(
FWideStringView Name |
DerivedDataCacheKey.h | ||
FCacheBucket
(
FUtf8StringView Name, |
Create a cache bucket from a name and a display name. | DerivedDataCacheKey.h | |
FCacheBucket
(
FWideStringView Name, |
DerivedDataCacheKey.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| LengthOffset | int32 | DerivedDataCacheKey.h | |
| MaxNameLen | int32 | Maximum number of code units in a valid cache bucket name. | DerivedDataCacheKey.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsNull() |
Whether this is null. | DerivedDataCacheKey.h | |
bool IsValid() |
Whether this is not null. | DerivedDataCacheKey.h | |
void Reset() |
Reset this to null. | DerivedDataCacheKey.h | |
const ANSICHAR * ToCString() |
Get the name of the cache bucket as a null-terminated string. | DerivedDataCacheKey.h | |
void ToDisplayName
(
FStringBuilderBase& OutDisplayName |
Append the display name if available or the bucket name if not. | DerivedDataCacheKey.h | |
FAnsiStringView ToString() |
Get the name of the cache bucket as a string. | DerivedDataCacheKey.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool IsValidName
(
TStringView< CharType > Name |
Returns true if the name is a valid cache bucket name. | DerivedDataCacheKey.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
FCacheBucket Other |
DerivedDataCacheKey.h | ||
bool operator==
(
FCacheBucket Other |
DerivedDataCacheKey.h |