ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Tree-M/GiST/GiSTcursor.h
Revision: 1.1
Committed: Sun May 6 00:45:51 2001 UTC (23 years ago) by root
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Log Message:
*** empty log message ***

File Contents

# Content
1 // -*- Mode: C++ -*-
2
3 // GiSTcursor.h
4 //
5 // Copyright (c) 1996, Regents of the University of California
6 // $Header: /usr/local/devel/GiST/libGiST/libGiST/GiSTcursor.h,v 1.1.1.1 1996/08/06 23:47:21 jmh Exp $
7
8 #ifndef GISTCURSOR_H
9 #define GISTCURSOR_H
10
11 #include "GiSTdefs.h"
12 #include "GiSTentry.h"
13 #include "GiSTpredicate.h"
14 #include "GiSTlist.h"
15 #include "GiSTpath.h"
16
17 class GiST;
18
19 class GiSTcursor: public GiSTobject {
20 public:
21 GiSTcursor(const GiST& gist, const GiSTpredicate& query);
22 GiSTentry *Next();
23 GiSTobjid IsA() const { return GISTCURSOR_CLASS; }
24 ~GiSTcursor();
25 const GiSTpath& Path() const;
26
27 private:
28 const GiST& gist;
29 GiSTpath path;
30 GiSTlist<GiSTentry*> stack;
31 int first;
32 GiSTpredicate *query;
33 int lastlevel;
34 };
35
36 #endif