📄 rt.h
字号:
// -*- Mode: C++ -*-// RT.h//// Copyright (c) 1996, Regents of the University of California// $Header: /usr/local/devel/GiST/libGiST/RSTree/RT.h,v 1.1.1.1 1996/08/06 23:47:24 jmh Exp $#ifndef RT_H#define RT_H#include "GiST.h"#include "GiSTdb.h"#include "RTentry.h"#include "RTnode.h"#include "RTpredicate.h"class RT : public GiST{public: GiSTobjid IsA() { return RT_CLASS; } RT(dbDatabase& aDb) : db(aDb) {} protected: GiSTnode *CreateNode() const { return new RTnode; } GiSTstore *CreateStore() const { return new GiSTdb(db); } // R*-trees use forced reinsert, and the top nodes to remove are chosen // specially. int ForcedReinsert() const { return 1; } GiSTlist<GiSTentry*> RemoveTop(GiSTnode *node); dbDatabase& db;};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -