vtkmfcdocument.cpp

来自「a very goog book」· C++ 代码 · 共 76 行

CPP
76
字号
// vtkMFCDocument.cpp : implementation file//#include "stdafx.h"#include "Sample.h"#include "vtkMFCDocument.h"#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif/////////////////////////////////////////////////////////////////////////////// vtkMFCDocumentIMPLEMENT_DYNCREATE(vtkMFCDocument, CDocument)vtkMFCDocument::vtkMFCDocument(){  this->Props = vtkPropCollection::New();}BOOL vtkMFCDocument::OnNewDocument(){	if (!CDocument::OnNewDocument())		return FALSE;	return TRUE;}vtkMFCDocument::~vtkMFCDocument(){  if (this->Props) this->Props->Delete();}BEGIN_MESSAGE_MAP(vtkMFCDocument, CDocument)	//{{AFX_MSG_MAP(vtkMFCDocument)		// NOTE - the ClassWizard will add and remove mapping macros here.	//}}AFX_MSG_MAPEND_MESSAGE_MAP()/////////////////////////////////////////////////////////////////////////////// vtkMFCDocument diagnostics#ifdef _DEBUGvoid vtkMFCDocument::AssertValid() const{	CDocument::AssertValid();}void vtkMFCDocument::Dump(CDumpContext& dc) const{	CDocument::Dump(dc);}#endif //_DEBUG/////////////////////////////////////////////////////////////////////////////// vtkMFCDocument serializationvoid vtkMFCDocument::Serialize(CArchive& ar){	if (ar.IsStoring())	{		// TODO: add storing code here	}	else	{		// TODO: add loading code here	}}/////////////////////////////////////////////////////////////////////////////// vtkMFCDocument commands

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?