Ark Server API (ASA) - Wiki
|
#include <IPlatformFileOpenLogWrapper.h>
Static Public Member Functions | |
static const TCHAR * | GetTypeName () |
Static Public Member Functions inherited from IPlatformFile | |
static IPlatformFile & | GetPlatformPhysical () |
static const TCHAR * | GetPhysicalTypeName () |
Protected Attributes | |
IPlatformFile * | LowerLevel |
FCriticalSection | CriticalSection |
int64 | OpenOrder |
TMap< FString, int64 > | FilenameAccessMap |
TArray< IFileHandle * > | LogOutput |
Additional Inherited Members | |
Public Types inherited from IPlatformFile | |
typedef TFunctionRef< bool(const TCHAR *, bool) | FDirectoryVisitorFunc) |
typedef TFunctionRef< bool(const TCHAR *, const FFileStatData &) | FDirectoryStatVisitorFunc) |
Definition at line 51 of file IPlatformFileOpenLogWrapper.h.
|
inline |
Definition at line 63 of file IPlatformFileOpenLogWrapper.h.
|
inlinevirtual |
Definition at line 69 of file IPlatformFileOpenLogWrapper.h.
Definition at line 318 of file IPlatformFileOpenLogWrapper.h.
Definition at line 303 of file IPlatformFileOpenLogWrapper.h.
|
inlineoverridevirtual |
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 |
Reimplemented from IPlatformFile.
Definition at line 281 of file IPlatformFileOpenLogWrapper.h.
|
inlineoverridevirtual |
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 |
Reimplemented from IPlatformFile.
Definition at line 285 of file IPlatformFileOpenLogWrapper.h.
|
inlineoverridevirtual |
Copy a file or a hierarchy of files (directory).
DestinationDirectory | Target path (either absolute or relative) to copy to - always a directory! (e.g. "/home/dest/"). |
Source | Source file (or directory) to copy (e.g. "/home/source/stuff"). |
bOverwriteAllExisting | Whether to overwrite everything that exists at target |
Reimplemented from IPlatformFile.
Definition at line 277 of file IPlatformFileOpenLogWrapper.h.
|
inlineoverridevirtual |
Copy a file. This will fail if the destination file already exists.
To | File to copy to. |
From | File to copy from. |
ReadFlags | Source file read options. |
WriteFlags | Destination file write options. |
Reimplemented from IPlatformFile.
Definition at line 269 of file IPlatformFileOpenLogWrapper.h.
Create a directory and return true if the directory was created or already existed.
Implements IPlatformFile.
Definition at line 237 of file IPlatformFileOpenLogWrapper.h.
|
inlineoverridevirtual |
Create a directory, including any parent directories and return true if the directory was created or already existed.
Reimplemented from IPlatformFile.
Definition at line 273 of file IPlatformFileOpenLogWrapper.h.
Delete a directory and return true if the directory was deleted or otherwise does not exist.
Implements IPlatformFile.
Definition at line 241 of file IPlatformFileOpenLogWrapper.h.
|
inlineoverridevirtual |
Delete all files and subdirectories in a directory, then delete the directory itself
Directory | The directory to delete. |
Reimplemented from IPlatformFile.
Definition at line 265 of file IPlatformFileOpenLogWrapper.h.
Delete a file and return true if the file exists. Will not delete read only files.
Implements IPlatformFile.
Definition at line 188 of file IPlatformFileOpenLogWrapper.h.
Return true if the directory exists.
Implements IPlatformFile.
Definition at line 233 of file IPlatformFileOpenLogWrapper.h.
Return true if the file exists.
Implements IPlatformFile.
Definition at line 180 of file IPlatformFileOpenLogWrapper.h.
Return the size of the file, or -1 if it doesn't exist.
Implements IPlatformFile.
Definition at line 184 of file IPlatformFileOpenLogWrapper.h.
|
inlineoverridevirtual |
Return the last access time of a file. Returns FDateTime::MinValue() on failure
Implements IPlatformFile.
Definition at line 212 of file IPlatformFileOpenLogWrapper.h.
|
inlineoverridevirtual |
For case insensitive filesystems, returns the full path of the file with the same case as in the filesystem
Implements IPlatformFile.
Definition at line 216 of file IPlatformFileOpenLogWrapper.h.
|
inlineoverridevirtual |
Gets the platform file wrapped by this file.
Implements IPlatformFile.
Definition at line 164 of file IPlatformFileOpenLogWrapper.h.
Gets this platform file type name.
Implements IPlatformFile.
Definition at line 176 of file IPlatformFileOpenLogWrapper.h.
|
inlineoverridevirtual |
Return the stat data for the given file or directory. Check the FFileStatData::bIsValid member before using the returned data
Implements IPlatformFile.
Definition at line 245 of file IPlatformFileOpenLogWrapper.h.
|
inlineoverridevirtual |
Return the modification time of a file. Returns FDateTime::MinValue() on failure
Implements IPlatformFile.
Definition at line 204 of file IPlatformFileOpenLogWrapper.h.
Definition at line 172 of file IPlatformFileOpenLogWrapper.h.
|
inlineoverridevirtual |
Initializes platform file.
Inner | Platform file to wrap by this file. |
CmdLine | Command line to parse. |
Implements IPlatformFile.
Definition at line 85 of file IPlatformFileOpenLogWrapper.h.
Return true if the file is read only.
Implements IPlatformFile.
Definition at line 192 of file IPlatformFileOpenLogWrapper.h.
|
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 |
Implements IPlatformFile.
|
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) |
Reimplemented from IPlatformFile.
|
inlineoverridevirtual |
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 |
Implements IPlatformFile.
Definition at line 249 of file IPlatformFileOpenLogWrapper.h.
|
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. |
Reimplemented from IPlatformFile.
|
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). |
Reimplemented from IPlatformFile.
|
inlineoverridevirtual |
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. |
Reimplemented from IPlatformFile.
Definition at line 253 of file IPlatformFileOpenLogWrapper.h.
|
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 |
Implements IPlatformFile.
|
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) |
Reimplemented from IPlatformFile.
|
inlineoverridevirtual |
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 |
Implements IPlatformFile.
Definition at line 257 of file IPlatformFileOpenLogWrapper.h.
|
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. |
Reimplemented from IPlatformFile.
|
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). |
Reimplemented from IPlatformFile.
|
inlineoverridevirtual |
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. |
Reimplemented from IPlatformFile.
Definition at line 261 of file IPlatformFileOpenLogWrapper.h.
|
inlineoverridevirtual |
Attempt to move a file. Return true if successful. Will not overwrite existing files.
Implements IPlatformFile.
Definition at line 196 of file IPlatformFileOpenLogWrapper.h.
|
inlineoverridevirtual |
Open a file for async reading. This call does not hit the disk or block.
Filename | file to be opened |
Reimplemented from IPlatformFile.
Definition at line 293 of file IPlatformFileOpenLogWrapper.h.
|
inlineoverridevirtual |
Open a file for async reading. This call does hit the disk; it is synchronous open.
Filename | file to be mapped. This doesn't actually map anything, just opens the file. |
Reimplemented from IPlatformFile.
Definition at line 298 of file IPlatformFileOpenLogWrapper.h.
|
inlineoverridevirtual |
Attempt to open a file for reading.
Filename | file to be opened |
bAllowWrite | (applies to certain platforms only) whether this file is allowed to be written to by other processes. This flag is needed to open files that are currently being written to as well. |
Implements IPlatformFile.
Definition at line 220 of file IPlatformFileOpenLogWrapper.h.
|
inlineoverridevirtual |
Attempt to open a file for writing. If successful will return a non-nullptr pointer. Close the file by delete'ing the handle.
Implements IPlatformFile.
Definition at line 229 of file IPlatformFileOpenLogWrapper.h.
|
inlineoverridevirtual |
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 |
Reimplemented from IPlatformFile.
Definition at line 289 of file IPlatformFileOpenLogWrapper.h.
|
inlineoverridevirtual |
Sets the platform file wrapped by this file.
Implements IPlatformFile.
Definition at line 168 of file IPlatformFileOpenLogWrapper.h.
|
inlineoverridevirtual |
Attempt to change the read only status of a file. Return true if successful.
Implements IPlatformFile.
Definition at line 200 of file IPlatformFileOpenLogWrapper.h.
|
inlineoverridevirtual |
Sets the modification time of a file
Implements IPlatformFile.
Definition at line 208 of file IPlatformFileOpenLogWrapper.h.
|
inlineoverridevirtual |
Checks if this platform file should be used even though it was not asked to be. i.e. pak files exist on disk so we should use a pak file
Reimplemented from IPlatformFile.
Definition at line 79 of file IPlatformFileOpenLogWrapper.h.
|
protected |
Definition at line 56 of file IPlatformFileOpenLogWrapper.h.
Definition at line 58 of file IPlatformFileOpenLogWrapper.h.
|
protected |
Definition at line 59 of file IPlatformFileOpenLogWrapper.h.
|
protected |
Definition at line 55 of file IPlatformFileOpenLogWrapper.h.
|
protected |
Definition at line 57 of file IPlatformFileOpenLogWrapper.h.