?? gistfile.h
字號:
// Mode: -*- C++ -*-
// GiSTfile.h
//
// Copyright (c) 1996, Regents of the University of California
// $Header: /cvsroot/fastdb/fastdb/GiST/libGiST/GiSTfile.h,v 1.1 2007/07/18 20:45:49 knizhnik Exp $
#ifndef GISTFILE_H
#define GISTFILE_H
#include "GiSTstore.h"
// GiSTfile is a simple storage class for GiSTs to work over
// UNIX/NT files.
class GiSTfile : public GiSTstore {
public:
GiSTfile() : GiSTstore() {}
void Create(const char *filename);
void Open(const char *filename);
void Close();
void Read(GiSTpage page, char *buf);
void Write(GiSTpage page, const char *buf);
GiSTpage Allocate();
void Deallocate(GiSTpage page);
void Sync() {}
int PageSize() const { return 8192; }
private:
int fileHandle;
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -