Files
envi-code/SourceCode/Code2026/tg_shs/inc/geo/TGGiCompressStorage.h
T
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

49 lines
1.3 KiB
C++

//-----------------------------------------------------------------------------+
// 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