www.pudn.com > hmmPlatform.rar > PlatformDoc.cpp
// PlatformDoc.cpp : CPlatformDoc 类的实现
//
#include "stdafx.h"
#include "Platform.h"
#include "PlatformDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CPlatformDoc
IMPLEMENT_DYNCREATE(CPlatformDoc, CDocument)
BEGIN_MESSAGE_MAP(CPlatformDoc, CDocument)
END_MESSAGE_MAP()
// CPlatformDoc 构造/析构
CPlatformDoc::CPlatformDoc()
{
// TODO: 在此添加一次性构造代码
}
CPlatformDoc::~CPlatformDoc()
{
}
BOOL CPlatformDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: 在此添加重新初始化代码
// (SDI 文档将重用该文档)
return TRUE;
}
// CPlatformDoc 序列化
void CPlatformDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: 在此添加存储代码
}
else
{
// TODO: 在此添加加载代码
}
}
// CPlatformDoc 诊断
#ifdef _DEBUG
void CPlatformDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CPlatformDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
// CPlatformDoc 命令