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

📄 btnode.h

📁 最新版本!fastdb是高效的内存数据库系统
💻 H
字号:
// -*- Mode: C++ -*-

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


#ifndef BTNODE_H
#define BTNODE_H

#include "BTentry.h"

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

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

    // required support methods
    GiSTentry *CreateEntry() const { return new BTentry; }

    // members we are overriding for special cases
    void Insert(const GiSTentry &entry);
    void InsertBefore(const GiSTentry &entry, int index);
    void Coalesce(const GiSTnode& node, const GiSTentry& entry);

};

#endif






⌨️ 快捷键说明

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