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

📄 indexfile.h

📁 有计算机图形学、图像处理、dbms、sniffer、中游俄罗斯外挂、othello、遗传算法、舌苔分析等程序。
💻 H
字号:
// IndexFile.h: interface for the CIndexFile class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_INDEXFILE_H__13808071_D6E2_40A7_88C9_A0F5F7051E93__INCLUDED_)
#define AFX_INDEXFILE_H__13808071_D6E2_40A7_88C9_A0F5F7051E93__INCLUDED_

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

#define OPEN 0
#define CLOSE 1 
#include "string.h"
#include "DEF.h"	// Added by ClassView
//以"IDX/0"开头
class CIndexFile 
{
	UINT ID;
    WORD wBlockNum;//上限是60000
	//UINT PriorFile;
public:
    UINT NextFile;
	BOOL status;
    //BYTE KeyType;
	//BYTE KeyNum;
	//WORD KeyLength;
	//WORD M;//B+树的阶
	//BOOL Dup

	//以上占4K空间

public:
	virtual void Close();
	void SetNextFile(UINT FileNo);
	virtual BOOL Open(LPCTSTR lpszFileName, UINT nOpenFlags,UINT id=0);

	PDB AllocateNewBlock();
	CIndexFile();
	
	CIndexFile(LPCTSTR lpszFileName, UINT nOpenFlags,UINT id=0);
	//默认项只对新建文件有用
	//throw( CFileException );
	virtual ~CIndexFile();

};
#endif // !defined(AFX_INDEXFILE_H__13808071_D6E2_40A7_88C9_A0F5F7051E93__INCLUDED_)

⌨️ 快捷键说明

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