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