neuralnetworkview.h

来自「使用神经网络开发包实现图形化的神经网络模拟」· C头文件 代码 · 共 76 行

H
76
字号
// NeuralNetworkView.h : interface of the CNeuralNetworkView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_NEURALNETWORKVIEW_H__F889B8B0_9FCE_40D4_9A9E_99A94BDFE26E__INCLUDED_)
#define AFX_NEURALNETWORKVIEW_H__F889B8B0_9FCE_40D4_9A9E_99A94BDFE26E__INCLUDED_

#include "NeuralNetworkPlatform.h"	// Added by ClassView
#include "NeuralNetworkDoc.h"		//此处原因不详
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CNeuralNetworkView : public CView
{
protected: // create from serialization only
	CNeuralNetworkView();
	DECLARE_DYNCREATE(CNeuralNetworkView)

// Attributes
public:
	CNeuralNetworkDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CNeuralNetworkView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	//}}AFX_VIRTUAL

// Implementation
public:
	
//	CString Bmpname;
//	CString test;
	virtual ~CNeuralNetworkView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CNeuralNetworkView)
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnNeuronInsert();
	afx_msg void OnNeuronTrain();
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnNeuronTest();
	afx_msg void OnAppHelp();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in NeuralNetworkView.cpp
inline CNeuralNetworkDoc* CNeuralNetworkView::GetDocument()
   { return (CNeuralNetworkDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_NEURALNETWORKVIEW_H__F889B8B0_9FCE_40D4_9A9E_99A94BDFE26E__INCLUDED_)

⌨️ 快捷键说明

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