Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FPlatformFileOpenLog Class Reference

#include <IPlatformFileOpenLogWrapper.h>

+ Inheritance diagram for FPlatformFileOpenLog:
+ Collaboration diagram for FPlatformFileOpenLog:

Public Member Functions

 FPlatformFileOpenLog ()
 
virtual ~FPlatformFileOpenLog ()
 
virtual bool ShouldBeUsed (IPlatformFile *Inner, const TCHAR *CmdLine) const override
 
virtual bool Initialize (IPlatformFile *Inner, const TCHAR *CommandLineParam) override
 
virtual IPlatformFileGetLowerLevel () override
 
virtual void SetLowerLevel (IPlatformFile *NewLowerLevel) override
 
virtual const TCHAR * GetName () const override
 
virtual bool FileExists (const TCHAR *Filename) override
 
virtual int64 FileSize (const TCHAR *Filename) override
 
virtual bool DeleteFile (const TCHAR *Filename) override
 
virtual bool IsReadOnly (const TCHAR *Filename) override
 
virtual bool MoveFile (const TCHAR *To, const TCHAR *From) override
 
virtual bool SetReadOnly (const TCHAR *Filename, bool bNewReadOnlyValue) override
 
virtual FDateTime GetTimeStamp (const TCHAR *Filename) override
 
virtual void SetTimeStamp (const TCHAR *Filename, FDateTime DateTime) override
 
virtual FDateTime GetAccessTimeStamp (const TCHAR *Filename) override
 
virtual FString GetFilenameOnDisk (const TCHAR *Filename) override
 
virtual IFileHandleOpenRead (const TCHAR *Filename, bool bAllowWrite) override
 
virtual IFileHandleOpenWrite (const TCHAR *Filename, bool bAppend=false, bool bAllowRead=false) override
 
virtual bool DirectoryExists (const TCHAR *Directory) override
 
virtual bool CreateDirectory (const TCHAR *Directory) override
 
virtual bool DeleteDirectory (const TCHAR *Directory) override
 
virtual FFileStatData GetStatData (const TCHAR *FilenameOrDirectory) override
 
virtual bool IterateDirectory (const TCHAR *Directory, IPlatformFile::FDirectoryVisitor &Visitor) override
 
virtual bool IterateDirectoryRecursively (const TCHAR *Directory, IPlatformFile::FDirectoryVisitor &Visitor) override
 
virtual bool IterateDirectoryStat (const TCHAR *Directory, IPlatformFile::FDirectoryStatVisitor &Visitor) override
 
virtual bool IterateDirectoryStatRecursively (const TCHAR *Directory, IPlatformFile::FDirectoryStatVisitor &Visitor) override
 
virtual bool DeleteDirectoryRecursively (const TCHAR *Directory) override
 
virtual bool CopyFile (const TCHAR *To, const TCHAR *From, EPlatformFileRead ReadFlags=EPlatformFileRead::None, EPlatformFileWrite WriteFlags=EPlatformFileWrite::None) override
 
virtual bool CreateDirectoryTree (const TCHAR *Directory) override
 
virtual bool CopyDirectoryTree (const TCHAR *DestinationDirectory, const TCHAR *Source, bool bOverwriteAllExisting) override
 
virtual FString ConvertToAbsolutePathForExternalAppForRead (const TCHAR *Filename) override
 
virtual FString ConvertToAbsolutePathForExternalAppForWrite (const TCHAR *Filename) override
 
virtual bool SendMessageToServer (const TCHAR *Message, IFileServerMessageHandler *Handler) override
 
virtual IAsyncReadFileHandle * OpenAsyncRead (const TCHAR *Filename) override
 
virtual IMappedFileHandleOpenMapped (const TCHAR *Filename) override
 
void AddToOpenLog (const TCHAR *Filename)
 
void AddPackageToOpenLog (const TCHAR *Filename)
 
virtual bool IterateDirectory (const TCHAR *Directory, FDirectoryVisitor &Visitor)=0
 
virtual bool IterateDirectory (const TCHAR *Directory, FDirectoryVisitorFunc Visitor)
 
virtual bool IterateDirectoryRecursively (const TCHAR *Directory, FDirectoryVisitor &Visitor)
 
virtual bool IterateDirectoryRecursively (const TCHAR *Directory, FDirectoryVisitorFunc Visitor)
 
virtual bool IterateDirectoryStat (const TCHAR *Directory, FDirectoryStatVisitor &Visitor)=0
 
