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

RageFileManager Class Reference

#include <RageFileManager.h>

List of all members.

Public Types

enum  FileType { TYPE_FILE, TYPE_DIR, TYPE_NONE }

Public Member Functions

 RageFileManager (CString argv0)
 ~RageFileManager ()
void MountInitialFilesystems ()
void GetDirListing (CString sPath, CStringArray &AddTo, bool bOnlyDirs, bool bReturnPathToo)
bool Remove (CString sPath)
void CreateDir (CString sDir)
FileType GetFileType (CString sPath)
bool IsAFile (const CString &sPath)
bool IsADirectory (const CString &sPath)
bool DoesFileExist (const CString &sPath)
int GetFileSizeInBytes (CString sPath)
int GetFileHash (CString sPath)
void Mount (CString Type, CString RealPath, CString MountPoint)
void Unmount (CString Type, CString Root, CString MountPoint)
bool IsMounted (CString MountPoint)
bool MountpointIsReady (CString MountPoint)
void GetLoadedDrivers (vector< DriverLocation > &Mounts)
void FlushDirCache (CString sPath)
RageFileBasicOpen (CString sPath, int mode, int &err)
void Close (RageFileBasic *obj)
RageFileBasicCopyFileObj (const RageFileBasic *cpy)
RageFileDriverGetFileDriver (CString sMountpoint)
void ReleaseFileDriver (RageFileDriver *pDriver)

Static Public Member Functions

void Remount (CString sMountpoint, CString sPath)

Private Member Functions

RageFileBasicOpenForWriting (CString sPath, int mode, int &err)


Member Enumeration Documentation

enum RageFileManager::FileType
 

Enumeration values:
TYPE_FILE 
TYPE_DIR 
TYPE_NONE 


Constructor & Destructor Documentation

RageFileManager::RageFileManager CString  argv0  ) 
 

RageFileManager::~RageFileManager  ) 
 


Member Function Documentation

void RageFileManager::Close RageFileBasic obj  ) 
 

RageFileBasic * RageFileManager::CopyFileObj const RageFileBasic cpy  ) 
 

void RageFileManager::CreateDir CString  sDir  ) 
 

bool RageFileManager::DoesFileExist const CString &  sPath  ) 
 

void RageFileManager::FlushDirCache CString  sPath  ) 
 

void RageFileManager::GetDirListing CString  sPath,
CStringArray &  AddTo,
bool  bOnlyDirs,
bool  bReturnPathToo
 

RageFileDriver * RageFileManager::GetFileDriver CString  sMountpoint  ) 
 

int RageFileManager::GetFileHash CString  sPath  ) 
 

int RageFileManager::GetFileSizeInBytes CString  sPath  ) 
 

RageFileManager::FileType RageFileManager::GetFileType CString  sPath  ) 
 

void RageFileManager::GetLoadedDrivers vector< DriverLocation > &  Mounts  ) 
 

bool RageFileManager::IsADirectory const CString &  sPath  ) 
 

bool RageFileManager::IsAFile const CString &  sPath  ) 
 

bool RageFileManager::IsMounted CString  MountPoint  ) 
 

void RageFileManager::Mount CString  Type,
CString  RealPath,
CString  MountPoint
 

void RageFileManager::MountInitialFilesystems  ) 
 

bool RageFileManager::MountpointIsReady CString  MountPoint  ) 
 

RageFileBasic * RageFileManager::Open CString  sPath,
int  mode,
int err
 

RageFileBasic * RageFileManager::OpenForWriting CString  sPath,
int  mode,
int err
[private]
 

void RageFileManager::ReleaseFileDriver RageFileDriver pDriver  ) 
 

void RageFileManager::Remount CString  sMountpoint,
CString  sPath
[static]
 

bool RageFileManager::Remove CString  sPath  ) 
 

void RageFileManager::Unmount CString  Type,
CString  Root,
CString  MountPoint
 


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