#include <IFileSystem.h>
|
| virtual | ~IFileSystem () |
| |
| virtual bool | IterateDirectory (const char *Directory, bool bRecurse, const CFileDirectoryVisitor &Visitor, bool bIsVisitorThreadSafe=false)=0 |
| |
| virtual bool | FileRead (const char *FilePath, const CFileMemAllocator &Allocator)=0 |
| |
| virtual bool | FileWrite (const char *FilePath, const char *Output, const size_t ByteSize, const EWriteFlags WriteFlags=EWriteFlags::None)=0 |
| |
| virtual bool | DeleteFile (const char *FilePath)=0 |
| |
| virtual bool | IsFileNewer (const char *FilePath, const char *ComparisonPath)=0 |
| |
| virtual bool | CopyFile (const char *SourcePath, const char *DestinationPath)=0 |
| |
| virtual bool | DoesFileExist (const char *FilePath)=0 |
| |
| virtual bool | GetFilenameOnDisk (const char *FilePath, CUTF8String &OutFilenameOnDisk)=0 |
| |
| virtual bool | CreateDirectory (const char *DirPath)=0 |
| |
| virtual bool | DeleteDirectory (const char *DirPath)=0 |
| |
| virtual bool | DoesDirectoryExist (const char *DirPath)=0 |
| |
| virtual bool | FindTempDir (CUTF8String &OutDir) const =0 |
| |
| virtual bool | MakeTempFile (CUTF8String &OutFilename)=0 |
| |
| virtual bool | GetCurrentWorkingDirectory (CUTF8String &OutWorkingDirectory)=0 |
| |
| virtual bool | SetCurrentWorkingDirectory (const char *DirPath) |
| |
| virtual bool | IsReadOnly (const char *Filename)=0 |
| |
| virtual bool | SetReadOnly (const char *Filename, const bool bReadOnly)=0 |
| |
| | CSharedMix () |
| |
| virtual UE_API | ~CSharedMix () |
| |
| | CSharedMix (const CSharedMix &Other)=delete |
| |
| CSharedMix & | operator= (const CSharedMix &Other)=delete |
| |
| uint32_t | GetRefCount () const |
| |
◆ CFileDirectoryVisitor
CFileDirectoryVisitor
- Returns
- True to keep iterating, false to abort.
◆ CFileMemAllocator
CFileMemAllocator
- Returns
- Buffer pointer to fill, null if the requested memory allocation failed or is disallowed.
◆ EWriteFlags
| Enumerator |
|---|
| None | |
| EvenIfReadOnly | |
◆ ~IFileSystem()
| virtual uLang::IFileSystem::~IFileSystem |
( |
| ) |
|
|
inlinevirtual |
◆ CopyFile()
| virtual bool uLang::IFileSystem::CopyFile |
( |
const char * |
SourcePath, |
|
|
const char * |
DestinationPath |
|
) |
| |
|
pure virtual |
◆ CreateDirectory()
◆ DeleteDirectory()
◆ DeleteFile()
◆ DoesDirectoryExist()
| virtual bool uLang::IFileSystem::DoesDirectoryExist |
( |
const char * |
DirPath | ) |
|
|
pure virtual |
◆ DoesFileExist()
◆ FileRead()
◆ FileWrite()
◆ FindTempDir()
Retrieves the path of the directory designated for temporary files.
- Parameters
-
| OutDirectory | Storage for the directory path. |
- Returns
true if the directory was retrieved successfully, false otherwise.
◆ GetCurrentWorkingDirectory()
◆ GetFilenameOnDisk()
◆ IsFileNewer()
| virtual bool uLang::IFileSystem::IsFileNewer |
( |
const char * |
FilePath, |
|
|
const char * |
ComparisonPath |
|
) |
| |
|
pure virtual |
◆ IsReadOnly()
◆ IterateDirectory()
◆ MakeTempFile()
Creates a temporary file. The name is guaranteed to be unique.
- Parameters
-
| OutFilename | Storage for the temporary filename. |
- Returns
true if the temporary file was created successfully, false otherwise.
◆ SetCurrentWorkingDirectory()
| virtual bool uLang::IFileSystem::SetCurrentWorkingDirectory |
( |
const char * |
DirPath | ) |
|
|
inlinevirtual |
Note that SetCurrentWorkingDirectory may not be implemented in some embeddings (e.g. Unreal).
◆ SetReadOnly()
The documentation for this class was generated from the following file:
- Engine/Source/Runtime/VerseCompiler/Public/uLang/SourceProject/IFileSystem.h