Ark Server API (ASA) - Wiki
|
#include <FileManager.h>
Static Public Member Functions | |
static IFileManager & | Get () |
Protected Member Functions | |
IFileManager () | |
Definition at line 57 of file FileManager.h.
|
inlineprotected |
Construtor.
Definition at line 62 of file FileManager.h.
|
pure virtual |
Converts passed in filename to use an absolute path (for reading)
Filename | filename to convert to use an absolute path, safe to pass in already using absolute path |
Implemented in FFileManagerGeneric.
|
pure virtual |
Converts passed in filename to use an absolute path (for writing)
Filename | filename to convert to use an absolute path, safe to pass in already using absolute path |
Implemented in FFileManagerGeneric.
Converts passed in filename to use a relative path.
Filename | filename to convert to use a relative path |
Implemented in FFileManagerGeneric.
|
pure virtual |
Copies a file.
Implemented in FFileManagerGeneric.
|
pure virtual |
Opens a file for reading and create an FArchive which can be used to read from it.
Filename | Path to the file to open |
ReadFlags | An optional bitfield of optional flags. For flag values see @See EFileRead |
Implemented in FFileManagerGeneric.
|
pure virtual |
Opens a file for writing and create an FArchive which can be used to write to it.
Filename | Path to the desired location of the file |
WriteFlags | An optional bitfield of optional flags. For flag values see @See EFileWrite |
Implemented in FFileManagerGeneric.
|
pure virtual |
Deletes a file.
Implemented in FFileManagerGeneric.
|
pure virtual |
Deletes a directory.
Implemented in FFileManagerGeneric.
Checks if a directory exists.
Implemented in FFileManagerGeneric.
Checks if a file exists
Implemented in FFileManagerGeneric.
Returns the size of a file. (Thread-safe)
Filename | Platform-independent Unreal filename. |
Implemented in FFileManagerGeneric.
|
pure virtual |
Finds file or directories.
Implemented in FFileManagerGeneric.
|
pure virtual |
Finds all the files within the given directory, with optional file extension filter.
[out] | FoundFiles | All the files that matched the optional FileExtension filter, or all files if none was specified. |
[in] | Directory | The absolute path to the directory to search. Ex: "C:\UE4\Pictures" |
[in] | FileExtension | If FileExtension is NULL, or an empty string "" then all files are found. Otherwise FileExtension can be of the form .EXT or just EXT and only files with that extension will be returned. |
Implemented in FFileManagerGeneric.
|
pure virtual |
Finds file or directories recursively.
Implemented in FFileManagerGeneric.
|
static |
Singleton access, platform specific, also calls PreInit()
Implemented in FFileManagerGeneric.
Gets the age of a file measured in seconds.
Implemented in FFileManagerGeneric.
For case insensitive filesystems, returns the full path of the file with the same case as in the filesystem.
Filename | Filename to query |
Implemented in FFileManagerGeneric.
|
pure virtual |
Return the stat data for the given file or directory. Check the FFileStatData::bIsValid member before using the returned data
Implemented in FFileManagerGeneric.
Implemented in FFileManagerGeneric.
|
pure virtual |
[in] | PathA | The first given file |
[in] | PathB | The second given file |
[out] | OutTimeStampA | the modification time of the first given file (or FDateTime::MinValue() on failure) |
[out] | OutTimeStampB | the modification time of the second given file (or FDateTime::MinValue() on failure) |
Implemented in FFileManagerGeneric.
Checks if a file is read-only.
Implemented in FFileManagerGeneric.
Returns whether the sandbox is enabled or not
Implemented in FFileManagerGeneric.
|
pure virtual |
Call the Visit function of the visitor once for each file or directory in a single directory. This function does not explore subdirectories.
Directory | The directory to iterate the contents of. |
Visitor | Visitor to call for each element of the directory |
Implemented in FFileManagerGeneric.
|
pure virtual |
Call the visitor once for each file or directory in a single directory. This function does not explore subdirectories.
Directory | The directory to iterate the contents of. |
Visitor | Visitor to call for each element of the directory (see FDirectoryVisitor::Visit for the signature) |
Implemented in FFileManagerGeneric.
|
pure virtual |
Call the Visit function of the visitor once for each file or directory in a directory tree. This function explores subdirectories.
Directory | The directory to iterate the contents of, recursively. |
Visitor | Visitor to call for each element of the directory and each element of all subdirectories. |
Implemented in FFileManagerGeneric.
|
pure virtual |
Call the Visit function of the visitor once for each file or directory in a directory tree. This function explores subdirectories.
Directory | The directory to iterate the contents of, recursively. |
Visitor | Visitor to call for each element of the directory and each element of all subdirectories (see FDirectoryVisitor::Visit for the signature). |
Implemented in FFileManagerGeneric.
|
pure virtual |
Call the Visit function of the visitor once for each file or directory in a single directory. This function does not explore subdirectories.
Directory | The directory to iterate the contents of. |
Visitor | Visitor to call for each element of the directory |
Implemented in FFileManagerGeneric.
|
pure virtual |
Call the visitor once for each file or directory in a single directory. This function does not explore subdirectories.
Directory | The directory to iterate the contents of. |
Visitor | Visitor to call for each element of the directory (see FDirectoryStatVisitor::Visit for the signature) |
Implemented in FFileManagerGeneric.
|
pure virtual |
Call the Visit function of the visitor once for each file or directory in a directory tree. This function explores subdirectories.
Directory | The directory to iterate the contents of, recursively. |
Visitor | Visitor to call for each element of the directory and each element of all subdirectories. |
Implemented in FFileManagerGeneric.
|
pure virtual |
Call the Visit function of the visitor once for each file or directory in a directory tree. This function explores subdirectories.
Directory | The directory to iterate the contents of, recursively. |
Visitor | Visitor to call for each element of the directory and each element of all subdirectories (see FDirectoryStatVisitor::Visit for the signature). |
Implemented in FFileManagerGeneric.
Creates a directory.
Implemented in FFileManagerGeneric.
|
pure virtual |
Moves/renames a file.
Implemented in FFileManagerGeneric.
Allow the file manager to handle the commandline
Implemented in FFileManagerGeneric.
|
pure virtual |
Sends a message to the file server, and will block until it's complete. Will return immediately if the file manager doesn't support talking to a server.
Message | The string message to send to the server |
Implemented in FFileManagerGeneric.
Enables/disables the sandbox, if it is being used
Implemented in FFileManagerGeneric.
Sets the modification time of the given file
Implemented in FFileManagerGeneric.