Navigation
API > API/Runtime > API/Runtime/StreamingFile
Inheritance Hierarchy
- IPlatformFile
- FSelfRegisteringExec
- FNetworkPlatformFile
- FStreamingNetworkPlatformFile
References
| Module | StreamingFile |
| Header | /Engine/Source/Runtime/StreamingFile/Public/StreamingNetworkPlatformFile.h |
| Include | #include "StreamingNetworkPlatformFile.h" |
Syntax
class FStreamingNetworkPlatformFile : public FNetworkPlatformFile
Remarks
Wrapper to redirect the low level file system to a server
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default Constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Virtual destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const TCHAR * | GetTypeName () |
||
| bool | SendCloseMessage
(
uint64 HandleId |
Sends Close message to the server. | |
| FStreamingNetworkFileHandle * | SendOpenMessage
(
const FString& Filename, |
Sends Open message to the server and creates a new file handle if successful. | |
| bool | SendReadMessage
(
uint64 HandleId, |
Sends Read message to the server. | |
| bool | SendReadMessage
(
uint64 HandleId, |
||
| bool | SendSeekMessage
(
uint64 HandleId, |
Sends Seek message to the server. | |
| bool | SendWriteMessage
(
uint64 HandleId, |
Sends Write message to the server. |
Overridden from FNetworkPlatformFile
| Type | Name | Description | |
|---|---|---|---|
| bool | IterateDirectory
(
const TCHAR* Directory, |
||
| bool | IterateDirectoryRecursively
(
const TCHAR* Directory, |
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. | |
| FDateTime | GetAccessTimeStamp
(
const TCHAR* Filename |
Return the last access time of a file. | |
| IPlatformFile * | Gets the platform file wrapped by this file. | ||
| const TCHAR * | GetName () |
Gets this platform file type name. | |
| FDateTime | GetTimeStamp
(
const TCHAR* Filename |
Return the modification time of a file. | |
| void | Need to override what FNetworkPlatformFile does here | ||
| bool | IsReadOnly
(
const TCHAR* Filename |
Return true if the file is read only. | |
| bool | Attempt to move a file. Return true if successful. Will not overwrite existing files. | ||
| IFileHandle * | Attempt to open a file for reading. | ||
| IFileHandle * | Attempt to open a file for writing. | ||
| 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 | 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. |