virtual bool IterateDirectoryStat (const TCHAR *Directory, FDirectoryStatVisitorFunc Visitor)
 
virtual bool IterateDirectoryStatRecursively (const TCHAR *Directory, FDirectoryStatVisitor &Visitor)
 
virtual bool IterateDirectoryStatRecursively (const TCHAR *Directory, FDirectoryStatVisitorFunc Visitor)
 
- Public Member Functions inherited from IPlatformFile
virtual ~IPlatformFile ()
 
virtual void SetSandboxEnabled (bool bInEnabled)
 
virtual bool IsSandboxEnabled () const
 
virtual void InitializeAfterSetActive ()
 
virtual void InitializeAfterProjectFilePath ()
 
virtual void MakeUniquePakFilesForTheseFiles (const TArray< TArray< FString > > &InFiles)
 
virtual void InitializeNewAsyncIO ()
 
virtual void AddLocalDirectories (TArray< FString > &LocalDirectories)
 
virtual void BypassSecurity (bool bInBypass)
 
virtual void Tick ()
 
virtual bool IsSymlink (const TCHAR *Filename)
 
virtual IFileHandleOpenReadNoBuffering (const TCHAR *Filename, bool bAllowWrite=false)
 
virtual void SetAsyncMinimumPriority (EAsyncIOPriorityAndFlags MinPriority)
 
virtual void GetTimeStampPair (const TCHAR *PathA, const TCHAR *PathB, FDateTime &OutTimeStampA, FDateTime &OutTimeStampB)
 
virtual FDateTime GetTimeStampLocal (const TCHAR *Filename)
 
virtual void FindFiles (TArray< FString > &FoundFiles, const TCHAR *Directory, const TCHAR *FileExtension)
 
virtual void FindFilesRecursively (TArray< FString > &FoundFiles, const TCHAR *Directory, const TCHAR *FileExtension)
 
virtual bool DoesCreatePublicFiles ()
 
virtual void SetCreatePublicFiles (bool bCreatePublicFiles)
 

Static Public Member Functions

static const TCHAR * GetTypeName ()
 
- Static Public Member Functions inherited from IPlatformFile
static IPlatformFileGetPlatformPhysical ()
 
static const TCHAR * GetPhysicalTypeName ()
 

Protected Attributes

IPlatformFileLowerLevel
 
FCriticalSection CriticalSection
 
int64 OpenOrder
 
TMap< FString, int64FilenameAccessMap
 
TArray< IFileHandle * > LogOutput
 

Additional Inherited Members

- Public Types inherited from IPlatformFile
typedef TFunctionRef< bool(const TCHAR *, boolFDirectoryVisitorFunc)
 
typedef TFunctionRef< bool(const TCHAR *, const FFileStatData &) FDirectoryStatVisitorFunc)
 

Detailed Description

Definition at line 51 of file IPlatformFileOpenLogWrapper.h.

Constructor & Destructor Documentation

◆ FPlatformFileOpenLog()

FPlatformFileOpenLog::FPlatformFileOpenLog ( )
inline

Definition at line 63 of file IPlatformFileOpenLogWrapper.h.

◆ ~FPlatformFileOpenLog()

virtual FPlatformFileOpenLog::~FPlatformFileOpenLog ( )
inlinevirtual

Definition at line 69 of file IPlatformFileOpenLogWrapper.h.

Member Function Documentation

◆ AddPackageToOpenLog()

void FPlatformFileOpenLog::AddPackageToOpenLog ( const TCHAR * Filename)
inline

Definition at line 318 of file IPlatformFileOpenLogWrapper.h.

◆ AddToOpenLog()

void FPlatformFileOpenLog::AddToOpenLog ( const TCHAR * Filename)
inline

Definition at line 303 of file IPlatformFileOpenLogWrapper.h.

◆ ConvertToAbsolutePathForExternalAppForRead()

virtual FString FPlatformFileOpenLog::ConvertToAbsolutePathForExternalAppForRead ( const TCHAR * Filename)
inlineoverridevirtual

Converts passed in filename to use an absolute path (for reading).

Parameters
Filenamefilename to convert to use an absolute path, safe to pass in already using absolute path
Returns
filename using absolute path

Reimplemented from IPlatformFile.

Definition at line 281 of file IPlatformFileOpenLogWrapper.h.

◆ ConvertToAbsolutePathForExternalAppForWrite()

