gistcursor.h

来自「FastDb是高效的内存数据库系统」· C头文件 代码 · 共 37 行

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

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

#ifndef GISTCURSOR_H
#define GISTCURSOR_H

#include "GiSTdefs.h"
#include "GiSTentry.h"
#include "GiSTpredicate.h"
#include "GiSTlist.h"
#include "GiSTpath.h"

class GiST;

class GiSTcursor : public GiSTobject
{
  public:
    GiSTcursor(const GiST& gist, const GiSTpredicate& query);
    GiSTentry *Next();
    GiSTobjid IsA() const { return GISTCURSOR_CLASS; }
    ~GiSTcursor();
    const GiSTpath& Path() const;
  private:
    const GiST& gist;
    GiSTpath path;
    GiSTlist<GiSTentry*> stack;
    int first;
    GiSTpredicate *query;
    int lastlevel;
};

#endif

⌨️ 快捷键说明

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