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