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

📄 digitalmapdoc.h

📁 VC++开发广州市交通运输干线
💻 H
字号:
// DigitalMapDoc.h : interface of the CDigitalMapDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_DIGITALMAPDOC_H__06D8EA8D_7C1D_4F09_9F8F_D5F5E4AEA8A6__INCLUDED_)
#define AFX_DIGITALMAPDOC_H__06D8EA8D_7C1D_4F09_9F8F_D5F5E4AEA8A6__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "GeoMap.h"
#include "IncluGeoH.h"
class CDigitalMapDoc : public CDocument
{
protected: // create from serialization only
	CDigitalMapDoc();
	DECLARE_DYNCREATE(CDigitalMapDoc)

// Attributes
public:
	CGeoMap m_cGeoMap;
	BOOL m_bMapLoad;
	BOOL m_bAttriLoad;
	CImageList	m_TreeViewImg;//树状视图图像列表
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDigitalMapDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	virtual void SetTitle(LPCTSTR lpszTitle);
	//}}AFX_VIRTUAL

// Implementation
public:
	void AddPGIndexToGrid(int nLyerIndex, int nPGIndex, CGeoRect rtPGRect);
	void AddPLIndexToGrid(int nLyerIndex,int nPLIndex,CGeoRect rtPLRect);
	void FromAttriCodeToContent(int nAttriCode,CString &strContent);
	void AddPTIndexToGrid(int nLyerIndex,int nPtIndex,CGeoPointXY cGeoPTXY);
	void FromPTXYToGridID(CGeoPointXY cGeoPTXY,int &nHorID,int &nVerID);
	void ReadAttri(CString strAttriPath);
	void FromCodeToLyName(CString strCode,CString &strLayerName);
	void AddTreeItem(CString strLayerName,HTREEITEM hti);
	BOOL ReadData(CString strDataPath);
	virtual ~CDigitalMapDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CDigitalMapDoc)
	afx_msg void OnFileOpen();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DIGITALMAPDOC_H__06D8EA8D_7C1D_4F09_9F8F_D5F5E4AEA8A6__INCLUDED_)





















⌨️ 快捷键说明

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