ept::debtags::Path Class Reference

#include <path.h>

Collaboration diagram for ept::debtags::Path:

Collaboration graph
[legend]

List of all members.


Detailed Description

Singleton class to configure and access the various Debtags paths.

Static Public Member Functions

static std::string vocabulary ()
static std::string vocabularyIndex ()
static std::string userVocabulary ()
static std::string userVocabularyIndex ()
static std::string tagdb ()
static std::string tagdbIndex ()
static std::string userTagdb ()
static std::string userTagdbIndex ()
static std::string pkgidx ()
static std::string userPkgidx ()
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

Classes

class  OverrideDebtagsIndexDir
class  OverrideDebtagsSourceDir
class  OverrideDebtagsUserIndexDir
class  OverrideDebtagsUserSourceDir

Member Function Documentation

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

std::string ept::debtags::Path::vocabularyIndex (  )  [static]

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

std::string ept::debtags::Path::userVocabularyIndex (  )  [static]

std::string ept::debtags::Path::tagdb (  )  [static]

std::string ept::debtags::Path::tagdbIndex (  )  [static]

std::string ept::debtags::Path::userTagdb (  )  [static]

std::string ept::debtags::Path::userTagdbIndex (  )  [static]

std::string ept::debtags::Path::pkgidx (  )  [static]

References debtagsIndexDir().

std::string ept::debtags::Path::userPkgidx (  )  [static]

References debtagsUserIndexDir().

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

References instance(), and m_debtagsSourceDir.

std::string ept::debtags::Path::debtagsIndexDir (  )  [static]

std::string ept::debtags::Path::debtagsUserSourceDir (  )  [static]

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

void ept::debtags::Path::setDebtagsSourceDir ( const std::string &  s  )  [static]

void ept::debtags::Path::setDebtagsIndexDir ( const std::string &  s  )  [static]

void ept::debtags::Path::setDebtagsUserSourceDir ( const std::string &  s  )  [static]

void ept::debtags::Path::setDebtagsUserIndexDir ( const std::string &  s  )  [static]

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

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

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


Member Data Documentation

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

Referenced by instance().

std::string ept::debtags::Path::m_debtagsSourceDir [protected]

std::string ept::debtags::Path::m_debtagsIndexDir [protected]


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

Generated on Sat Jul 26 19:50:14 2008 for libept by  doxygen 1.5.6