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

Public Member Functions

std::pair< std::string, int > SongFromStatement (Song *song, SQLite::Statement &query) const
 
void LoadHyperCache (LoadingWindow *ld, std::map< std::string, Song * > &hyperCache)
 
void LoadCache (LoadingWindow *ld, std::vector< std::pair< std::pair< std::string, unsigned int >, Song * > * > &cache) const
 
void DeleteSongFromDBByCondition (const std::string &condition) const
 
void DeleteSongFromDB (Song *songPtr) const
 
void DeleteSongFromDBByDir (const std::string &dir) const
 
void DeleteSongFromDBByDirHash (unsigned int hash) const
 
unsigned GetCacheHash (const std::string &path) const
 
int64_t InsertStepsTimingData (const TimingData &timing) const
 
int64_t InsertSteps (Steps *pSteps, int64_t songID) const
 
bool LoadSongFromCache (Song *song, const std::string &dir)
 
bool CacheSong (Song &song, const std::string &dir) const
 
void StartTransaction ()
 
void FinishTransaction ()
 

Static Public Member Functions

static std::string GetCacheFilePath (const std::string &sGroup, const std::string &sPath)
 

Public Attributes

SQLite::Database * db { nullptr }
 
bool delay_save_cache
 

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