#include <filesystemstd.h>
Inheritance diagram for FileSystemSTD:
Public Member Functions | |
FileSystemSTD () | |
virtual | ~FileSystemSTD () |
virtual boost::shared_ptr< salt::RFile > | Open (const std::string &inName) |
tries to open the file named inName. | |
virtual bool | SetPath (const std::string &inPath) |
sets the path all calls to Open are relative to. | |
virtual int | ForEachFile (const std::string &expression, TCallback callback, void *param) |
Protected Attributes | |
std::string | mPath |
OK, this one is really simple. It just loads a file from a given base directory ... no fancy conversions, just a simple Open("blah").
Definition at line 39 of file filesystemstd.h.
|
Definition at line 30 of file filesystemstd.cpp. |
|
Definition at line 35 of file filesystemstd.cpp. |
|
|
|
tries to open the file named inName. Returns an instance of a salt::RFile on success, NULL otherwise Implements zeitgeist::FileSystem. |
|
sets the path all calls to Open are relative to. For a standard file system this call maps directly to a directory. For Filesystems providing access to an archive it is used to select the archive, i.e. it is the filename of an archive. Please refer to concrete Filesystems for an example implementation. Implements zeitgeist::FileSystem. |
|
Definition at line 57 of file filesystemstd.h. |