Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

GWordStore.h

00001 
00002 #ifndef _GWORDSTORE_H_
00003 #define _GWORDSTORE_H_
00004 
00005 class GWordStore
00006 {
00007     char *File;
00008     GHashTable Table;
00009     bool Dirty;
00010     int Items;
00011 
00012 public:
00013     GWordStore(char *file = 0);
00014     ~GWordStore();
00015     
00016     // Serialization
00017     bool Serialize(char *file, bool Load);
00018     
00019     // Container
00020     int GetItems();
00021     void SetItems(int s);
00022     bool Insert(char *Word);
00023     int GetWordCount(char *Word);
00024     void Empty();
00025     char *GetFile() { return File; }
00026 
00027     #ifdef _DEBUG
00028     int64 Sizeof();
00029     #endif
00030 };
00031 
00032 #endif

Generated on Wed Oct 26 14:46:50 2005 for Lgi by  doxygen 1.4.1