⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qfarray.h

📁 本程序源码是为日本一家地震监测机构编写的
💻 H
字号:
// QFArray.h: interface for the CQFArray class.
// Files for Quake Demo Project
// 2005.3.2
// If this code works, it was written by TY.
// If not, I don't know who wrote it.
//////////////////////////////////////////////////////////////////////

#if !defined(TY_QFARRAY)
#define TY_QFARRAY

#include <afxtempl.h>
#include <afxcoll.h>

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

//class CQuakeView;
//class CQuakeFileManager;


class CQFArray  
{
public:
	CQFArray();
	virtual ~CQFArray();
private:
	CArray<QFItem,QFItem&>m_QFList;

public:
	BOOL IsPNExist() const;
	int GetSize() const;
	void SetSize( int nNewSize, int nGrowBy = -1 );
	QFItem GetAt( int nIndex ) const;
	void RemoveAll();
	void Serialize(CArchive& ar);

	CQFArray& operator= (const CQFArray& right);
	BOOL operator==(const CQFArray& right);
	BOOL operator!=(const CQFArray& right);
	QFItem& operator[] (unsigned index);
	QFItem  operator[] (unsigned index) const;

	//	void MakePNArray( CQuakeFileManager* pFileManager ) const;
	//	void MakePNArray( CQuakeView* pView ) const;
};

#endif // !defined(TY_QFARRAY)

⌨️ 快捷键说明

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