virtual FString FPlatformFileOpenLog::ConvertToAbsolutePathForExternalAppForWrite ( const TCHAR * Filename)
inlineoverridevirtual

Converts passed in filename to use an absolute path (for writing)

Parameters
Filenamefilename to convert to use an absolute path, safe to pass in already using absolute path
Returns
filename using absolute path

Reimplemented from IPlatformFile.

Definition at line 285 of file IPlatformFileOpenLogWrapper.h.

◆ CopyDirectoryTree()

virtual bool FPlatformFileOpenLog::CopyDirectoryTree ( const TCHAR * DestinationDirectory,
const TCHAR * Source,
bool bOverwriteAllExisting )
inlineoverridevirtual

Copy a file or a hierarchy of files (directory).

Parameters
DestinationDirectoryTarget path (either absolute or relative) to copy to - always a directory! (e.g. "/home/dest/").
SourceSource file (or directory) to copy (e.g. "/home/source/stuff").
bOverwriteAllExistingWhether to overwrite everything that exists at target
Returns
true if operation completed successfully.

Reimplemented from IPlatformFile.

Definition at line 277 of file IPlatformFileOpenLogWrapper.h.

◆ CopyFile()

virtual bool FPlatformFileOpenLog::CopyFile ( const TCHAR * To,
const TCHAR * From,
EPlatformFileRead ReadFlags = EPlatformFileRead::None,
EPlatformFileWrite WriteFlags = EPlatformFileWrite::None )
inlineoverridevirtual

Copy a file. This will fail if the destination file already exists.

Parameters
ToFile to copy to.
FromFile to copy from.
ReadFlagsSource file read options.
WriteFlagsDestination file write options.
Returns
true if the file was copied sucessfully.

Reimplemented from IPlatformFile.

Definition at line 269 of file IPlatformFileOpenLogWrapper.h.

◆ CreateDirectory()

virtual bool FPlatformFileOpenLog::CreateDirectory ( const TCHAR * Directory)
inlineoverridevirtual

Create a directory and return true if the directory was created or already existed.

Implements IPlatformFile.

Definition at line 237 of file IPlatformFileOpenLogWrapper.h.

◆ CreateDirectoryTree()

virtual bool FPlatformFileOpenLog::CreateDirectoryTree ( const TCHAR * Directory)
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.

◆ DeleteDirectory()

virtual bool FPlatformFileOpenLog::DeleteDirectory ( const TCHAR * Directory)
inlineoverridevirtual

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.

◆ DeleteDirectoryRecursively()

virtual bool FPlatformFileOpenLog::DeleteDirectoryRecursively ( const TCHAR * Directory)
inlineoverridevirtual

Delete all files and subdirectories in a directory, then delete the directory itself

Parameters
DirectoryThe directory to delete.
Returns
true if the directory was deleted or did not exist.

Reimplemented from IPlatformFile.

Definition at line 265 of file IPlatformFileOpenLogWrapper.h.

◆ DeleteFile()

virtual bool FPlatformFileOpenLog::DeleteFile ( const TCHAR * Filename)
inlineoverridevirtual

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.

◆ DirectoryExists()

virtual bool FPlatformFileOpenLog::DirectoryExists ( const TCHAR * Directory)
inlineoverridevirtual

Return true if the directory exists.

Implements IPlatformFile.

Definition at line 233 of file IPlatformFileOpenLogWrapper.h.

◆ FileExists()

virtual bool FPlatformFileOpenLog::FileExists ( const TCHAR * Filename)
inlineoverridevirtual

Return true if the file exists.

Implements IPlatformFile.

Definition at line 180 of file IPlatformFileOpenLogWrapper.h.

◆ FileSize()

virtual int64 FPlatformFileOpenLog::FileSize ( const TCHAR * Filename)
inlineoverridevirtual

Return the size of the file, or -1 if it doesn't exist.

Implements IPlatformFile.

Definition at line 184 of file IPlatformFileOpenLogWrapper.h.

◆ GetAccessTimeStamp()

virtual FDateTime FPlatformFileOpenLog::GetAccessTimeStamp ( const TCHAR * Filename)
inlineoverridevirtual

Return the last access time of a file. Returns FDateTime::MinValue() on failure

Implements IPlatformFile.

Definition at line 212 of file IPlatformFileOpenLogWrapper.h.

◆ GetFilenameOnDisk()

virtual FString FPlatformFileOpenLog::GetFilenameOnDisk ( const TCHAR * Filename)
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.

◆ GetLowerLevel()

