Singleton class to configure and access the various Popcon paths. More...
#include <path.h>
Classes | |
class | OverridePopconIndexDir |
class | OverridePopconSourceDir |
class | OverridePopconUserIndexDir |
class | OverridePopconUserSourceDir |
Static Public Member Functions | |
static std::string | scores () |
static std::string | scoresIndex () |
static std::string | userScores () |
static std::string | userScoresIndex () |
static std::string | popconSourceDir () |
static std::string | popconIndexDir () |
static std::string | popconUserSourceDir () |
static std::string | popconUserIndexDir () |
static void | setPopconSourceDir (const std::string &s) |
static void | setPopconIndexDir (const std::string &s) |
static void | setPopconUserSourceDir (const std::string &s) |
static void | setPopconUserIndexDir (const std::string &s) |
static int | access (const std::string &, int) |
static time_t | timestamp (const std::string &) |
Static Protected Member Functions | |
static Path & | instance () |
Protected Attributes | |
std::string | m_popconSourceDir |
std::string | m_popconIndexDir |
std::string | m_popconUserSourceDir |
std::string | m_popconUserIndexDir |
Static Protected Attributes | |
static Path * | s_instance = 0 |
Singleton class to configure and access the various Popcon paths.
int ept::popcon::Path::access | ( | const std::string & | s, | |
int | m | |||
) | [static] |
Referenced by ept::popcon::PopconIndexer::rebuildIfNeeded().
Path & ept::popcon::Path::instance | ( | ) | [static, protected] |
References m_popconIndexDir, m_popconSourceDir, m_popconUserIndexDir, m_popconUserSourceDir, and s_instance.
Referenced by popconIndexDir(), popconSourceDir(), popconUserIndexDir(), popconUserSourceDir(), setPopconIndexDir(), setPopconSourceDir(), setPopconUserIndexDir(), and setPopconUserSourceDir().
std::string ept::popcon::Path::popconIndexDir | ( | ) | [static] |
References instance(), and m_popconIndexDir.
Referenced by ept::popcon::PopconIndexer::rebuildIfNeeded(), scores(), and scoresIndex().
std::string ept::popcon::Path::popconSourceDir | ( | ) | [static] |
References instance(), and m_popconSourceDir.
std::string ept::popcon::Path::popconUserIndexDir | ( | ) | [static] |
References instance(), and m_popconUserIndexDir.
Referenced by userScores(), and userScoresIndex().
std::string ept::popcon::Path::popconUserSourceDir | ( | ) | [static] |
References instance(), and m_popconUserSourceDir.
std::string ept::popcon::Path::scores | ( | ) | [static] |
std::string ept::popcon::Path::scoresIndex | ( | ) | [static] |
void ept::popcon::Path::setPopconIndexDir | ( | const std::string & | s | ) | [static] |
void ept::popcon::Path::setPopconSourceDir | ( | const std::string & | s | ) | [static] |
void ept::popcon::Path::setPopconUserIndexDir | ( | const std::string & | s | ) | [static] |
void ept::popcon::Path::setPopconUserSourceDir | ( | const std::string & | s | ) | [static] |
time_t ept::popcon::Path::timestamp | ( | const std::string & | file | ) | [static] |
std::string ept::popcon::Path::userScores | ( | ) | [static] |
std::string ept::popcon::Path::userScoresIndex | ( | ) | [static] |
std::string ept::popcon::Path::m_popconIndexDir [protected] |
Referenced by instance(), popconIndexDir(), and setPopconIndexDir().
std::string ept::popcon::Path::m_popconSourceDir [protected] |
Referenced by instance(), popconSourceDir(), and setPopconSourceDir().
std::string ept::popcon::Path::m_popconUserIndexDir [protected] |
Referenced by instance(), popconUserIndexDir(), and setPopconUserIndexDir().
std::string ept::popcon::Path::m_popconUserSourceDir [protected] |
Referenced by instance(), popconUserSourceDir(), and setPopconUserSourceDir().
Path * ept::popcon::Path::s_instance = 0 [static, protected] |
Referenced by instance().