//-----------------------------------------------------------------------------+ // Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd. // = FileName : TGGiCompressStorage 类 // = Version : ver2.0 // = Author : wlw // = CreateDate : 2002-09-09 // = Description: TGGiCompressStorage 声明 // = Maintainers: // //-----------------------------------------------------------------------------+ #ifndef _TGGICOMPRESSSTORAGE_H_ #define _TGGICOMPRESSSTORAGE_H_ #ifndef _TGGISLIBSTORAGE_H_ #include "TGGiSlibStorage.h" #endif #ifndef _XSTRING_ #include "TACString.h" #endif #ifndef _TWCSTRING_H_ #include "TWCString.h" #endif class GEOAPI TGGiCompressStorage : public TGGiSlibStorage { public: TGGiCompressStorage(const TCHAR *fname, const TCHAR *ext, const TCHAR *title,int opMode = (_ios::in | _ios::out | _ios::binary)); virtual ~TGGiCompressStorage(); //拷贝第 n 个记录到磁盘文件 virtual int Copy(int n, const TCHAR *sldfile); virtual int QuickCopy(const TCHAR *sldfile); //移第 n 个记录到磁盘文件 virtual int Move(int n, const TCHAR *sldfile); // 往库文件添加一个记录 virtual int Append(const TCHAR *sldfile, const TCHAR *szEntryEname = NULL); public: TCString extNormal; //正常文件的后缀 }; #endif