libept
Public Member Functions | Static Public Member Functions | Public Attributes
ept::popcon::PopconIndexer Struct Reference

#include <popconindexer.h>

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

bool ept::popcon::PopconIndexer::deleteRedundantUserIndex ( )
bool ept::popcon::PopconIndexer::getUpToDatePopcon ( std::string &  scofname,
std::string &  idxfname 
)
bool ept::popcon::PopconIndexer::needsRebuild ( ) const
bool ept::popcon::PopconIndexer::obtainWorkingPopcon ( std::string &  scofname,
std::string &  idxfname 
) [static]
bool ept::popcon::PopconIndexer::rebuild ( const std::string &  scofname,
const std::string &  idxfname 
)
bool ept::popcon::PopconIndexer::rebuildIfNeeded ( )
void ept::popcon::PopconIndexer::rescan ( )
time_t ept::popcon::PopconIndexer::sourceTimestamp ( ) const [inline]
bool ept::popcon::PopconIndexer::userIndexIsRedundant ( ) const

Member Data Documentation

Referenced by rebuild(), and rescan().

Referenced by rescan(), and sourceTimestamp().

Referenced by rebuild(), and rescan().


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