Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | List of all members
RageFileDriverDirect Class Reference

File driver for accessing a regular filesystem. More...

#include <RageFileDriverDirect.h>

Inheritance diagram for RageFileDriverDirect:
Inheritance graph
[legend]
Collaboration diagram for RageFileDriverDirect:
Collaboration graph
[legend]

Public Member Functions

 RageFileDriverDirect (const std::string &sRoot)
 
RageFileBasicOpen (const std::string &sPath, int iMode, int &iError) override
 
bool Move (const std::string &sOldPath, const std::string &sNewPath) override
 
bool Remove (const std::string &sPath) override
 
bool Remount (const std::string &sPath) override
 
- Public Member Functions inherited from RageFileDriver
 RageFileDriver (FilenameDB *pDB)
 
virtual void GetDirListing (const std::string &sPath, std::vector< std::string > &asAddTo, DirListingReturnFilter returnFilter, bool bReturnPathToo)
 
virtual RageFileManager::FileType GetFileType (const std::string &sPath)
 
virtual int GetFileSizeInBytes (const std::string &sFilePath)
 
virtual int GetFileHash (const std::string &sPath)
 
virtual int GetPathValue (const std::string &sPath)
 
virtual void FlushDirCache (const std::string &sPath)
 
virtual void CacheFile (const std::string &)
 

Additional Inherited Members

- Public Types inherited from RageFileDriver
enum  { ERROR_WRITING_NOT_SUPPORTED = -1 }
 
- Public Attributes inherited from RageFileDriver
FilenameDBFDB
 

Detailed Description

File driver for accessing a regular filesystem.

Member Function Documentation

◆ Move()

bool RageFileDriverDirect::Move ( const std::string &  sOldPath,
const std::string &  sNewPath 
)
overridevirtual

Reimplemented from RageFileDriver.

◆ Open()

RageFileBasic * RageFileDriverDirect::Open ( const std::string &  sPath,
int  iMode,
int &  iError 
)
overridevirtual

Implements RageFileDriver.

◆ Remount()

bool RageFileDriverDirect::Remount ( const std::string &  sPath)
overridevirtual

Reimplemented from RageFileDriver.

◆ Remove()

bool RageFileDriverDirect::Remove ( const std::string &  sPath)
overridevirtual

Reimplemented from RageFileDriver.


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