Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
Public Member Functions | Protected Attributes | Static Protected Attributes
platform::FileSystem Class Reference

#include <FileSystem.h>

List of all members.

Public Member Functions

virtual bool exists (const std::string &filename)=0
 Find out if the named file exists.
 FileSystem (const std::string &path)
const u32getFileSystemID () 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::DataStreamopen (const std::string &filename)=0
virtual ~FileSystem ()

Protected Attributes

u32 mFileSystemID
std::string mPath
 FileSystem path.

Static Protected Attributes

static u32 msNextGeneratedFileSytemID = 0

Constructor & Destructor Documentation

platform::FileSystem::FileSystem ( const std::string &  path)
platform::FileSystem::~FileSystem ( ) [virtual]

Member Function Documentation

virtual bool platform::FileSystem::exists ( const std::string &  filename) [pure virtual]

Find out if the named file exists.

const u32 & platform::FileSystem::getFileSystemID ( ) const
const std::string & platform::FileSystem::getPath ( ) const
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]
virtual resource::DataStream* platform::FileSystem::open ( const std::string &  filename) [pure virtual]

Member Data Documentation

Referenced by FileSystem(), and getFileSystemID().

std::string platform::FileSystem::mPath [protected]

FileSystem path.

Referenced by FileSystem(), and getPath().

Referenced by FileSystem().


The documentation for this class was generated from the following files:

The KG Game Engine
The KG Game Engine Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:08 by Doxygen (1.7.4)