www.pudn.com > GEOMAP.rar > GEOMAPDoc.cpp, change:2005-04-13,size:1742b


// GEOMAPDoc.cpp : implementation of the CGEOMAPDoc class 
// 
 
#include "stdafx.h" 
#include "GEOMAP.h" 
 
#include "GEOMAPDoc.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CGEOMAPDoc 
 
IMPLEMENT_DYNCREATE(CGEOMAPDoc, CDocument) 
 
BEGIN_MESSAGE_MAP(CGEOMAPDoc, CDocument) 
	//{{AFX_MSG_MAP(CGEOMAPDoc) 
		// 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() 
 
///////////////////////////////////////////////////////////////////////////// 
// CGEOMAPDoc construction/destruction 
 
CGEOMAPDoc::CGEOMAPDoc() 
{ 
	// TODO: add one-time construction code here 
 
} 
 
CGEOMAPDoc::~CGEOMAPDoc() 
{ 
} 
 
BOOL CGEOMAPDoc::OnNewDocument() 
{ 
	if (!CDocument::OnNewDocument()) 
		return FALSE; 
 
	// TODO: add reinitialization code here 
	// (SDI documents will reuse this document) 
 
	return TRUE; 
} 
 
 
 
///////////////////////////////////////////////////////////////////////////// 
// CGEOMAPDoc serialization 
 
void CGEOMAPDoc::Serialize(CArchive& ar) 
{ 
	if (ar.IsStoring()) 
	{ 
		// TODO: add storing code here 
	} 
	else 
	{ 
		// TODO: add loading code here 
	} 
} 
 
///////////////////////////////////////////////////////////////////////////// 
// CGEOMAPDoc diagnostics 
 
#ifdef _DEBUG 
void CGEOMAPDoc::AssertValid() const 
{ 
	CDocument::AssertValid(); 
} 
 
void CGEOMAPDoc::Dump(CDumpContext& dc) const 
{ 
	CDocument::Dump(dc); 
} 
#endif //_DEBUG 
 
///////////////////////////////////////////////////////////////////////////// 
// CGEOMAPDoc commands