#include <TNullFileSystem.h>
Public Member Functions | |
| TNullFileSystem (const TCHAR *name) | |
| virtual TFile * | CreateFile (const TString8 &a_rcFileName, TFILEMODE a_eFileMode) OVERRIDE |
| Creates file. | |
| virtual void | DestroyFile (TFile *a_pFile) OVERRIDE |
| Destroys specified file. | |
| virtual TString8 | MakeInternalPath (const TString8 &a_rcPath) OVERRIDE |
| Not documented. | |
Public Member Functions inherited from TFileSystem | |
| TFileSystem (const TCHAR *a_szName) | |
| TFileSystem (const TFileSystem &other) | |
| virtual | ~TFileSystem ()=default |
| virtual TBOOL | RemoveFile (const TString8 &a_rcFileName) |
| Removes specified file. | |
| 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 |
Public Member Functions inherited from TSingleton< TNullFileSystem > | |
| TSingleton (const TSingleton &)=delete | |
| TSingleton (const TSingleton &&)=delete | |
| TSingleton & | operator= (const TSingleton &)=delete |
| TSingleton & | operator= (const TSingleton &&)=delete |
Definition at line 6 of file TNullFileSystem.h.
|
inline |
Definition at line 10 of file TNullFileSystem.h.
|
virtual |
Creates file.
| a_rcFileName | path to the file to open |
| a_eFileMode | mode to open the file with |
Implements TFileSystem.
Definition at line 12 of file TNullFileSystem.cpp.
|
virtual |