#include <IPlatformFileManagedStorageWrapper.h>
|
| FPersistentStorageManager () |
|
void | Initialize () |
|
FPersistentManagedFile | TryManageFile (const FString &Filename) |
|
FPersistentManagedFile | TryManageFile (FString &&Filename) |
|
EPersistentStorageManagerFileSizeFlags | AddOrUpdateFile (const FPersistentManagedFile &File, const int64 FileSize, EPersistentStorageManagerFileSizeFlags Flags=EPersistentStorageManagerFileSizeFlags::None) |
|
bool | RemoveFileFromManager (FPersistentManagedFile &File) |
|
int64 | GetTotalUsedSize () const |
|
bool | GetPersistentStorageUsage (FString Path, int64 &UsedSpace, int64 &RemainingSpace, int64 &Quota, int64 *OptionalQuota=nullptr) |
|
bool | GetPersistentStorageUsageByCategory (const FString &InCategory, int64 &UsedSpace, int64 &RemainingSpace, int64 &Quota, int64 *OptionalQuota=nullptr) |
|
bool | GetPersistentStorageSize (int64 &UsedSpace, int64 &RequiredSpace, int64 &OptionalSpace) const |
| Returns any additional required free space and optional free space.
|
|
bool | IsInitialized () const |
|
bool | IsCategoryForFileFull (const FPersistentManagedFile &File) const |
|
TMap< FString, FPersistentStorageCategory::CategoryStat > | GenerateCategoryStats () const |
|
TOptional< FPersistentStorageCategory::CategoryStat > | GetCategoryStat (const FString &InCategory) const |
|
TArrayView< const FString > | GetRootDirectories () const |
|
◆ FPersistentStorageManager()
FPersistentStorageManager::FPersistentStorageManager |
( |
| ) |
|
◆ AddOrUpdateFile()
◆ GenerateCategoryStats()
◆ Get()
◆ GetCategoryStat()
◆ GetPersistentStorageSize()
bool FPersistentStorageManager::GetPersistentStorageSize |
( |
int64 & | UsedSpace, |
|
|
int64 & | RequiredSpace, |
|
|
int64 & | OptionalSpace ) const |
|
inline |
Returns any additional required free space and optional free space.
- Parameters
-
RequiredSpace | Required persistent storage space to run |
OptionalSpace | persistent storage categories marked as optional |
- Returns
Definition at line 559 of file IPlatformFileManagedStorageWrapper.h.
◆ GetPersistentStorageUsage()
- Parameters
-
Path | path to check for free space |
UsedSpace | amount of used space |
RemainingSpace | amount of remaining free space |
Quota | total storage allocated to the related category |
OptionalQuota | subset of the storage which is optional i.e. will always be smaller then total Quota |
- Returns
- returns if function succeeds
Definition at line 515 of file IPlatformFileManagedStorageWrapper.h.
◆ GetPersistentStorageUsageByCategory()
◆ GetRootDirectories()
◆ GetTotalUsedSize()
int64 FPersistentStorageManager::GetTotalUsedSize |
( |
| ) |
const |
|
inline |
◆ InitCategories()
◆ Initialize()
void FPersistentStorageManager::Initialize |
( |
| ) |
|
|
inline |
◆ IsCategoryForFileFull()
◆ IsInitialized()
bool FPersistentStorageManager::IsInitialized |
( |
| ) |
const |
|
inline |
◆ IsReady()
static bool FPersistentStorageManager::IsReady |
( |
| ) |
|
|
inlinestatic |
◆ RemoveFileFromManager()
◆ TryManageFile() [1/2]
◆ TryManageFile() [2/2]
◆ TryManageFileInternal()
◆ FManagedStorageScopeFileLock
◆ bInitialized
bool FPersistentStorageManager::bInitialized |
|
private |
◆ Categories
◆ RootDirectories
The documentation for this class was generated from the following file: