#include <popconindexer.h>
Public Member Functions | |
time_t | sourceTimestamp () const |
bool | needsRebuild () const |
bool | rebuild (const std::string &scofname, const std::string &idxfname) |
bool | rebuildIfNeeded () |
bool | getUpToDatePopcon (std::string &scofname, std::string &idxfname) |
bool | userIndexIsRedundant () const |
bool | deleteRedundantUserIndex () |
void | rescan () |
PopconIndexer () | |
Static Public Member Functions | |
static bool | obtainWorkingPopcon (std::string &scofname, std::string &idxfname) |
Public Attributes | |
SourceDir | mainSource |
SourceDir | userSource |
time_t | ts_main_src |
time_t | ts_user_src |
time_t | ts_main_sco |
time_t | ts_user_sco |
time_t | ts_main_idx |
time_t | ts_user_idx |
ept::popcon::PopconIndexer::PopconIndexer | ( | ) |
time_t ept::popcon::PopconIndexer::sourceTimestamp | ( | ) | const [inline] |
bool ept::popcon::PopconIndexer::needsRebuild | ( | ) | const |
bool ept::popcon::PopconIndexer::rebuild | ( | const std::string & | scofname, | |
const std::string & | idxfname | |||
) |
bool ept::popcon::PopconIndexer::rebuildIfNeeded | ( | ) |
bool ept::popcon::PopconIndexer::getUpToDatePopcon | ( | std::string & | scofname, | |
std::string & | idxfname | |||
) |
bool ept::popcon::PopconIndexer::userIndexIsRedundant | ( | ) | const |
bool ept::popcon::PopconIndexer::deleteRedundantUserIndex | ( | ) |
void ept::popcon::PopconIndexer::rescan | ( | ) |
bool ept::popcon::PopconIndexer::obtainWorkingPopcon | ( | std::string & | scofname, | |
std::string & | idxfname | |||
) | [static] |