libept
Classes | Static Public Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes
ept::popcon::Path Class Reference

Singleton class to configure and access the various Popcon paths. More...

#include <path.h>

List of all members.

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 Pathinstance ()

Protected Attributes

std::string m_popconSourceDir
std::string m_popconIndexDir
std::string m_popconUserSourceDir
std::string m_popconUserIndexDir

Static Protected Attributes

static Paths_instance = 0

Detailed Description

Singleton class to configure and access the various Popcon paths.


Member Function Documentation

int ept::popcon::Path::access ( const std::string &  s,
int  m 
) [static]
Path & ept::popcon::Path::instance ( ) [static, protected]

References m_popconSourceDir.

std::string ept::popcon::Path::popconIndexDir ( ) [static]
std::string ept::popcon::Path::popconSourceDir ( ) [static]
std::string ept::popcon::Path::popconUserIndexDir ( ) [static]
std::string ept::popcon::Path::popconUserSourceDir ( ) [static]
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]

Member Data Documentation

std::string ept::popcon::Path::m_popconIndexDir [protected]
std::string ept::popcon::Path::m_popconSourceDir [protected]

Referenced by instance().

std::string ept::popcon::Path::m_popconUserIndexDir [protected]
Path * ept::popcon::Path::s_instance = 0 [static, protected]

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