#include <IPlatformFileManagedStorageWrapper.h>
|
| | FPersistentStorageManager () |
| |
| void | Initialize () |
| |
| FPersistentManagedFile | TryManageFile (const FString &Filename) |
| |
| FPersistentManagedFile | TryManageFile (FString &&Filename) |
| |
| bool | TryManageFile (FPersistentManagedFile &InOutFile) |
| |
| 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
◆ GetPersistentStorageUsage()
| bool FPersistentStorageManager::GetPersistentStorageUsage |
( |
FString |
Path, |
|
|
int64 & |
UsedSpace, |
|
|
int64 & |
RemainingSpace, |
|
|
int64 & |
Quota, |
|
|
int64 * |
OptionalQuota = nullptr |
|
) |
| |
|
inline |
- 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
◆ GetPersistentStorageUsageByCategory()
| bool FPersistentStorageManager::GetPersistentStorageUsageByCategory |
( |
const FString & |
InCategory, |
|
|
int64 & |
UsedSpace, |
|
|
int64 & |
RemainingSpace, |
|
|
int64 & |
Quota, |
|
|
int64 * |
OptionalQuota = nullptr |
|
) |
| |
|
inline |
◆ GetRootDirectories()
| TArrayView< const FString > FPersistentStorageManager::GetRootDirectories |
( |
| ) |
const |
|
inline |
◆ GetTotalUsedSize()
| int64 FPersistentStorageManager::GetTotalUsedSize |
( |
| ) |
const |
|
inline |
◆ Initialize()
| void FPersistentStorageManager::Initialize |
( |
| ) |
|
|
inline |
◆ IsCategoryForFileFull()
◆ IsInitialized()
| bool FPersistentStorageManager::IsInitialized |
( |
| ) |
const |
|
inline |
◆ IsReady()
| static bool FPersistentStorageManager::IsReady |
( |
| ) |
|
|
inlinestatic |
◆ RemoveFileFromManager()
◆ TryManageFile() [1/3]
◆ TryManageFile() [2/3]
◆ TryManageFile() [3/3]
◆ FManagedStorageScopeFileLock
The documentation for this class was generated from the following files: