libept  0.5.25
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ept::debtags::DebtagsIndexer Struct Reference

#include <debtagsindexer.h>

Collaboration diagram for ept::debtags::DebtagsIndexer:
Collaboration graph
[legend]

Public Member Functions

time_t sourceTimestamp () const
 
bool needsRebuild () const
 
bool rebuild (const std::string &tagfname, const std::string &idxfname)
 
bool rebuildIfNeeded ()
 
bool getUpToDateTagdb (std::string &tagfname, std::string &idxfname)
 
bool userIndexIsRedundant () const
 
bool deleteRedundantUserIndex ()
 
void rescan ()
 
 DebtagsIndexer (Vocabulary &voc)
 

Static Public Member Functions

static bool obtainWorkingDebtags (Vocabulary &voc, std::string &tagfname, std::string &idxfname)
 

Public Attributes

Vocabularyvoc
 
SourceDir mainSource
 
SourceDir userSource
 
time_t ts_main_src
 
time_t ts_user_src
 
time_t ts_main_tag
 
time_t ts_main_idx
 
time_t ts_user_tag
 
time_t ts_user_idx
 

Constructor & Destructor Documentation

ept::debtags::DebtagsIndexer::DebtagsIndexer ( Vocabulary voc)

References rescan().

Referenced by sourceTimestamp().

Member Function Documentation

bool ept::debtags::DebtagsIndexer::deleteRedundantUserIndex ( )
bool ept::debtags::DebtagsIndexer::getUpToDateTagdb ( std::string &  tagfname,
std::string &  idxfname 
)
bool ept::debtags::DebtagsIndexer::needsRebuild ( ) const
bool ept::debtags::DebtagsIndexer::obtainWorkingDebtags ( Vocabulary voc,
std::string &  tagfname,
std::string &  idxfname 
)
static
bool ept::debtags::DebtagsIndexer::rebuild ( const std::string &  tagfname,
const std::string &  idxfname 
)
bool ept::debtags::DebtagsIndexer::rebuildIfNeeded ( )
void ept::debtags::DebtagsIndexer::rescan ( )
time_t ept::debtags::DebtagsIndexer::sourceTimestamp ( ) const
inline
bool ept::debtags::DebtagsIndexer::userIndexIsRedundant ( ) const

Member Data Documentation

SourceDir ept::debtags::DebtagsIndexer::mainSource

Referenced by rebuild(), and rescan().

time_t ept::debtags::DebtagsIndexer::ts_main_idx
time_t ept::debtags::DebtagsIndexer::ts_main_src

Referenced by rescan(), and sourceTimestamp().

time_t ept::debtags::DebtagsIndexer::ts_main_tag
time_t ept::debtags::DebtagsIndexer::ts_user_idx
time_t ept::debtags::DebtagsIndexer::ts_user_src
time_t ept::debtags::DebtagsIndexer::ts_user_tag
SourceDir ept::debtags::DebtagsIndexer::userSource

Referenced by rebuild(), and rescan().

Vocabulary& ept::debtags::DebtagsIndexer::voc

Referenced by rebuild().


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