tabtooldeftable.h
来自「linux下一款GIS程序源码」· C头文件 代码 · 共 64 行
H
64 行
// tabtooldeftable.h: interface for the TABToolDefTable class.///*--------------------------------------------------------------------- * class TABToolDefTable * * Class to handle the list of Drawing Tool Definitions for a dataset * * This class also contains methods to read tool defs from the file and * write them to the file. *--------------------------------------------------------------------*/#ifndef TABToolDefTable_H#define TABToolDefTable_H#include "ugkglobal.h"#include "tabmaptoolblock.h"class TABToolDefTable { protected: TABPenDef **m_papsPen; int m_numPen; int m_numAllocatedPen; TABBrushDef **m_papsBrush; int m_numBrushes; int m_numAllocatedBrushes; TABFontDef **m_papsFont; int m_numFonts; int m_numAllocatedFonts; TABSymbolDef **m_papsSymbol; int m_numSymbols; int m_numAllocatedSymbols;public: TABToolDefTable(); virtual ~TABToolDefTable(); int ReadAllToolDefs(TABMAPToolBlock *poToolBlock); int WriteAllToolDefs(TABMAPToolBlock *poToolBlock); TABPenDef *GetPenDefRef(int nIndex); int AddPenDefRef(TABPenDef *poPenDef); int GetNumPen(); TABBrushDef *GetBrushDefRef(int nIndex); int AddBrushDefRef(TABBrushDef *poBrushDef); int GetNumBrushes(); TABFontDef *GetFontDefRef(int nIndex); int AddFontDefRef(TABFontDef *poFontDef); int GetNumFonts(); TABSymbolDef *GetSymbolDefRef(int nIndex); int AddSymbolDefRef(TABSymbolDef *poSymbolDef); int GetNumSymbols(); int GetMinVersionNumber(); void PrintfInfo();};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?