ept::popcon::Path Class Reference

#include <path.h>

Collaboration diagram for ept::popcon::Path:

Collaboration graph
[legend]

List of all members.


Detailed Description

Singleton class to configure and access the various Popcon paths.

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

Classes

class  OverridePopconIndexDir
class  OverridePopconSourceDir
class  OverridePopconUserIndexDir
class  OverridePopconUserSourceDir

Member Function Documentation

std::string ept::popcon::Path::scores (  )  [static]

std::string ept::popcon::Path::scoresIndex (  )  [static]

std::string ept::popcon::Path::userScores (  )  [static]

std::string ept::popcon::Path::userScoresIndex (  )  [static]

std::string ept::popcon::Path::popconSourceDir (  )  [static]

References instance(), and m_popconSourceDir.

std::string ept::popcon::Path::popconIndexDir (  )  [static]

std::string ept::popcon::Path::popconUserSourceDir (  )  [static]

std::string ept::popcon::Path::popconUserIndexDir (  )  [static]

References instance(), and m_popconUserIndexDir.

Referenced by userScores(), and userScoresIndex().

void ept::popcon::Path::setPopconSourceDir ( const std::string &  s  )  [static]

void ept::popcon::Path::setPopconIndexDir ( const std::string &  s  )  [static]

void ept::popcon::Path::setPopconUserSourceDir ( const std::string &  s  )  [static]

void ept::popcon::Path::setPopconUserIndexDir ( const std::string &  s  )  [static]

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

time_t ept::popcon::Path::timestamp ( const std::string &  file  )  [static]

Path & ept::popcon::Path::instance (  )  [static, protected]


Member Data Documentation

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

Referenced by instance().

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

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

std::string ept::popcon::Path::m_popconUserIndexDir [protected]


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

Generated on Sun Jul 27 05:54:48 2008 for libept by  doxygen 1.5.6