virtual IPlatformFile * FPlatformFileOpenLog::GetLowerLevel ( )
inlineoverridevirtual

Gets the platform file wrapped by this file.

Implements IPlatformFile.

Definition at line 164 of file IPlatformFileOpenLogWrapper.h.

◆ GetName()

virtual const TCHAR * FPlatformFileOpenLog::GetName ( ) const
inlineoverridevirtual

Gets this platform file type name.

Implements IPlatformFile.

Definition at line 176 of file IPlatformFileOpenLogWrapper.h.

◆ GetStatData()

virtual FFileStatData FPlatformFileOpenLog::GetStatData ( const TCHAR * FilenameOrDirectory)
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.

◆ GetTimeStamp()

virtual FDateTime FPlatformFileOpenLog::GetTimeStamp ( const TCHAR * Filename)
inlineoverridevirtual

Return the modification time of a file. Returns FDateTime::MinValue() on failure

Implements IPlatformFile.

Definition at line 204 of file IPlatformFileOpenLogWrapper.h.

◆ GetTypeName()

static const TCHAR * FPlatformFileOpenLog::GetTypeName ( )
inlinestatic

Definition at line 172 of file IPlatformFileOpenLogWrapper.h.

◆ Initialize()

virtual bool FPlatformFileOpenLog::Initialize ( IPlatformFile * Inner,
const TCHAR * CmdLine )
inlineoverridevirtual

Initializes platform file.

Parameters
InnerPlatform file to wrap by this file.
CmdLineCommand line to parse.
Returns
true if the initialization was successful, false otherise.

Implements IPlatformFile.

Definition at line 85 of file IPlatformFileOpenLogWrapper.h.

◆ IsReadOnly()

virtual bool FPlatformFileOpenLog::IsReadOnly ( const TCHAR * Filename)
inlineoverridevirtual

Return true if the file is read only.

Implements IPlatformFile.

Definition at line 192 of file IPlatformFileOpenLogWrapper.h.

◆ IterateDirectory() [1/3]

virtual bool IPlatformFile::IterateDirectory ( const TCHAR * Directory,
FDirectoryVisitor & Visitor )
virtual

Call the Visit function of the visitor once for each file or directory in a single directory. This function does not explore subdirectories.

Parameters
DirectoryThe directory to iterate the contents of.
VisitorVisitor to call for each element of the directory
Returns
false if the directory did not exist or if the visitor returned false.

Implements IPlatformFile.

◆ IterateDirectory() [2/3]

virtual bool IPlatformFile::IterateDirectory ( const TCHAR * Directory,
FDirectoryVisitorFunc Visitor )
virtual

Call the visitor once for each file or directory in a single directory. This function does not explore subdirectories.

Parameters
DirectoryThe directory to iterate the contents of.
VisitorVisitor to call for each element of the directory (see FDirectoryVisitor::Visit for the signature)
Returns
false if the directory did not exist or if the visitor returned false.

Reimplemented from IPlatformFile.

◆ IterateDirectory() [3/3]

virtual bool FPlatformFileOpenLog::IterateDirectory ( const TCHAR * Directory,
IPlatformFile::FDirectoryVisitor & Visitor )
inlineoverridevirtual

Call the Visit function of the visitor once for each file or directory in a single directory. This function does not explore subdirectories.

Parameters
DirectoryThe directory to iterate the contents of.
VisitorVisitor to call for each element of the directory
Returns
false if the directory did not exist or if the visitor returned false.

Implements IPlatformFile.

Definition at line 249 of file IPlatformFileOpenLogWrapper.h.

◆ IterateDirectoryRecursively() [1/3]

virtual bool IPlatformFile::IterateDirectoryRecursively ( const TCHAR * Directory,
FDirectoryVisitor & Visitor )
virtual

Call the Visit function of the visitor once for each file or directory in a directory tree. This function explores subdirectories.

Parameters
DirectoryThe directory to iterate the contents of, recursively.
VisitorVisitor to call for each element of the directory and each element of all subdirectories.
Returns
false if the directory did not exist or if the visitor returned false.

Reimplemented from IPlatformFile.

◆ IterateDirectoryRecursively() [2/3]

virtual bool IPlatformFile::IterateDirectoryRecursively ( const TCHAR * Directory,
FDirectoryVisitorFunc Visitor )
virtual

Call the Visit function of the visitor once for each file or directory in a directory tree. This function explores subdirectories.

