tabidfile.h
来自「linux下一款GIS程序源码」· C头文件 代码 · 共 45 行
H
45 行
// tabidfile.h: interface for the TABIDFile class.///*--------------------------------------------------------------------- * class TABIDFile * * Class to handle Read/Write operation on .ID files... the .ID file * contains an index to the objects in the .MAP file by object id. *--------------------------------------------------------------------*/#ifndef TABIDFile_H#define TABIDFile_H#include "ugkglobal.h"#include "tabrawbinblock.h"class TABIDFile {private: char *m_pszFname; //文件名 FILE *m_fp; TABAccess m_eAccessMode; //访问权限 TABRawBinBlock *m_poIDBlock; //二进制块 int m_nBlockSize; UGKInt32 m_nMaxId;public: TABIDFile(); virtual ~TABIDFile(); int Open(const char *pszFname, const char *pszAccess); int Close(); UGKInt32 GetObjPtr(UGKInt32 nObjId); int SetObjPtr(UGKInt32 nObjId, UGKInt32 nObjPtr); UGKInt32 GetMaxObjId(); void Dump(FILE *fpOut = NULL);};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?