rtnode.h

来自「最新版本!fastdb是高效的内存数据库系统」· C头文件 代码 · 共 35 行

H
35
字号
// -*- Mode: C++ -*-

//          RTnode.h
//
// Copyright (c) 1996, Regents of the University of California
// $Header: /cvsroot/fastdb/fastdb/GiST/RTree/RTnode.h,v 1.1 2007/07/18 20:45:47 knizhnik Exp $

#ifndef RTNODE_H
#define RTNODE_H

#include "RTentry.h"

class RTnode : public GiSTnode {
public:
    // constructors, destructors, etc.
    GiSTobjid IsA() const { return RTNODE_CLASS; }
    GiSTobject *Copy() const { return new RTnode(*this); }

    // two of the basic GiST methods 
    GiSTnode *PickSplit();
    GiSTentry* Union() const;

    // required support methods
    GiSTentry *CreateEntry() const { return new RTentry; }
    int FixedLength() const { return sizeof(RTkey); }
};

#endif






⌨️ 快捷键说明

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