Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

3dvisDoc.cpp

Go to the documentation of this file.
00001 // 3dvisDoc.cpp : implementation of the CMy3dvisDoc class
00002 //
00003 
00004 #include "stdafx.h"
00005 #include "3dvis.h"
00006 
00007 #include "3dvisDoc.h"
00008 
00009 #ifdef _DEBUG
00010 #define new DEBUG_NEW
00011 #undef THIS_FILE
00012 static char THIS_FILE[] = __FILE__;
00013 #endif
00014 
00016 // CMy3dvisDoc
00017 
00018 IMPLEMENT_DYNCREATE(CMy3dvisDoc, CDocument)
00019 
00020 BEGIN_MESSAGE_MAP(CMy3dvisDoc, CDocument)
00021         //{{AFX_MSG_MAP(CMy3dvisDoc)
00022                 // NOTE - the ClassWizard will add and remove mapping macros here.
00023                 //    DO NOT EDIT what you see in these blocks of generated code!
00024         //}}AFX_MSG_MAP
00025 END_MESSAGE_MAP()
00026 
00027 
00028 // CMy3dvisDoc construction/destruction
00029 
00030 CMy3dvisDoc::CMy3dvisDoc()
00031 {
00032         // TODO: add one-time construction code here
00033 
00034 }
00035 
00036 CMy3dvisDoc::~CMy3dvisDoc()
00037 {
00038 }
00039 
00040 BOOL CMy3dvisDoc::OnNewDocument()
00041 {
00042         if (!CDocument::OnNewDocument())
00043                 return FALSE;
00044 
00045         // TODO: add reinitialization code here
00046         // (SDI documents will reuse this document)
00047 
00048         return TRUE;
00049 }
00050 
00051 
00052 
00054 // CMy3dvisDoc serialization
00055 
00056 void CMy3dvisDoc::Serialize(CArchive& ar)
00057 {
00058         if (ar.IsStoring())
00059         {
00060                 // TODO: add storing code here
00061         }
00062         else
00063         {
00064                 // TODO: add loading code here
00065         }
00066 }
00067 
00069 // CMy3dvisDoc diagnostics
00070 
00071 #ifdef _DEBUG
00072 void CMy3dvisDoc::AssertValid() const
00073 {
00074         CDocument::AssertValid();
00075 }
00076 
00077 void CMy3dvisDoc::Dump(CDumpContext& dc) const
00078 {
00079         CDocument::Dump(dc);
00080 }
00081 #endif //_DEBUG
00082 
00084 // CMy3dvisDoc commands

Generated on Thu Jan 30 21:35:43 2003 for 3DVis by doxygen1.3-rc2