#include <WSYS_StdFileSystem.h>
Inherits FileSystem.
Public Member Functions | |
| virtual | ~StdFileSystem () |
| virtual File * | open (const Char *filename, Int access=0) |
| Creates a StdFile object and opens the file with it: See FileSystem::open. | |
Public Member Functions inherited from FileSystem | |
| FileSystem () | |
| virtual | ~FileSystem () |
| void | init () |
| void | reset () |
| void | update () |
| File * | openFile (const Char *filename, Int access=0) |
| opens a File interface to the specified file | |
| Bool | doesFileExist (const Char *filename) const |
| returns TRUE if the file exists. filename should have no directory. | |
| void | getFileListInDirectory (const AsciiString &directory, const AsciiString &searchName, FilenameList &filenameList, Bool searchSubdirectories) const |
| search the given directory for files matching the searchName (egs. *.ini, *.rep). Possibly search subdirectories. | |
| Bool | getFileInfo (const AsciiString &filename, FileInfo *fileInfo) const |
| fills in the FileInfo struct for the file given. returns TRUE if successful. | |
| Bool | createDirectory (AsciiString directory) |
| create a directory of the given name. | |
| Bool | areMusicFilesOnCD () |
| void | loadMusicFilesFromCD () |
| void | unloadMusicFilesFromCD () |
| virtual | ~FileSystem () |
Public Member Functions inherited from SubsystemInterface | |
| SubsystemInterface () | |
| virtual | ~SubsystemInterface () |
| virtual void | postProcessLoad () |
| virtual void | draw (void) |
| void | UPDATE (void) |
| void | DRAW (void) |
| AsciiString | getName (void) |
| void | setName (AsciiString name) |
Additional Inherited Members | |
Protected Attributes inherited from FileSystem | |
| std::map< unsigned, bool > | m_fileExist |
Protected Attributes inherited from SubsystemInterface | |
| AsciiString | m_name |
FileSystem that maps directly to StdFile files.
Definition at line 75 of file WSYS_StdFileSystem.h.
|
virtual |
Definition at line 94 of file WSYS_StdFileSystem.cpp.
Creates a StdFile object and opens the file with it: See FileSystem::open.
This simply creates a StdFile object and calls its open function.
Reimplemented from FileSystem.
Definition at line 107 of file WSYS_StdFileSystem.cpp.