Navigation
API > API/Developer > API/Developer/Horde
Implementation of FStorageClient which stores data in memory.
| Name | FMemoryStorageClient |
| Type | class |
| Header File | /Engine/Source/Developer/Horde/Public/Storage/Clients/MemoryStorageClient.h |
| Include Path | #include "Storage/Clients/MemoryStorageClient.h" |
Syntax
class FMemoryStorageClient : public FKeyValueStorageClient
Inheritance Hierarchy
- TSharedFromThis< FStorageClient, ESPMode::ThreadSafe > → FStorageClient → FKeyValueStorageClient → FMemoryStorageClient
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMemoryStorageClient() |
Storage/Clients/MemoryStorageClient.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FMemoryStorageClient() |
Storage/Clients/MemoryStorageClient.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Aliases | TMap< FUtf8String, TArray< FBlobAlias > > | Storage/Clients/MemoryStorageClient.h | ||
| Blobs | TMap< FBlobLocator, FBlob > | Storage/Clients/MemoryStorageClient.h | ||
| CriticalSection | FCriticalSection | Storage/Clients/MemoryStorageClient.h | ||
| Refs | TMap< FRefName, FBlobLocator > | Storage/Clients/MemoryStorageClient.h |
Functions
Public
Overridden from FStorageClient
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddAlias
(
const char* Name, |
Aliases Adds an alias to a given blob. | Storage/Clients/MemoryStorageClient.h | |
virtual bool DeleteRef
(
const FRefName& Name |
Refs Deletes a ref. | Storage/Clients/MemoryStorageClient.h | |
virtual void FindAliases
(
const char* Name, |
Finds blobs with the given alias. Unlike refs, aliases do not serve as GC roots. | Storage/Clients/MemoryStorageClient.h | |
virtual FBlobHandle ReadRef
(
const FRefName& Name, |
Reads data for a ref from the store. | Storage/Clients/MemoryStorageClient.h | |
virtual void RemoveAlias
(
const char* Name, |
Removes an alias from a blob. | Storage/Clients/MemoryStorageClient.h | |
virtual void WriteRef
(
const FRefName& Name, |
Storage/Clients/MemoryStorageClient.h |
Protected
Overridden from FKeyValueStorageClient
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FBlob ReadBlob
(
const FBlobLocator& Locator |
Read a single blob from the underlying store. | Storage/Clients/MemoryStorageClient.h | |
virtual FBlobHandle WriteBlob
(
const FUtf8StringView& BasePath, |
Write a single blob to the underlying store. | Storage/Clients/MemoryStorageClient.h |