00001 #ifndef _GDiskBTree_h_
00002 #define _GDiskBTree_h_
00003
00004 class GDiskBTree
00005 {
00006 class GDiskBTreePrivate *d;
00007
00008 public:
00009 GDiskBTree(char *File, int DataSize = sizeof(int));
00010 virtual ~GDiskBTree();
00011
00012
00013 bool Open(char *File);
00014 bool Close();
00015
00016
00017 int64 GetSize();
00018 bool Insert(char *Key, void *Data);
00019 bool Delete(char *Key);
00020 void *HasItem(char *Key);
00021 bool Empty();
00022
00023
00024 void *First(char **Key = 0);
00025 void *Next(char **Key = 0);
00026 };
00027
00028 #endif