#include <TNativeFile_Win.h>
Public Member Functions | |
TNativeFileSystem (const TCHAR *name) | |
virtual | ~TNativeFileSystem () |
virtual TFile * | CreateFile (const TString8 &a_rcFileName, TFILEMODE a_eFileMode) OVERRIDE |
Creates file. | |
virtual void | DestroyFile (TFile *a_pFile) OVERRIDE |
Destroys specified file. | |
virtual TBOOL | RemoveFile (const TString8 &a_rcFileName) OVERRIDE |
Removes specified file. | |
virtual TString8 | MakeInternalPath (const TString8 &a_rcPath) OVERRIDE |
Not documented. | |
virtual TBOOL | GetFirstFile (const TString8 &a_rcPath, TString8 &a_rOutFileName, TFINDFILE a_ui8Flags) OVERRIDE |
Finds out what's the first file at the specified path. | |
virtual TBOOL | GetNextFile (TString8 &a_rOutFileName, TFINDFILE a_ui8Flags) OVERRIDE |
Not documented. | |
virtual TBOOL | MakeDirectory (const TString8 &a_rcDirectory) |
![]() | |
TFileSystem (const TCHAR *a_szName) | |
TFileSystem (const TFileSystem &other) | |
virtual | ~TFileSystem ()=default |
virtual void | SetPrefix (const TString8 &a_rcPrefix) |
Sets the directory prefix to work with. | |
virtual TBOOL | ToNative (const TString8 &a_rcPath, TNativeFileInfo &a_rOutInfo) |
Fetches info about the path and returns internal path. | |
void | UnmountFileSystem () |
Unmounts this file system from the TFileManager. | |
const TString8 & | GetName () const |
const TString8 & | GetPrefix () const |
TFileSystem & | operator= (TFileSystem &a_rFileSystem) |
![]() | |
template<typename T> | |
T * | As () |
void | Remove () |
void | InsertAfter (TNode *a_pNode) |
void | InsertBefore (TNode *a_pNode) |
TBOOL | IsLinked () const |
Additional Inherited Members | |
![]() | |
enum | TUninitialised { Unitiailised } |
![]() | |
friend | TGenericDList |
![]() | |
TNode () | |
TNode (TUninitialised) | |
~TNode () | |
TNode * | Next () const |
TNode * | Prev () const |
![]() | |
TString8 | m_Name |
TString8 | m_Prefix |
TFileLookupHandle | m_NextFileHandle |
![]() | |
TNode * | m_pNext |
TNode * | m_pPrev |
Definition at line 6 of file TNativeFile_Win.h.
TNativeFileSystem::TNativeFileSystem | ( | const TCHAR * | name | ) |
Definition at line 19 of file TNativeFile_Win.cpp.
|
virtual |
Definition at line 26 of file TNativeFile_Win.cpp.
|
virtual |
Creates file.
a_rcFileName | path to the file to open |
a_eFileMode | mode to open the file with |
Implements TFileSystem.
Definition at line 31 of file TNativeFile_Win.cpp.
|
virtual |
Destroys specified file.
Implements TFileSystem.
Definition at line 44 of file TNativeFile_Win.cpp.
|
virtual |
Finds out what's the first file at the specified path.
Reimplemented from TFileSystem.
Definition at line 90 of file TNativeFile_Win.cpp.
Not documented.
Reimplemented from TFileSystem.
Definition at line 131 of file TNativeFile_Win.cpp.
Definition at line 126 of file TNativeFile_Win.cpp.
Not documented.
Implements TFileSystem.
Definition at line 58 of file TNativeFile_Win.cpp.
Removes specified file.
Reimplemented from TFileSystem.
Definition at line 53 of file TNativeFile_Win.cpp.