opensvmview.h

来自「OpenSVM was developped under Visual C++ 」· C头文件 代码 · 共 71 行

H
71
字号
// OpenSVMView.h : interface of the COpenSVMView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_OPENSVMVIEW_H__ECAC88E2_BC0B_4493_A29D_8EF40B02E2F3__INCLUDED_)
#define AFX_OPENSVMVIEW_H__ECAC88E2_BC0B_4493_A29D_8EF40B02E2F3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class COpenSVMView : public CScrollView
{
protected: // create from serialization only
	COpenSVMView();
	DECLARE_DYNCREATE(COpenSVMView)

// Attributes
public:
	COpenSVMDoc* GetDocument();

// Operations
public:

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

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(COpenSVMView)
	afx_msg void OnTrainNormal();
	afx_msg void OnPredict();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void SetViewSize(CFile *fp,CArchive &ar);
	UINT nr_fileLine;

	void DrawLogo();
};

#ifndef _DEBUG  // debug version in OpenSVMView.cpp
inline COpenSVMDoc* COpenSVMView::GetDocument()
   { return (COpenSVMDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_OPENSVMVIEW_H__ECAC88E2_BC0B_4493_A29D_8EF40B02E2F3__INCLUDED_)

⌨️ 快捷键说明

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