cntritem.h

来自「计算机英汉机器翻译系统中的英语词性标注方法实现」· C头文件 代码 · 共 54 行

H
54
字号
// CntrItem.h : interface of the CPosTagCntrItem class
//

#if !defined(AFX_CNTRITEM_H__29BB7552_1A85_11D3_990A_004005146610__INCLUDED_)
#define AFX_CNTRITEM_H__29BB7552_1A85_11D3_990A_004005146610__INCLUDED_

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

class CPosTagDoc;
class CPosTagView;

class CPosTagCntrItem : public CRichEditCntrItem
{
	DECLARE_SERIAL(CPosTagCntrItem)

// Constructors
public:
	CPosTagCntrItem(REOBJECT* preo = NULL, CPosTagDoc* pContainer = NULL);
		// Note: pContainer is allowed to be NULL to enable IMPLEMENT_SERIALIZE.
		//  IMPLEMENT_SERIALIZE requires the class have a constructor with
		//  zero arguments.  Normally, OLE items are constructed with a
		//  non-NULL document pointer.

// Attributes
public:
	CPosTagDoc* GetDocument()
		{ return (CPosTagDoc*)CRichEditCntrItem::GetDocument(); }
	CPosTagView* GetActiveView()
		{ return (CPosTagView*)CRichEditCntrItem::GetActiveView(); }

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPosTagCntrItem)
	public:
	protected:
	//}}AFX_VIRTUAL

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

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CNTRITEM_H__29BB7552_1A85_11D3_990A_004005146610__INCLUDED_)

⌨️ 快捷键说明

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