#include <TFile.h>
Public Member Functions | |
| TFileSystem (const TCHAR *a_szName) | |
| TFileSystem (const TFileSystem &other) | |
| virtual | ~TFileSystem ()=default |
| virtual TFile * | CreateFile (const TString8 &a_rcFileName, TFILEMODE a_eFileMode)=0 |
| Creates file. | |
| virtual void | DestroyFile (TFile *a_pFile)=0 |
| Destroys specified file. | |
| virtual TBOOL | RemoveFile (const TString8 &a_rcFileName) |
| Removes specified file. | |
| virtual TString8 | MakeInternalPath (const TString8 &a_rcPath)=0 |
| Not documented. | |
| virtual TBOOL | GetFirstFile (const TString8 &a_rcPath, TString8 &a_rOutFileName, TFINDFILE a_ui8Flags=TFINDFILE_DIRECTORY|TFINDFILE_FILE) |
| Finds out what's the first file at the specified path. | |
| virtual TBOOL | GetNextFile (TString8 &a_rOutFileName, TFINDFILE a_ui8Flags=TFINDFILE_DIRECTORY|TFINDFILE_FILE) |
| Not documented. | |
| 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) |
Public Member Functions inherited from TGenericDList::TNode | |
| template<typename T> | |
| T * | As () |
| void | Remove () |
| void | InsertAfter (TNode *a_pNode) |
| void | InsertBefore (TNode *a_pNode) |
| TBOOL | IsLinked () const |
Protected Attributes | |
| TString8 | m_Name |
| TString8 | m_Prefix |
| TFileLookupHandle | m_NextFileHandle |
Protected Attributes inherited from TGenericDList::TNode | |
| TNode * | m_pNext |
| TNode * | m_pPrev |
Additional Inherited Members | |
Public Types inherited from TGenericDList::TNode | |
| enum | TUninitialised { Unitiailised } |
Public Attributes inherited from TGenericDList::TNode | |
| friend | TGenericDList |
Protected Member Functions inherited from TGenericDList::TNode | |
| TNode () | |
| TNode (TUninitialised) | |
| ~TNode () | |
| TNode * | Next () const |
| TNode * | Prev () const |
| TFileSystem::TFileSystem | ( | const TCHAR * | a_szName | ) |
Definition at line 19 of file TFileSystem.cpp.
| TFileSystem::TFileSystem | ( | const TFileSystem & | other | ) |
Definition at line 12 of file TFileSystem.cpp.
|
virtualdefault |
|
pure virtual |
Creates file.
| a_rcFileName | path to the file to open |
| a_eFileMode | mode to open the file with |
Implemented in TNativeFileSystem, and TNullFileSystem.
|
pure virtual |
Destroys specified file.
Implemented in TNativeFileSystem, and TNullFileSystem.
|
inlinevirtual |
Finds out what's the first file at the specified path.
Reimplemented in TNativeFileSystem.
Definition at line 94 of file TFile.h.
|
inline |
|
inlinevirtual |
|
inline |
Not documented.
Implemented in TNativeFileSystem, and TNullFileSystem.
| TFileSystem & TFileSystem::operator= | ( | TFileSystem & | a_rFileSystem | ) |
|
virtual |
Sets the directory prefix to work with.
Definition at line 25 of file TFileSystem.cpp.
|
virtual |
Fetches info about the path and returns internal path.
Definition at line 39 of file TFileSystem.cpp.
|
inline |
Unmounts this file system from the TFileManager.
Definition at line 114 of file TFile.h.