btnode.h

来自「fastdb-241源码」· C头文件 代码 · 共 40 行

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

//          BTnode.h
//
// Copyright (c) 1996, Regents of the University of California
// $Header: /usr/local/devel/GiST/libGiST/BTree/BTnode.h,v 1.1.1.1 1996/08/06 23:47:18 jmh 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 + =
减小字号Ctrl + -
显示快捷键?