Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

RageFileDriver Class Reference

#include <RageFileDriver.h>

Inheritance diagram for RageFileDriver:

Inheritance graph
[legend]
Collaboration diagram for RageFileDriver:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { ERROR_WRITING_NOT_SUPPORTED = -1 }

Public Member Functions

 RageFileDriver (FilenameDB *db)
virtual ~RageFileDriver ()
virtual RageFileBasicOpen (const CString &path, int mode, int &err)=0
virtual void GetDirListing (const CString &sPath, CStringArray &AddTo, bool bOnlyDirs, bool bReturnPathToo)
virtual RageFileManager::FileType GetFileType (const CString &sPath)
virtual int GetFileSizeInBytes (const CString &sFilePath)
virtual int GetFileHash (const CString &sPath)
virtual int GetPathValue (const CString &path)
virtual bool Ready ()
virtual void FlushDirCache (const CString &sPath)
virtual bool Remove (const CString &sPath)
virtual bool Remount (const CString &sPath)

Public Attributes

FilenameDBFDB

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
ERROR_WRITING_NOT_SUPPORTED 


Constructor & Destructor Documentation

RageFileDriver::RageFileDriver FilenameDB db  )  [inline]
 

RageFileDriver::~RageFileDriver  )  [virtual]
 


Member Function Documentation

void RageFileDriver::FlushDirCache const CString &  sPath  )  [virtual]
 

Reimplemented in RageFileDriverMem, RageFileDriverTimeout, RageFileDriverZip, and RageFileDriverMountpoints.

void RageFileDriver::GetDirListing const CString &  sPath,
CStringArray &  AddTo,
bool  bOnlyDirs,
bool  bReturnPathToo
[virtual]
 

int RageFileDriver::GetFileHash const CString &  sPath  )  [virtual]
 

int RageFileDriver::GetFileSizeInBytes const CString &  sFilePath  )  [virtual]
 

RageFileManager::FileType RageFileDriver::GetFileType const CString &  sPath  )  [virtual]
 

int RageFileDriver::GetPathValue const CString &  path  )  [virtual]
 

virtual RageFileBasic* RageFileDriver::Open const CString &  path,
int  mode,
int err
[pure virtual]
 

Implemented in RageFileDriverDirect, RageFileDriverMem, RageFileDriverTimeout, RageFileDriverZip, and RageFileDriverMountpoints.

virtual bool RageFileDriver::Ready  )  [inline, virtual]
 

Reimplemented in RageFileDriverDirect.

virtual bool RageFileDriver::Remount const CString &  sPath  )  [inline, virtual]
 

Reimplemented in RageFileDriverDirect.

virtual bool RageFileDriver::Remove const CString &  sPath  )  [inline, virtual]
 

Reimplemented in RageFileDriverDirect, and RageFileDriverMem.


Member Data Documentation

FilenameDB* RageFileDriver::FDB
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 27 21:01:09 2005 for StepMania by doxygen 1.3.7