|
libept
0.5.25
|
Singleton class to configure and access the various Popcon paths. More...
#include <path.h>

Classes | |
| class | OverrideIndexDir |
Static Public Member Functions | |
| static std::string | indexDir () |
| static std::string | index () |
| static void | setIndexDir (const std::string &s) |
| static int | access (const std::string &, int) |
| static time_t | indexTimestamp () |
| static void | setTimestamp (time_t ts) |
Static Protected Member Functions | |
| static Path & | instance () |
Protected Attributes | |
| std::string | m_indexDir |
Static Protected Attributes | |
| static Path * | s_instance = 0 |
Singleton class to configure and access the various Popcon paths.
| int ept::textsearch::Path::access | ( | const std::string & | s, |
| int | m | ||
| ) | [static] |
| std::string ept::textsearch::Path::index | ( | ) | [static] |
| std::string ept::textsearch::Path::indexDir | ( | ) | [static] |
| time_t ept::textsearch::Path::indexTimestamp | ( | ) | [static] |
Referenced by ept::textsearch::TextSearch::TextSearch(), and ept::core::xapian::Source::timestamp().
| Path & ept::textsearch::Path::instance | ( | ) | [static, protected] |
References m_indexDir.
| void ept::textsearch::Path::setIndexDir | ( | const std::string & | s | ) | [static] |
| void ept::textsearch::Path::setTimestamp | ( | time_t | ts | ) | [static] |
Referenced by ept::textsearch::TextSearch::rebuildIfNeeded().
std::string ept::textsearch::Path::m_indexDir [protected] |
Referenced by instance().
Path * ept::textsearch::Path::s_instance = 0 [static, protected] |
1.7.6.1