Navigation
API > API/Plugins > API/Plugins/ConcertSyncCore
References
| Module | ConcertSyncCore |
| Header | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Public/ConcertFileCache.h |
| Include | #include "ConcertFileCache.h" |
Syntax
class FConcertFileCache
Remarks
Maintains an in-memory cache of file data, attempting to keep the cache within the given upper memory threshold.
Will automatically re-cache files if they are changed on disk (via a timestamp change), and un-cache files that are deleted from disk.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FConcertFileCache
(
const FConcertFileCache& |
Non-copyable. | ||
FConcertFileCache
(
const int32 InMinimumNumberOfFilesToCache, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Cache the given file (if valid). | ||
| bool | Find the given file, and get its data. | ||
| bool | FindOrCacheFile
(
const FString& InFilename, |
Find or cache the given file, and get its data. | |
| bool | HasCachedFile
(
const FString& InFilename |
Is the given file cached? | |
| bool | SaveAndCacheFile
(
const FString& InFilename, |
Save the given file and add it to the cache. | |
| void | UncacheFile
(
const FString& InFilename |
Uncache the given file. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FConcertFileCache & | operator=
(
const FConcertFileCache& |