Navigation
API > API/Developer > API/Developer/Horde
Implementation of FStorageClient which writes data to files on disk.
| Name | FFileStorageClient |
| Type | class |
| Header File | /Engine/Source/Developer/Horde/Public/Storage/Clients/FileStorageClient.h |
| Include Path | #include "Storage/Clients/FileStorageClient.h" |
Syntax
class FFileStorageClient : public FKeyValueStorageClient
Inheritance Hierarchy
- TSharedFromThis< FStorageClient, ESPMode::ThreadSafe > → FStorageClient → FKeyValueStorageClient → FFileStorageClient
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFileStorageClient
(
std::filesystem::path InRootDir |
Storage/Clients/FileStorageClient.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FFileStorageClient() |
Storage/Clients/FileStorageClient.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| RootDir | std::filesystem::path | Storage/Clients/FileStorageClient.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
std::filesystem::path GetBlobFile
(
const FBlobLocator& Locator |
Storage/Clients/FileStorageClient.h | ||
std::filesystem::path GetRefFile
(
const FRefName& Name |
Storage/Clients/FileStorageClient.h |
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/FileStorageClient.h | |
virtual bool DeleteRef
(
const FRefName& Name |
Refs Deletes a ref. | Storage/Clients/FileStorageClient.h | |
virtual void FindAliases
(
const char* Name, |
Finds blobs with the given alias. Unlike refs, aliases do not serve as GC roots. | Storage/Clients/FileStorageClient.h | |
virtual FBlobHandle ReadRef
(
const FRefName& Name, |
Reads data for a ref from the store. | Storage/Clients/FileStorageClient.h | |
virtual void RemoveAlias
(
const char* Name, |
Removes an alias from a blob. | Storage/Clients/FileStorageClient.h | |
virtual void WriteRef
(
const FRefName& Name, |
Storage/Clients/FileStorageClient.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/FileStorageClient.h | |
virtual FBlobHandle WriteBlob
(
const FUtf8StringView& BasePath, |
Write a single blob to the underlying store. | Storage/Clients/FileStorageClient.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FBlobLocator ReadRefFromFile
(
const std::filesystem::path& File |
Storage/Clients/FileStorageClient.h | ||
static void WriteRefToFile
(
const std::filesystem::path& File, |
Storage/Clients/FileStorageClient.h |