Data1Doc.cpp
资源名称:基本GIS系统开发.rar [点击查看]
上传用户:yklx818
上传日期:2013-04-13
资源大小:459k
文件大小:1k
源码类别:
GIS编程
开发平台:
Visual C++
- // Data1Doc.cpp : implementation of the CData1Doc class
- //
- #include "stdafx.h"
- #include "Data1.h"
- #include "Data1Set.h"
- #include "Data1Doc.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CData1Doc
- IMPLEMENT_DYNCREATE(CData1Doc, CDocument)
- BEGIN_MESSAGE_MAP(CData1Doc, CDocument)
- //{{AFX_MSG_MAP(CData1Doc)
- // NOTE - the ClassWizard will add and remove mapping macros here.
- // DO NOT EDIT what you see in these blocks of generated code!
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CData1Doc construction/destruction
- CData1Doc::CData1Doc()
- {
- // TODO: add one-time construction code here
- }
- CData1Doc::~CData1Doc()
- {
- }
- BOOL CData1Doc::OnNewDocument()
- {
- if (!CDocument::OnNewDocument())
- return FALSE;
- // TODO: add reinitialization code here
- // (SDI documents will reuse this document)
- return TRUE;
- }
- /////////////////////////////////////////////////////////////////////////////
- // CData1Doc diagnostics
- #ifdef _DEBUG
- void CData1Doc::AssertValid() const
- {
- CDocument::AssertValid();
- }
- void CData1Doc::Dump(CDumpContext& dc) const
- {
- CDocument::Dump(dc);
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CData1Doc commands