Navigation
Unreal Engine C++ API Reference > Developer > DerivedDataCache
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 64 code units.
Variables
Type | Name | Description |
---|---|---|
const ANSICHAR ... | Name | Name stored as a null-terminated string preceded by one byte containing its length. |
Constructors
Type | Name | Description |
---|---|---|
FCacheBucket () | Construct a null cache bucket. | |
FCacheBucket ( FUtf8StringView Name ) | Create a cache bucket from a name. | |
FCacheBucket ( FWideStringView Name ) | Construct a null cache bucket. | |
FCacheBucket ( FUtf8StringView Name, FStringView DisplayName ) | Create a cache bucket from a name and a display name. | |
FCacheBucket ( FWideStringView Name, FStringView DisplayName ) |
Functions
Type | Name | Description |
---|---|---|
bool | IsNull () | Whether this is null. |
bool | IsValid () | Whether this is not null. |
bool | IsValidName ( TStringView< CharType > Name ) | Returns true if the name is a valid cache bucket name. |
void | Reset () | Reset this to null. |
const ANSICH... | ToCString () | Get the name of the cache bucket as a null-terminated string. |
void | ToDisplayName ( FStringBuilderBase& OutDisplayName ) | Append the display name if available or the bucket name if not. |
FAnsiStringV... | ToString () | Get the name of the cache bucket as a string. |
Operators
Type | Name | Description |
---|---|---|
bool | operator!= ( FCacheBucket Other ) | |
bool | operator< ( FCacheBucket Other ) | |
bool | operator== ( FCacheBucket Other ) |
Constants
Name | Description |
---|---|
LengthOffset | |
MaxNameLen | Maximum number of code units in a valid cache bucket name. |