Parameters
DirectoryThe directory to iterate the contents of, recursively.
VisitorVisitor to call for each element of the directory and each element of all subdirectories (see FDirectoryVisitor::Visit for the signature).
Returns
false if the directory did not exist or if the visitor returned false.

Reimplemented from IPlatformFile.

◆ IterateDirectoryRecursively() [3/3]

virtual bool FPlatformFileOpenLog::IterateDirectoryRecursively ( const TCHAR * Directory,
IPlatformFile::FDirectoryVisitor & Visitor )
inlineoverridevirtual

Call the Visit function of the visitor once for each file or directory in a directory tree. This function explores subdirectories.

Parameters
DirectoryThe directory to iterate the contents of, recursively.
VisitorVisitor to call for each element of the directory and each element of all subdirectories.
Returns
false if the directory did not exist or if the visitor returned false.

Reimplemented from IPlatformFile.

Definition at line 253 of file IPlatformFileOpenLogWrapper.h.

◆ IterateDirectoryStat() [1/3]

virtual bool IPlatformFile::IterateDirectoryStat ( const TCHAR * Directory,
FDirectoryStatVisitor & Visitor )
virtual

Call the Visit function of the visitor once for each file or directory in a single directory. This function does not explore subdirectories.

Parameters
DirectoryThe directory to iterate the contents of.
VisitorVisitor to call for each element of the directory
Returns
false if the directory did not exist or if the visitor returned false.

Implements IPlatformFile.

◆ IterateDirectoryStat() [2/3]

virtual bool IPlatformFile::IterateDirectoryStat ( const TCHAR * Directory,
FDirectoryStatVisitorFunc Visitor )
virtual

Call the visitor once for each file or directory in a single directory. This function does not explore subdirectories.

Parameters
DirectoryThe directory to iterate the contents of.
VisitorVisitor to call for each element of the directory (see FDirectoryStatVisitor::Visit for the signature)
Returns
false if the directory did not exist or if the visitor returned false.

Reimplemented from IPlatformFile.

◆ IterateDirectoryStat() [3/3]

virtual bool FPlatformFileOpenLog::IterateDirectoryStat ( const TCHAR * Directory,
IPlatformFile::FDirectoryStatVisitor & Visitor )
inlineoverridevirtual

Call the Visit function of the visitor once for each file or directory in a single directory. This function does not explore subdirectories.

Parameters
DirectoryThe directory to iterate the contents of.
VisitorVisitor to call for each element of the directory
Returns
false if the directory did not exist or if the visitor returned false.

Implements IPlatformFile.

Definition at line 257 of file IPlatformFileOpenLogWrapper.h.

◆ IterateDirectoryStatRecursively() [1/3]

virtual bool IPlatformFile::IterateDirectoryStatRecursively ( const TCHAR * Directory,
FDirectoryStatVisitor & Visitor )
virtual

Call the Visit function of the visitor once for each file or directory in a directory tree. This function explores subdirectories.

Parameters
DirectoryThe directory to iterate the contents of, recursively.
VisitorVisitor to call for each element of the directory and each element of all subdirectories.
Returns
false if the directory did not exist or if the visitor returned false.

Reimplemented from IPlatformFile.

◆ IterateDirectoryStatRecursively() [2/3]

virtual bool IPlatformFile::IterateDirectoryStatRecursively ( const TCHAR * Directory,
FDirectoryStatVisitorFunc Visitor )
virtual

Call the Visit function of the visitor once for each file or directory in a directory tree. This function explores subdirectories.

Parameters
DirectoryThe directory to iterate the contents of, recursively.
VisitorVisitor to call for each element of the directory and each element of all subdirectories (see FDirectoryStatVisitor::Visit for the signature).
Returns
false if the directory did not exist or if the visitor returned false.

Reimplemented from IPlatformFile.

◆ IterateDirectoryStatRecursively() [3/3]

virtual bool FPlatformFileOpenLog::IterateDirectoryStatRecursively ( const TCHAR * Directory,
IPlatformFile::FDirectoryStatVisitor & Visitor )
inlineoverridevirtual

Call the Visit function of the visitor once for each file or directory in a directory tree. This function explores subdirectories.

Parameters
DirectoryThe directory to iterate the contents of, recursively.
VisitorVisitor to call for each element of the directory and each element of all subdirectories.
Returns
false if the directory did not exist or if the visitor returned false.

Reimplemented from IPlatformFile.

Definition at line 261 of file IPlatformFileOpenLogWrapper.h.

