instrview.h

来自「计算机体系结构中关于通用5级流水线的模拟实现程序」· C头文件 代码 · 共 59 行

H
59
字号
#if !defined(AFX_INSTRVIEW_H__B09A2C8C_C0A2_422F_8656_6FA1C3D9BDB7__INCLUDED_)
#define AFX_INSTRVIEW_H__B09A2C8C_C0A2_422F_8656_6FA1C3D9BDB7__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// InstrView.h : header file
//
#include "PipelineDoc.h"
/////////////////////////////////////////////////////////////////////////////
// InstrView view

class InstrView : public CScrollView
{
private:
	CRect m_rectPrint;
protected:
	InstrView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(InstrView)

// Attributes
public:
	CPipelineDoc* GetDocument();
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(InstrView)
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual void OnInitialUpdate();     // first time after construct
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~InstrView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(InstrView)
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////
#ifndef _DEBUG  // debug version in PipelineView.cpp
inline CPipelineDoc* InstrView::GetDocument()
   { return (CPipelineDoc*)m_pDocument; }
#endif
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_INSTRVIEW_H__B09A2C8C_C0A2_422F_8656_6FA1C3D9BDB7__INCLUDED_)

⌨️ 快捷键说明

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