|
Etterna 0.75.1
|
A container for a file listing. More...
#include <RageUtil_FileDB.h>


Public Member Functions | |
| void | AddFile (const std::string &sPath, int iSize, int iHash, void *pPriv=nullptr) |
| void | DelFile (const std::string &sPath) |
| void * | GetFilePriv (const std::string &sPath) |
| void | GetFilesSimpleMatch (const std::string &sDir, const std::string &sFile, std::vector< std::string > &asOut, DirListingReturnFilter returnFilter) |
| bool | ResolvePath (std::string &sPath) |
| RageFileManager::FileType | GetFileType (const std::string &sPath) |
| int | GetFileSize (const std::string &sPath) |
| int | GetFileHash (const std::string &sFilePath) |
| void | GetDirListing (const std::string &sPath, std::vector< std::string > &asAddTo, DirListingReturnFilter returnFilter, bool bReturnPathToo) |
| void | FlushDirCache (const std::string &sDir=std::string()) |
| void | GetFileSetCopy (const std::string &dir, FileSet &out) |
| virtual void | CacheFile (const std::string &sPath) |
Protected Member Functions | |
| const File * | GetFile (const std::string &sPath) |
| FileSet * | GetFileSet (const std::string &sDir, bool create=true) |
| void | GetFilesEqualTo (const std::string &sDir, const std::string &sName, std::vector< std::string > &asOut, DirListingReturnFilter returnFilter) |
| void | GetFilesMatching (const std::string &sDir, const std::string &sBeginning, const std::string &sContaining, const std::string &sEnding, std::vector< std::string > &asOut, DirListingReturnFilter returnFilter) |
| void | DelFileSet (std::map< std::string, FileSet * >::iterator dir) |
| virtual void | PopulateFileSet (FileSet &, const std::string &) |
Protected Attributes | |
| RageEvent | m_Mutex |
| std::map< std::string, FileSet * > | dirs |
| int | ExpireSeconds { -1 } |
A container for a file listing.