Classes | Static Public Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes

ept::debtags::Path Class Reference

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

#include <path.h>

List of all members.

Classes

class  OverrideDebtagsIndexDir
class  OverrideDebtagsSourceDir
class  OverrideDebtagsUserIndexDir
class  OverrideDebtagsUserSourceDir

Static Public Member Functions

static std::string vocabulary ()
static std::string userVocabulary ()
static std::string tagdb ()
static std::string userTagdb ()
static std::string debtagsSourceDir ()
static std::string debtagsIndexDir ()
static std::string debtagsUserSourceDir ()
static std::string debtagsUserIndexDir ()
static void setDebtagsSourceDir (const std::string &s)
static void setDebtagsIndexDir (const std::string &s)
static void setDebtagsUserSourceDir (const std::string &s)
static void setDebtagsUserIndexDir (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_debtagsSourceDir
std::string m_debtagsIndexDir
std::string m_debtagsUserSourceDir
std::string m_debtagsUserIndexDir

Static Protected Attributes

static Paths_instance = 0

Detailed Description

Singleton class to configure and access the various Debtags paths.


Member Function Documentation

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

References instance(), and m_debtagsIndexDir.

Referenced by tagdb(), and vocabulary().

std::string ept::debtags::Path::debtagsSourceDir (  )  [static]
std::string ept::debtags::Path::debtagsUserIndexDir (  )  [static]

References instance(), and m_debtagsUserIndexDir.

Referenced by userTagdb(), and userVocabulary().

std::string ept::debtags::Path::debtagsUserSourceDir (  )  [static]
Path & ept::debtags::Path::instance (  )  [static, protected]
void ept::debtags::Path::setDebtagsIndexDir ( const std::string &  s  )  [static]
void ept::debtags::Path::setDebtagsSourceDir ( const std::string &  s  )  [static]
void ept::debtags::Path::setDebtagsUserIndexDir ( const std::string &  s  )  [static]
void ept::debtags::Path::setDebtagsUserSourceDir ( const std::string &  s  )  [static]
std::string ept::debtags::Path::tagdb (  )  [static]

References debtagsIndexDir().

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

References debtagsUserIndexDir().

std::string ept::debtags::Path::userVocabulary (  )  [static]
std::string ept::debtags::Path::vocabulary (  )  [static]

Member Data Documentation

std::string ept::debtags::Path::m_debtagsIndexDir [protected]
std::string ept::debtags::Path::m_debtagsSourceDir [protected]
Path * ept::debtags::Path::s_instance = 0 [static, protected]

Referenced by instance().


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