Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
#include <FileSystem.h>
Public Member Functions | |
virtual bool | exists (const std::string &filename)=0 |
Find out if the named file exists. | |
FileSystem (const std::string &path) | |
const u32 & | getFileSystemID () const |
Gets the file system id. | |
const std::string & | getPath () const |
virtual bool | isCaseSensitive () const =0 |
Returns whether this file system is case sensitive in the way it matches files. | |
virtual void | list (std::list< std::string > &ls, bool recursive=true, bool dirs=false)=0 |
virtual resource::DataStream * | open (const std::string &filename)=0 |
virtual | ~FileSystem () |
Protected Attributes | |
u32 | mFileSystemID |
std::string | mPath |
FileSystem path. | |
Static Protected Attributes | |
static u32 | msNextGeneratedFileSytemID = 0 |
platform::FileSystem::FileSystem | ( | const std::string & | path | ) |
References mFileSystemID, mPath, and msNextGeneratedFileSytemID.
platform::FileSystem::~FileSystem | ( | ) | [virtual] |
virtual bool platform::FileSystem::exists | ( | const std::string & | filename | ) | [pure virtual] |
Find out if the named file exists.
const u32 & platform::FileSystem::getFileSystemID | ( | ) | const |
Gets the file system id.
References mFileSystemID.
Referenced by platform::PlatformManager::createFileSystem(), and platform::PlatformManager::removeFileSystem().
const std::string & platform::FileSystem::getPath | ( | ) | const |
References mPath.
Referenced by platform::PlatformManager::createFileSystem().
virtual bool platform::FileSystem::isCaseSensitive | ( | ) | const [pure virtual] |
Returns whether this file system is case sensitive in the way it matches files.
virtual void platform::FileSystem::list | ( | std::list< std::string > & | ls, |
bool | recursive = true , |
||
bool | dirs = false |
||
) | [pure virtual] |
Referenced by resource::ResourceManager::addSearchPath().
virtual resource::DataStream* platform::FileSystem::open | ( | const std::string & | filename | ) | [pure virtual] |
u32 platform::FileSystem::mFileSystemID [protected] |
Referenced by FileSystem(), and getFileSystemID().
std::string platform::FileSystem::mPath [protected] |
FileSystem path.
Referenced by FileSystem(), and getPath().
u32 platform::FileSystem::msNextGeneratedFileSytemID = 0 [static, protected] |
Referenced by FileSystem().
The KG Game Engine
Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:08 by
Doxygen
(1.7.4)
|