◆ MoveFile()

virtual bool FPlatformFileOpenLog::MoveFile ( const TCHAR * To,
const TCHAR * From )
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.

◆ OpenAsyncRead()

virtual IAsyncReadFileHandle * FPlatformFileOpenLog::OpenAsyncRead ( const TCHAR * Filename)
inlineoverridevirtual

Open a file for async reading. This call does not hit the disk or block.

Parameters
Filenamefile to be opened
Returns
Close the file by delete'ing the handle. A non-null return value does not mean the file exists, since that may not be determined yet.

Reimplemented from IPlatformFile.

Definition at line 293 of file IPlatformFileOpenLogWrapper.h.

◆ OpenMapped()

virtual IMappedFileHandle * FPlatformFileOpenLog::OpenMapped ( const TCHAR * Filename)
inlineoverridevirtual

Open a file for async reading. This call does hit the disk; it is synchronous open.

Parameters
Filenamefile to be mapped. This doesn't actually map anything, just opens the file.
Returns
Close the file by delete'ing the handle. A non-null return value does mean the file exists. Null can be returned for many reasons even if the file exists. Perhaps this platform does not support mapped files, or this file is compressed in a pak file. Generally you attempt to open mapped, and if that fails, then use other file operations instead.

Reimplemented from IPlatformFile.

Definition at line 298 of file IPlatformFileOpenLogWrapper.h.

◆ OpenRead()

virtual IFileHandle * FPlatformFileOpenLog::OpenRead ( const TCHAR * Filename,
bool bAllowWrite )
inlineoverridevirtual

Attempt to open a file for reading.

Parameters
Filenamefile 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.
Returns
If successful will return a non-nullptr pointer. Close the file by delete'ing the handle.

Implements IPlatformFile.

Definition at line 220 of file IPlatformFileOpenLogWrapper.h.

◆ OpenWrite()

virtual IFileHandle * FPlatformFileOpenLog::OpenWrite ( const TCHAR * Filename,
bool bAppend = false,
bool bAllowRead = false )
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.

◆ SendMessageToServer()

virtual bool FPlatformFileOpenLog::SendMessageToServer ( const TCHAR * Message,
IFileServerMessageHandler * Handler )
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.

Parameters
MessageThe string message to send to the server
Returns
true if the message was sent to server and it returned success, or false if there is no server, or the command failed

Reimplemented from IPlatformFile.

Definition at line 289 of file IPlatformFileOpenLogWrapper.h.

◆ SetLowerLevel()

virtual void FPlatformFileOpenLog::SetLowerLevel ( IPlatformFile * NewLowerLevel)
inlineoverridevirtual

Sets the platform file wrapped by this file.

Implements IPlatformFile.

Definition at line 168 of file IPlatformFileOpenLogWrapper.h.

◆ SetReadOnly()

virtual bool FPlatformFileOpenLog::SetReadOnly ( const TCHAR * Filename,
bool bNewReadOnlyValue )
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.

◆ SetTimeStamp()

virtual void FPlatformFileOpenLog::SetTimeStamp ( const TCHAR * Filename,
FDateTime DateTime )
inlineoverridevirtual

Sets the modification time of a file

Implements IPlatformFile.

Definition at line 208 of file IPlatformFileOpenLogWrapper.h.

◆ ShouldBeUsed()

virtual bool FPlatformFileOpenLog::ShouldBeUsed ( IPlatformFile * Inner,
const TCHAR * CmdLine ) const
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.

Member Data Documentation

◆ CriticalSection

FCriticalSection FPlatformFileOpenLog::CriticalSection
protected

Definition at line 56 of file IPlatformFileOpenLogWrapper.h.

◆ FilenameAccessMap

TMap<FString, int64> FPlatformFileOpenLog::FilenameAccessMap
protected

Definition at line 58 of file IPlatformFileOpenLogWrapper.h.

◆ LogOutput

TArray<IFileHandle*> FPlatformFileOpenLog::LogOutput
protected

Definition at line 59 of file IPlatformFileOpenLogWrapper.h.

◆ LowerLevel

IPlatformFile* FPlatformFileOpenLog::LowerLevel
protected

Definition at line 55 of file IPlatformFileOpenLogWrapper.h.

◆ OpenOrder

int64 FPlatformFileOpenLog::OpenOrder
protected

Definition at line 57 of file IPlatformFileOpenLogWrapper.h.


The documentation for this class was generated from the following file: