⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tabmaptoolblock.h

📁 linux下一款GIS程序源码
💻 H
字号:
// tabmaptoolblock.h: interface for the TABMAPToolBlock class.///*--------------------------------------------------------------------- *                      class TABMAPToolBlock * * Class to handle Read/Write operation on .MAP Drawing Tool Blocks (Type 05) * * In addition to handling the I/O, this class also maintains the list  * of Tool definitions in memory. *--------------------------------------------------------------------*/#ifndef  TABMAPToolBlock_H#define  TABMAPToolBlock_H#include "tabrawbinblock.h"#include "tabbinblockmanager.h"class TABMAPToolBlock : public TABRawBinBlock  {protected:    int         m_numDataBytes; /* Excluding first 8 bytes header */    UGKInt32      m_nNextToolBlock;    int         m_numBlocksInChain;	TABBinBlockManager *m_poBlockManagerRef;public:	TABMAPToolBlock(TABAccess eAccessMode = TABRead);	virtual ~TABMAPToolBlock();    virtual int InitBlockFromData(UGKByte *pabyBuf, int nSize,                               UGKBool bMakeCopy = TRUE,                              FILE *fpSrc = NULL, int nOffset = 0);    virtual int InitNewBlock(FILE *fpSrc, int nBlockSize, int nFileOffset=0);    virtual int CommitToFile();	virtual int GetBlockClass() { return TABMAP_TOOL_BLOCK; };    void        SetMAPBlockManagerRef(TABBinBlockManager *poBlockManager);    virtual int ReadBytes(int numBytes, UGKByte *pabyDstBuf);    virtual int WriteBytes(int nBytesToWrite, UGKByte *pBuf);	void        SetNextToolBlock(UGKInt32 nNextCoordBlockAddress);    UGKBool       EndOfChain();    int         GetNumBlocksInChain() { return m_numBlocksInChain; };	int         CheckAvailableSpace(int nToolType);	virtual void Dump(FILE *fpOut = NULL);};#endif 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -