WordDBCaches Class Reference

#include <WordDBCache.h>

List of all members.


Detailed Description

Definition at line 220 of file WordDBCache.h.


Public Member Functions

int Add (char *key, int key_size, char *data, int data_size)
int AddFile (String &filename)
int CacheCompare (int(*compare)(WordContext *, const WordDBCacheEntry *, const WordDBCacheEntry *))
int CacheFlush ()
int CacheWrite (const String &filename)
int Full () const
int Merge (WordDB &db)
int Merge (const String &filea, const String &fileb, const String &tmpname)
int Merge ()
int ReadEntry (FILE *fp, WordDBCacheEntry &entry, unsigned char *&buffer, unsigned int &buffer_size)
 WordDBCaches (WordList *nwords, int nfile_max, int size_hint, int nsize_max)
int WriteEntry (FILE *fp, WordDBCacheEntry &entry, unsigned char *&buffer, unsigned int &buffer_size)
 ~WordDBCaches ()

Private Attributes

WordDBCache cache
off_t file_max
WordDBfiles
WordLocklock
off_t size
off_t size_max
WordListwords

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

Generated on Sun Jun 8 10:57:06 2008 for GNUmifluz by  doxygen 1.5.5