ept::popcon::PopconIndexer Struct Reference

#include <popconindexer.h>

Collaboration diagram for ept::popcon::PopconIndexer:

Collaboration graph
[legend]

List of all members.

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


Constructor & Destructor Documentation

ept::popcon::PopconIndexer::PopconIndexer (  ) 

References rescan().


Member Function Documentation

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]


Member Data Documentation

Referenced by rebuild(), and rescan().

Referenced by rebuild(), and rescan().

Referenced by rescan(), and sourceTimestamp().


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

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