Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

TermCache Class Reference

#include <TermCache.hpp>

List of all members.

Public Methods

 TermCache ()
void add (const char *term, int termID)
 add a term to the cache.

int find (const char *term) const
 lookup a term in the cache. Returns internal termid or -1 if not found.

void clear ()
 clear the cache.


Detailed Description

External to internal term id hash table for optimizing indexing with KeyfileIncIndex.


Constructor & Destructor Documentation

TermCache::TermCache  
 


Member Function Documentation

void TermCache::add const char *    term,
int    termID
 

add a term to the cache.

void TermCache::clear  
 

clear the cache.

int TermCache::find const char *    term const
 

lookup a term in the cache. Returns internal termid or -1 if not found.


The documentation for this class was generated from the following files:
Generated on Wed Nov 3 12:59:57 2004 for Lemur Toolkit by doxygen1.2.18