Navigation
Unreal Engine C++ API Reference > Runtime > SandboxFile
Inheritance Hierarchy
- IPlatformFile
- FSandboxPlatformFile
References
Module | SandboxFile |
Header | /Engine/Source/Runtime/SandboxFile/Public/IPlatformFileSandboxWrapper.h |
Include | #include "IPlatformFileSandboxWrapper.h" |
Syntax
class FSandboxPlatformFile : public IPlatformFile
Remarks
Wrapper to log the low level file system
Constructors
No constructors are accessible with public or protected access.
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddExclusion
(
const TCHAR* Wildcard, |
Add exclusion. |
![]() ![]() |
FString | ConvertFromSandboxPath
(
const TCHAR* Filename |
|
![]() ![]() |
FString | ConvertToSandboxPath
(
const TCHAR* Filename |
Converts passed in filename to use a sandbox path. |
![]() ![]() |
TUniquePtr< FSandboxPlatformFile > | Create
(
bool bInEntireEngineWillUseThisSandbox |
|
![]() |
const FString & | Returns absolute game directory | |
![]() |
const FString & | Returns absolute path to game directory (without the game directory itself) | |
![]() ![]() |
const FString & | Returns absolute root directory | |
![]() |
const FString & | Returns the name of the sandbox directory for the game's content | |
![]() ![]() |
const FString & | Returns sandbox directory | |
![]() |
void | RemoveExclusion
(
const TCHAR* Wildcard, |
|
![]() |
void | SetSandboxOnly
(
bool bInSandboxOnly |
Whether access is restricted the the sandbox or not. |
Overridden from IPlatformFile
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FString | ConvertToAbsolutePathForExternalAppForRead
(
const TCHAR* Filename |
Converts passed in filename to use an absolute path (for reading). |
![]() ![]() |
FString | ConvertToAbsolutePathForExternalAppForWrite
(
const TCHAR* Filename |
Converts passed in filename to use an absolute path (for writing) |
![]() ![]() |
bool | CopyFile
(
const TCHAR* To, |
Copy a file. This will fail if the destination file already exists. |
![]() ![]() |
bool | CreateDirectory
(
const TCHAR* Directory |
Create a directory and return true if the directory was created or already existed. |
![]() ![]() |
bool | CreateDirectoryTree
(
const TCHAR* Directory |
Create a directory, including any parent directories and return true if the directory was created or already existed. |
![]() ![]() |
bool | DeleteDirectory
(
const TCHAR* Directory |
Delete a directory and return true if the directory was deleted or otherwise does not exist. |
![]() ![]() |
bool | DeleteDirectoryRecursively
(
const TCHAR* Directory |
Delete all files and subdirectories in a directory, then delete the directory itself |
![]() ![]() |
bool | DeleteFile
(
const TCHAR* Filename |
Delete a file and return true if the file exists. Will not delete read only files. |
![]() ![]() |
bool |
DirectoryExists
(
const TCHAR* Directory |
Return true if the directory exists. |
![]() ![]() |
bool | FileExists
(
const TCHAR* Filename |
Return true if the file exists. |
![]() ![]() |
int64 | FileSize
(
const TCHAR* Filename |
Return the size of the file, or -1 if it doesn't exist. |
![]() ![]() |
FDateTime | GetAccessTimeStamp
(
const TCHAR* Filename |
Return the last access time of a file. |
![]() ![]() |
FString | GetFilenameOnDisk
(
const TCHAR* Filename |
For case insensitive filesystems, returns the full path of the file with the same case as in the filesystem |
![]() ![]() |
IPlatformFile * | Gets the platform file wrapped by this file. | |
![]() ![]() ![]() |
const TCHAR * | GetName () |
Gets this platform file type name. |
![]() ![]() |
FFileStatData | GetStatData
(
const TCHAR* FilenameOrDirectory |
Return the stat data for the given file or directory. |
![]() ![]() |
FDateTime | GetTimeStamp
(
const TCHAR* Filename |
Return the modification time of a file. |
![]() ![]() |
bool | Initialize
(
IPlatformFile* Inner, |
Initializes platform file. |
![]() ![]() |
bool | IsReadOnly
(
const TCHAR* Filename |
Return true if the file is read only. |
![]() ![]() ![]() |
bool | Returns whether the sandbox is enabled or not | |
![]() ![]() |
bool | IterateDirectory
(
const TCHAR* Directory, |
Call the Visit function of the visitor once for each file or directory in a single directory. |
![]() ![]() |
bool | IterateDirectoryRecursively
(
const TCHAR* Directory, |
Call the Visit function of the visitor once for each file or directory in a directory tree. |
![]() ![]() |
bool | IterateDirectoryStat
(
const TCHAR* Directory, |
Call the Visit function of the visitor once for each file or directory in a single directory. |
![]() ![]() |
bool | IterateDirectoryStatRecursively
(
const TCHAR* Directory, |
Call the Visit function of the visitor once for each file or directory in a directory tree. |
![]() ![]() |
bool | MoveFile
(
const TCHAR* To, |
Attempt to move a file. Return true if successful. Will not overwrite existing files. |
![]() ![]() |
IAsyncReadFileHandle * | OpenAsyncRead
(
const TCHAR* Filename |
Open a file for async reading. This call does not hit the disk or block. |
![]() ![]() |
IMappedFileHandle * | OpenMapped
(
const TCHAR* Filename |
Open a file for async reading. This call does hit the disk; it is synchronous open. |
![]() ![]() |
IFileHandle * | OpenRead
(
const TCHAR* Filename, |
Attempt to open a file for reading. |
![]() ![]() |
IFileHandle * | OpenWrite
(
const TCHAR* Filename, |
Attempt to open a file for writing. |
![]() ![]() |
void | SetAsyncMinimumPriority
(
EAsyncIOPriorityAndFlags MinPriority |
Controls if the pak precacher should process precache requests. |
![]() ![]() |
void | SetLowerLevel
(
IPlatformFile* NewLowerLevel |
Sets the platform file wrapped by this file. |
![]() ![]() |
bool | SetReadOnly
(
const TCHAR* Filename, |
Attempt to change the read only status of a file. Return true if successful. |
![]() ![]() |
void | SetSandboxEnabled
(
bool bInEnabled |
Set whether the sandbox is enabled or not |
![]() ![]() |
void | SetTimeStamp
(
const TCHAR* Filename, |
Sets the modification time of a file |
![]() ![]() ![]() |
bool | ShouldBeUsed
(
IPlatformFile* Inner, |
Checks if this platform file should be used even though it was not asked to be. |