qfarray.h
来自「本程序源码是为日本一家地震监测机构编写的」· C头文件 代码 · 共 49 行
H
49 行
// 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 + =
减小字号Ctrl + -
显示快捷键?