xbmc
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
XFILE::CDirectoryCache Class Reference

Public Member Functions

bool GetDirectory (const std::string &strPath, CFileItemList &items, bool retrieveAll=false)
 
void SetDirectory (const std::string &strPath, const CFileItemList &items, DIR_CACHE_TYPE cacheType)
 
void ClearDirectory (const std::string &strPath)
 
void ClearFile (const std::string &strFile)
 
void ClearSubPaths (const std::string &strPath)
 
void Clear ()
 
void AddFile (const std::string &strFile)
 
bool FileExists (const std::string &strPath, bool &bInCache)
 

Protected Member Functions

void InitCache (const std::set< std::string > &dirs)
 
void ClearCache (std::set< std::string > &dirs)
 
void CheckIfFull ()
 

Protected Attributes

std::map< std::string, CDir > m_cache
 
CCriticalSection m_cs
 
unsigned int m_accessCounter
 

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