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

A read-only file driver for ZIPs. More...

#include <RageFileDriverZip.h>

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

Classes

struct  FileInfo
 

Public Types

enum  ZipCompressionMethod { STORED = 0 , DEFLATED = 8 }
 
- Public Types inherited from RageFileDriver
enum  { ERROR_WRITING_NOT_SUPPORTED = -1 }
 

Public Member Functions

 RageFileDriverZip (const std::string &sPath)
 
bool Load (const std::string &sPath)
 
bool Load (RageFileBasic *pFile)
 
RageFileBasicOpen (const std::string &sPath, int iMode, int &iErr) override
 
void FlushDirCache (const std::string &sPath) override
 
void DeleteFileWhenFinished ()
 
const FileInfoGetFileInfo (const std::string &sPath) const
 
std::string GetGlobalComment () const
 
- 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 CacheFile (const std::string &)
 
virtual bool Move (const std::string &, const std::string &)
 
virtual bool Remove (const std::string &)
 
virtual bool Remount (const std::string &)
 

Additional Inherited Members

- Public Attributes inherited from RageFileDriver
FilenameDBFDB
 

Detailed Description

A read-only file driver for ZIPs.

Member Function Documentation

◆ FlushDirCache()

void RageFileDriverZip::FlushDirCache ( const std::string &  sPath)
overridevirtual

Reimplemented from RageFileDriver.

◆ Open()

RageFileBasic * RageFileDriverZip::Open ( const std::string &  sPath,
int  iMode,
int &  iErr 
)
overridevirtual

Implements RageFileDriver.


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