|
Public Member Functions |
| | FilenameDB () |
| virtual | ~FilenameDB () |
| void | AddFile (const CString &sPath, int size, int hash, void *priv=NULL) |
| void | DelFile (const CString &sPath) |
| const File * | GetFile (const CString &path) |
| const void * | GetFilePriv (const CString &path) |
| void | GetFilesSimpleMatch (const CString &dir, const CString &fn, vector< CString > &out, bool bOnlyDirs) |
| bool | ResolvePath (CString &path) |
| RageFileManager::FileType | GetFileType (const CString &path) |
| int | GetFileSize (const CString &path) |
| int | GetFileHash (const CString &sFilePath) |
| void | GetDirListing (CString sPath, CStringArray &AddTo, bool bOnlyDirs, bool bReturnPathToo) |
| void | FlushDirCache () |
| void | GetFileSetCopy (CString dir, FileSet &out) |
Protected Member Functions |
| FileSet * | GetFileSet (CString dir, bool create=true) |
| void | GetFilesEqualTo (const CString &dir, const CString &fn, vector< CString > &out, bool bOnlyDirs) |
| void | GetFilesMatching (const CString &dir, const CString &beginning, const CString &containing, const CString &ending, vector< CString > &out, bool bOnlyDirs) |
| void | DelFileSet (map< CString, FileSet * >::iterator dir) |
| virtual void | PopulateFileSet (FileSet &fs, const CString &sPath) |
Protected Attributes |
| RageEvent | m_Mutex |
| map< CString, FileSet * > | dirs |
| int | ExpireSeconds |