Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TLruCache
An entry in the LRU cache.
| Name | FCacheEntry |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/LruCache.h |
| Include Path | #include "Containers/LruCache.h" |
Syntax
struct FCacheEntry
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCacheEntry
(
const KeyType& InKey |
Create a new instance with a default key value. | Containers/LruCache.h | |
FCacheEntry
(
const KeyType& InKey, |
Create and initialize a new instance. | Containers/LruCache.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Key | KeyType | The entry's lookup key. | Containers/LruCache.h | |
| LessRecent | FCacheEntry * | The less recent entry in the linked list. | Containers/LruCache.h | |
| MoreRecent | FCacheEntry * | The more recent entry in the linked list. | Containers/LruCache.h | |
| Value | ValueType | The entry's value. | Containers/LruCache.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void LinkBefore
(
FCacheEntry* Other |
Add this entry before the given one. | Containers/LruCache.h | |
void Unlink() |
Remove this entry from the list. | Containers/LruCache.h |